@purpleschool/gptbot 0.15.66 → 0.15.67
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/api/controllers/http/chat-private.d.ts +2 -0
- package/build/api/controllers/http/chat-private.js +2 -0
- package/build/api/controllers/http/chat-public.d.ts +2 -0
- package/build/api/controllers/http/chat-public.js +2 -0
- package/build/api/controllers/http/files.d.ts +0 -1
- package/build/api/controllers/http/files.js +0 -1
- package/build/api/routes.d.ts +4 -1
- package/build/api/routes.js +4 -1
- package/build/commands/avatar-studio/clip/create-avatar-studio-clip.command.d.ts +0 -6
- package/build/commands/avatar-studio/clip/find-avatar-studio-clips.query.d.ts +0 -6
- package/build/commands/avatar-studio/clip/get-avatar-studio-clip.query.d.ts +0 -6
- package/build/commands/avatar-studio/clip/update-avatar-studio-clip.command.d.ts +0 -6
- package/build/commands/avatar-studio/export-job/find-avatar-studio-export-jobs.query.d.ts +0 -1
- package/build/commands/avatar-studio/export-job/get-avatar-studio-export-job.query.d.ts +0 -1
- package/build/commands/avatar-studio/export-job/start-avatar-studio-export.command.d.ts +0 -1
- package/build/commands/avatar-studio/generation-job/find-avatar-studio-generation-jobs.query.d.ts +0 -1
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-frame.command.d.ts +0 -1
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-image.command.d.ts +0 -1
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-video.command.d.ts +0 -1
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-voice.command.d.ts +0 -1
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-talking-avatar.command.d.ts +0 -1
- package/build/commands/avatar-studio/generation-job/get-avatar-studio-generation-job.query.d.ts +0 -1
- package/build/commands/avatar-studio/media/create-avatar-studio-media-from-file.command.d.ts +0 -1
- package/build/commands/avatar-studio/media/find-avatar-studio-media.query.d.ts +0 -1
- package/build/commands/avatar-studio/media/update-avatar-studio-media.command.d.ts +0 -1
- package/build/commands/avatar-studio/scene/apply-avatar-studio-voice-sample-to-all-scenes.command.d.ts +0 -6
- package/build/commands/avatar-studio/scene/create-avatar-studio-scene.command.d.ts +0 -3
- package/build/commands/avatar-studio/scene/reorder-avatar-studio-scenes.command.d.ts +0 -3
- package/build/commands/avatar-studio/scene/set-avatar-studio-scene-slot.command.d.ts +0 -3
- package/build/commands/avatar-studio/scene/update-avatar-studio-scene.command.d.ts +0 -3
- package/build/commands/avatar-studio/scriptwriter/apply-avatar-studio-scriptwriter-message.command.d.ts +0 -3
- package/build/commands/avatar-studio/voice/design-avatar-studio-voice.command.d.ts +0 -1
- package/build/commands/b2b/upload-b2b-file.command.d.ts +0 -1
- package/build/commands/chat/create-chat.command.d.ts +0 -1
- package/build/commands/chat/detach-chat-file.command.d.ts +9 -0
- package/build/commands/chat/detach-chat-file.command.js +14 -0
- package/build/commands/chat/find-chat-by-uuid.command.d.ts +0 -1
- package/build/commands/{file/calculate-file-cost.command.d.ts → chat/get-active-chat-files.command.d.ts} +4 -10
- package/build/commands/chat/get-active-chat-files.command.js +14 -0
- package/build/commands/chat/get-last-active-chat-command.d.ts +0 -1
- package/build/commands/chat/index.d.ts +2 -0
- package/build/commands/chat/index.js +2 -0
- package/build/commands/file/index.d.ts +0 -1
- package/build/commands/file/index.js +0 -1
- package/build/commands/file/upload.command.d.ts +1 -4
- package/build/commands/file/upload.command.js +1 -3
- package/build/commands/message/create-text-message.command.d.ts +0 -1
- package/build/commands/message/create-text-message.command.js +1 -1
- package/build/commands/message/find-message-by-uuid.command.d.ts +0 -1
- package/build/commands/message/rate-message.command.d.ts +0 -1
- package/build/constants/b2b/enums/b2b-usage-operation.enum.d.ts +2 -1
- package/build/constants/b2b/enums/b2b-usage-operation.enum.js +1 -0
- package/build/models/avatar-studio/avatar-studio.schema.d.ts +0 -13
- package/build/models/b2b/b2b-file-upload-response.schema.d.ts +0 -2
- package/build/models/chat-with-messages.schema.d.ts +0 -1
- package/build/models/file.schema.d.ts +0 -1
- package/build/models/file.schema.js +0 -1
- package/build/models/message.schema.d.ts +0 -1
- package/package.json +1 -1
- package/build/commands/file/calculate-file-cost.command.js +0 -17
|
@@ -15,4 +15,6 @@ export declare const CHAT_PRIVATE_ROUTES: {
|
|
|
15
15
|
readonly DELETE: (uuid: string) => string;
|
|
16
16
|
readonly UPDATE: (uuid: string) => string;
|
|
17
17
|
readonly CREATE_SUGGESTIONS: (uuid: string) => string;
|
|
18
|
+
readonly ACTIVE_FILES: (uuid: string) => string;
|
|
19
|
+
readonly DETACH_FILE: (uuid: string, fileId: string) => string;
|
|
18
20
|
};
|
|
@@ -13,4 +13,6 @@ export declare const CHAT_PUBLIC_ROUTES: {
|
|
|
13
13
|
readonly SEND_IMAGE_MESSAGE: (uuid: string) => string;
|
|
14
14
|
readonly INPUT_LIMITS: 'input-limits';
|
|
15
15
|
readonly CREATE_SUGGESTIONS: (uuid: string) => string;
|
|
16
|
+
readonly ACTIVE_FILES: (uuid: string) => string;
|
|
17
|
+
readonly DETACH_FILE: (uuid: string, fileId: string) => string;
|
|
16
18
|
};
|
|
@@ -16,4 +16,6 @@ exports.CHAT_PUBLIC_ROUTES = {
|
|
|
16
16
|
SEND_IMAGE_MESSAGE: (uuid) => `${uuid}/messages/image`,
|
|
17
17
|
INPUT_LIMITS: 'input-limits',
|
|
18
18
|
CREATE_SUGGESTIONS: (uuid) => `${uuid}/suggestions`,
|
|
19
|
+
ACTIVE_FILES: (uuid) => `${uuid}/files`,
|
|
20
|
+
DETACH_FILE: (uuid, fileId) => `${uuid}/files/${fileId}`,
|
|
19
21
|
};
|
|
@@ -6,7 +6,6 @@ export declare const FILE_ROUTES: {
|
|
|
6
6
|
readonly UPLOAD_PUBLIC: 'upload-public';
|
|
7
7
|
readonly UPLOAD_FILE: 'upload-file';
|
|
8
8
|
readonly UPLOAD_IMAGE: 'upload-image';
|
|
9
|
-
readonly CALCULATE_TEXT_FILE_COST: (uuid: string) => string;
|
|
10
9
|
readonly CRON: {
|
|
11
10
|
readonly DELETE_UNUSED: 'cron/delete-unused';
|
|
12
11
|
};
|
package/build/api/routes.d.ts
CHANGED
|
@@ -218,6 +218,8 @@ export declare const REST_API: {
|
|
|
218
218
|
readonly SEND_TEXT_MESSAGE: (uuid: string) => string;
|
|
219
219
|
readonly STOP_STREAM: (uuid: string, messageId: string) => string;
|
|
220
220
|
readonly CREATE_SUGGESTIONS: (uuid: string) => string;
|
|
221
|
+
readonly ACTIVE_FILES: (uuid: string) => string;
|
|
222
|
+
readonly DETACH_FILE: (uuid: string, fileId: string) => string;
|
|
221
223
|
readonly ARCHIVE: "/api/private/chats/archive";
|
|
222
224
|
readonly DELETE: (uuid: string) => string;
|
|
223
225
|
readonly UPDATE: (uuid: string) => string;
|
|
@@ -233,6 +235,8 @@ export declare const REST_API: {
|
|
|
233
235
|
readonly PRICE: "/api/public/chats/price";
|
|
234
236
|
readonly COMPACT: (uuid: string) => string;
|
|
235
237
|
readonly CREATE_SUGGESTIONS: (uuid: string) => string;
|
|
238
|
+
readonly ACTIVE_FILES: (uuid: string) => string;
|
|
239
|
+
readonly DETACH_FILE: (uuid: string, fileId: string) => string;
|
|
236
240
|
readonly SEND_TEXT_MESSAGE: (uuid: string) => string;
|
|
237
241
|
readonly STOP_STREAM: (uuid: string, messageId: string) => string;
|
|
238
242
|
readonly SEND_IMAGE_MESSAGE: (uuid: string) => string;
|
|
@@ -309,7 +313,6 @@ export declare const REST_API: {
|
|
|
309
313
|
readonly FILES: {
|
|
310
314
|
readonly UPLOAD_FILE: "/api/file/upload-file";
|
|
311
315
|
readonly UPLOAD_IMAGE: "/api/file/upload-image";
|
|
312
|
-
readonly CALCULATE_TEXT_FILE_COST: (uuid: string) => string;
|
|
313
316
|
readonly UPLOAD: "/api/file/upload";
|
|
314
317
|
readonly DELETE: (uuid: string) => string;
|
|
315
318
|
readonly CRON_DELETE_UNUSED: "/api/file/cron/delete-unused";
|
package/build/api/routes.js
CHANGED
|
@@ -256,6 +256,8 @@ exports.REST_API = {
|
|
|
256
256
|
SEND_TEXT_MESSAGE: (uuid) => `${exports.ROOT}/${CONTROLLERS.CHAT_PRIVATE_CONTROLLER}/${CONTROLLERS.CHAT_PRIVATE_ROUTES.SEND_TEXT_MESSAGE(uuid)}`,
|
|
257
257
|
STOP_STREAM: (uuid, messageId) => `${exports.ROOT}/${CONTROLLERS.CHAT_PRIVATE_CONTROLLER}/${CONTROLLERS.CHAT_PRIVATE_ROUTES.STOP_STREAM(uuid, messageId)}`,
|
|
258
258
|
CREATE_SUGGESTIONS: (uuid) => `${exports.ROOT}/${CONTROLLERS.CHAT_PRIVATE_CONTROLLER}/${CONTROLLERS.CHAT_PRIVATE_ROUTES.CREATE_SUGGESTIONS(uuid)}`,
|
|
259
|
+
ACTIVE_FILES: (uuid) => `${exports.ROOT}/${CONTROLLERS.CHAT_PRIVATE_CONTROLLER}/${CONTROLLERS.CHAT_PRIVATE_ROUTES.ACTIVE_FILES(uuid)}`,
|
|
260
|
+
DETACH_FILE: (uuid, fileId) => `${exports.ROOT}/${CONTROLLERS.CHAT_PRIVATE_CONTROLLER}/${CONTROLLERS.CHAT_PRIVATE_ROUTES.DETACH_FILE(uuid, fileId)}`,
|
|
259
261
|
ARCHIVE: `${exports.ROOT}/${CONTROLLERS.CHAT_PRIVATE_CONTROLLER}/${CONTROLLERS.CHAT_PRIVATE_ROUTES.ARCHIVE}`,
|
|
260
262
|
DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.CHAT_PRIVATE_CONTROLLER}/${CONTROLLERS.CHAT_PRIVATE_ROUTES.DELETE(uuid)}`,
|
|
261
263
|
UPDATE: (uuid) => `${exports.ROOT}/${CONTROLLERS.CHAT_PRIVATE_CONTROLLER}/${CONTROLLERS.CHAT_PRIVATE_ROUTES.UPDATE(uuid)}`,
|
|
@@ -271,6 +273,8 @@ exports.REST_API = {
|
|
|
271
273
|
PRICE: `${exports.ROOT}/${CONTROLLERS.CHAT_PUBLIC_CONTROLLER}/${CONTROLLERS.CHAT_PUBLIC_ROUTES.PRICE}`,
|
|
272
274
|
COMPACT: (uuid) => `${exports.ROOT}/${CONTROLLERS.CHAT_PUBLIC_CONTROLLER}/${CONTROLLERS.CHAT_PUBLIC_ROUTES.COMPACT(uuid)}`,
|
|
273
275
|
CREATE_SUGGESTIONS: (uuid) => `${exports.ROOT}/${CONTROLLERS.CHAT_PUBLIC_CONTROLLER}/${CONTROLLERS.CHAT_PUBLIC_ROUTES.CREATE_SUGGESTIONS(uuid)}`,
|
|
276
|
+
ACTIVE_FILES: (uuid) => `${exports.ROOT}/${CONTROLLERS.CHAT_PUBLIC_CONTROLLER}/${CONTROLLERS.CHAT_PUBLIC_ROUTES.ACTIVE_FILES(uuid)}`,
|
|
277
|
+
DETACH_FILE: (uuid, fileId) => `${exports.ROOT}/${CONTROLLERS.CHAT_PUBLIC_CONTROLLER}/${CONTROLLERS.CHAT_PUBLIC_ROUTES.DETACH_FILE(uuid, fileId)}`,
|
|
274
278
|
SEND_TEXT_MESSAGE: (uuid) => `${exports.ROOT}/${CONTROLLERS.CHAT_PUBLIC_CONTROLLER}/${CONTROLLERS.CHAT_PUBLIC_ROUTES.SEND_TEXT_MESSAGE(uuid)}`,
|
|
275
279
|
STOP_STREAM: (uuid, messageId) => `${exports.ROOT}/${CONTROLLERS.CHAT_PUBLIC_CONTROLLER}/${CONTROLLERS.CHAT_PUBLIC_ROUTES.STOP_STREAM(uuid, messageId)}`,
|
|
276
280
|
SEND_IMAGE_MESSAGE: (uuid) => `${exports.ROOT}/${CONTROLLERS.CHAT_PUBLIC_CONTROLLER}/${CONTROLLERS.CHAT_PUBLIC_ROUTES.SEND_IMAGE_MESSAGE(uuid)}`,
|
|
@@ -347,7 +351,6 @@ exports.REST_API = {
|
|
|
347
351
|
FILES: {
|
|
348
352
|
UPLOAD_FILE: `${exports.ROOT}/${CONTROLLERS.FILE_CONTROLLER}/${CONTROLLERS.FILE_ROUTES.UPLOAD_FILE}`,
|
|
349
353
|
UPLOAD_IMAGE: `${exports.ROOT}/${CONTROLLERS.FILE_CONTROLLER}/${CONTROLLERS.FILE_ROUTES.UPLOAD_IMAGE}`,
|
|
350
|
-
CALCULATE_TEXT_FILE_COST: (uuid) => `${exports.ROOT}/${CONTROLLERS.FILE_CONTROLLER}/${CONTROLLERS.FILE_ROUTES.CALCULATE_TEXT_FILE_COST(uuid)}`,
|
|
351
354
|
UPLOAD: `${exports.ROOT}/${CONTROLLERS.FILE_CONTROLLER}/${CONTROLLERS.FILE_ROUTES.UPLOAD}`,
|
|
352
355
|
DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.FILE_CONTROLLER}/${CONTROLLERS.FILE_ROUTES.DELETE(uuid)}`,
|
|
353
356
|
CRON_DELETE_UNUSED: `${exports.ROOT}/${CONTROLLERS.FILE_CONTROLLER}/${CONTROLLERS.FILE_ROUTES.CRON.DELETE_UNUSED}`,
|
|
@@ -55,7 +55,6 @@ export declare namespace CreateAvatarStudioClipCommand {
|
|
|
55
55
|
key: z.ZodString;
|
|
56
56
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
57
57
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
58
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
59
58
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
60
59
|
createdAt: z.ZodDate;
|
|
61
60
|
updatedAt: z.ZodDate;
|
|
@@ -124,7 +123,6 @@ export declare namespace CreateAvatarStudioClipCommand {
|
|
|
124
123
|
key: z.ZodString;
|
|
125
124
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
126
125
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
127
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
128
126
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
129
127
|
createdAt: z.ZodDate;
|
|
130
128
|
updatedAt: z.ZodDate;
|
|
@@ -163,7 +161,6 @@ export declare namespace CreateAvatarStudioClipCommand {
|
|
|
163
161
|
key: z.ZodString;
|
|
164
162
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
165
163
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
166
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
167
164
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
168
165
|
createdAt: z.ZodDate;
|
|
169
166
|
updatedAt: z.ZodDate;
|
|
@@ -202,7 +199,6 @@ export declare namespace CreateAvatarStudioClipCommand {
|
|
|
202
199
|
key: z.ZodString;
|
|
203
200
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
204
201
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
205
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
206
202
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
207
203
|
createdAt: z.ZodDate;
|
|
208
204
|
updatedAt: z.ZodDate;
|
|
@@ -269,7 +265,6 @@ export declare namespace CreateAvatarStudioClipCommand {
|
|
|
269
265
|
key: z.ZodString;
|
|
270
266
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
271
267
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
272
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
273
268
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
274
269
|
createdAt: z.ZodDate;
|
|
275
270
|
updatedAt: z.ZodDate;
|
|
@@ -323,7 +318,6 @@ export declare namespace CreateAvatarStudioClipCommand {
|
|
|
323
318
|
key: z.ZodString;
|
|
324
319
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
325
320
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
326
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
327
321
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
328
322
|
createdAt: z.ZodDate;
|
|
329
323
|
updatedAt: z.ZodDate;
|
|
@@ -51,7 +51,6 @@ export declare namespace FindAvatarStudioClipsQuery {
|
|
|
51
51
|
key: z.ZodString;
|
|
52
52
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
53
53
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
54
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
55
54
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
56
55
|
createdAt: z.ZodDate;
|
|
57
56
|
updatedAt: z.ZodDate;
|
|
@@ -120,7 +119,6 @@ export declare namespace FindAvatarStudioClipsQuery {
|
|
|
120
119
|
key: z.ZodString;
|
|
121
120
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
122
121
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
123
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
124
122
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
125
123
|
createdAt: z.ZodDate;
|
|
126
124
|
updatedAt: z.ZodDate;
|
|
@@ -159,7 +157,6 @@ export declare namespace FindAvatarStudioClipsQuery {
|
|
|
159
157
|
key: z.ZodString;
|
|
160
158
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
161
159
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
162
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
163
160
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
164
161
|
createdAt: z.ZodDate;
|
|
165
162
|
updatedAt: z.ZodDate;
|
|
@@ -198,7 +195,6 @@ export declare namespace FindAvatarStudioClipsQuery {
|
|
|
198
195
|
key: z.ZodString;
|
|
199
196
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
200
197
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
201
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
202
198
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
203
199
|
createdAt: z.ZodDate;
|
|
204
200
|
updatedAt: z.ZodDate;
|
|
@@ -265,7 +261,6 @@ export declare namespace FindAvatarStudioClipsQuery {
|
|
|
265
261
|
key: z.ZodString;
|
|
266
262
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
267
263
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
268
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
269
264
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
270
265
|
createdAt: z.ZodDate;
|
|
271
266
|
updatedAt: z.ZodDate;
|
|
@@ -319,7 +314,6 @@ export declare namespace FindAvatarStudioClipsQuery {
|
|
|
319
314
|
key: z.ZodString;
|
|
320
315
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
321
316
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
322
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
323
317
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
324
318
|
createdAt: z.ZodDate;
|
|
325
319
|
updatedAt: z.ZodDate;
|
|
@@ -49,7 +49,6 @@ export declare namespace GetAvatarStudioClipQuery {
|
|
|
49
49
|
key: z.ZodString;
|
|
50
50
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
51
51
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
52
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
53
52
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
54
53
|
createdAt: z.ZodDate;
|
|
55
54
|
updatedAt: z.ZodDate;
|
|
@@ -118,7 +117,6 @@ export declare namespace GetAvatarStudioClipQuery {
|
|
|
118
117
|
key: z.ZodString;
|
|
119
118
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
120
119
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
121
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
122
120
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
123
121
|
createdAt: z.ZodDate;
|
|
124
122
|
updatedAt: z.ZodDate;
|
|
@@ -157,7 +155,6 @@ export declare namespace GetAvatarStudioClipQuery {
|
|
|
157
155
|
key: z.ZodString;
|
|
158
156
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
159
157
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
160
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
161
158
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
162
159
|
createdAt: z.ZodDate;
|
|
163
160
|
updatedAt: z.ZodDate;
|
|
@@ -196,7 +193,6 @@ export declare namespace GetAvatarStudioClipQuery {
|
|
|
196
193
|
key: z.ZodString;
|
|
197
194
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
198
195
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
199
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
200
196
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
201
197
|
createdAt: z.ZodDate;
|
|
202
198
|
updatedAt: z.ZodDate;
|
|
@@ -263,7 +259,6 @@ export declare namespace GetAvatarStudioClipQuery {
|
|
|
263
259
|
key: z.ZodString;
|
|
264
260
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
265
261
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
266
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
267
262
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
268
263
|
createdAt: z.ZodDate;
|
|
269
264
|
updatedAt: z.ZodDate;
|
|
@@ -317,7 +312,6 @@ export declare namespace GetAvatarStudioClipQuery {
|
|
|
317
312
|
key: z.ZodString;
|
|
318
313
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
319
314
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
320
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
321
315
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
322
316
|
createdAt: z.ZodDate;
|
|
323
317
|
updatedAt: z.ZodDate;
|
|
@@ -59,7 +59,6 @@ export declare namespace UpdateAvatarStudioClipCommand {
|
|
|
59
59
|
key: z.ZodString;
|
|
60
60
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
61
61
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
62
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
63
62
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
64
63
|
createdAt: z.ZodDate;
|
|
65
64
|
updatedAt: z.ZodDate;
|
|
@@ -128,7 +127,6 @@ export declare namespace UpdateAvatarStudioClipCommand {
|
|
|
128
127
|
key: z.ZodString;
|
|
129
128
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
130
129
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
131
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
132
130
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
133
131
|
createdAt: z.ZodDate;
|
|
134
132
|
updatedAt: z.ZodDate;
|
|
@@ -167,7 +165,6 @@ export declare namespace UpdateAvatarStudioClipCommand {
|
|
|
167
165
|
key: z.ZodString;
|
|
168
166
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
169
167
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
170
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
171
168
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
172
169
|
createdAt: z.ZodDate;
|
|
173
170
|
updatedAt: z.ZodDate;
|
|
@@ -206,7 +203,6 @@ export declare namespace UpdateAvatarStudioClipCommand {
|
|
|
206
203
|
key: z.ZodString;
|
|
207
204
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
208
205
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
209
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
210
206
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
211
207
|
createdAt: z.ZodDate;
|
|
212
208
|
updatedAt: z.ZodDate;
|
|
@@ -273,7 +269,6 @@ export declare namespace UpdateAvatarStudioClipCommand {
|
|
|
273
269
|
key: z.ZodString;
|
|
274
270
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
275
271
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
276
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
277
272
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
278
273
|
createdAt: z.ZodDate;
|
|
279
274
|
updatedAt: z.ZodDate;
|
|
@@ -327,7 +322,6 @@ export declare namespace UpdateAvatarStudioClipCommand {
|
|
|
327
322
|
key: z.ZodString;
|
|
328
323
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
329
324
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
330
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
331
325
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
332
326
|
createdAt: z.ZodDate;
|
|
333
327
|
updatedAt: z.ZodDate;
|
|
@@ -51,7 +51,6 @@ export declare namespace FindAvatarStudioExportJobsQuery {
|
|
|
51
51
|
key: z.ZodString;
|
|
52
52
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
53
53
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
54
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
55
54
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
56
55
|
createdAt: z.ZodDate;
|
|
57
56
|
updatedAt: z.ZodDate;
|
|
@@ -46,7 +46,6 @@ export declare namespace GetAvatarStudioExportJobQuery {
|
|
|
46
46
|
key: z.ZodString;
|
|
47
47
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
48
48
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
49
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
50
49
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
51
50
|
createdAt: z.ZodDate;
|
|
52
51
|
updatedAt: z.ZodDate;
|
|
@@ -46,7 +46,6 @@ export declare namespace StartAvatarStudioExportCommand {
|
|
|
46
46
|
key: z.ZodString;
|
|
47
47
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
48
48
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
49
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
50
49
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
51
50
|
createdAt: z.ZodDate;
|
|
52
51
|
updatedAt: z.ZodDate;
|
package/build/commands/avatar-studio/generation-job/find-avatar-studio-generation-jobs.query.d.ts
CHANGED
|
@@ -55,7 +55,6 @@ export declare namespace FindAvatarStudioGenerationJobsQuery {
|
|
|
55
55
|
key: z.ZodString;
|
|
56
56
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
57
57
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
58
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
59
58
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
60
59
|
createdAt: z.ZodDate;
|
|
61
60
|
updatedAt: z.ZodDate;
|
package/build/commands/avatar-studio/generation-job/generate-avatar-studio-frame.command.d.ts
CHANGED
|
@@ -58,7 +58,6 @@ export declare namespace GenerateAvatarStudioFrameCommand {
|
|
|
58
58
|
key: z.ZodString;
|
|
59
59
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
60
60
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
61
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
62
61
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
63
62
|
createdAt: z.ZodDate;
|
|
64
63
|
updatedAt: z.ZodDate;
|
package/build/commands/avatar-studio/generation-job/generate-avatar-studio-image.command.d.ts
CHANGED
|
@@ -61,7 +61,6 @@ export declare namespace GenerateAvatarStudioImageCommand {
|
|
|
61
61
|
key: z.ZodString;
|
|
62
62
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
63
63
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
64
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
65
64
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
66
65
|
createdAt: z.ZodDate;
|
|
67
66
|
updatedAt: z.ZodDate;
|
package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-video.command.d.ts
CHANGED
|
@@ -60,7 +60,6 @@ export declare namespace GenerateAvatarStudioSceneVideoCommand {
|
|
|
60
60
|
key: z.ZodString;
|
|
61
61
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
62
62
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
63
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
64
63
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
65
64
|
createdAt: z.ZodDate;
|
|
66
65
|
updatedAt: z.ZodDate;
|
package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-voice.command.d.ts
CHANGED
|
@@ -58,7 +58,6 @@ export declare namespace GenerateAvatarStudioSceneVoiceCommand {
|
|
|
58
58
|
key: z.ZodString;
|
|
59
59
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
60
60
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
61
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
62
61
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
63
62
|
createdAt: z.ZodDate;
|
|
64
63
|
updatedAt: z.ZodDate;
|
|
@@ -60,7 +60,6 @@ export declare namespace GenerateAvatarStudioTalkingAvatarCommand {
|
|
|
60
60
|
key: z.ZodString;
|
|
61
61
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
62
62
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
63
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
64
63
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
65
64
|
createdAt: z.ZodDate;
|
|
66
65
|
updatedAt: z.ZodDate;
|
package/build/commands/avatar-studio/generation-job/get-avatar-studio-generation-job.query.d.ts
CHANGED
|
@@ -49,7 +49,6 @@ export declare namespace GetAvatarStudioGenerationJobQuery {
|
|
|
49
49
|
key: z.ZodString;
|
|
50
50
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
51
51
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
52
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
53
52
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
54
53
|
createdAt: z.ZodDate;
|
|
55
54
|
updatedAt: z.ZodDate;
|
package/build/commands/avatar-studio/media/create-avatar-studio-media-from-file.command.d.ts
CHANGED
|
@@ -45,7 +45,6 @@ export declare namespace CreateAvatarStudioMediaFromFileCommand {
|
|
|
45
45
|
key: z.ZodString;
|
|
46
46
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
47
47
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
48
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
49
48
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
50
49
|
createdAt: z.ZodDate;
|
|
51
50
|
updatedAt: z.ZodDate;
|
|
@@ -53,7 +53,6 @@ export declare namespace FindAvatarStudioMediaQuery {
|
|
|
53
53
|
key: z.ZodString;
|
|
54
54
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
55
55
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
56
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
57
56
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
58
57
|
createdAt: z.ZodDate;
|
|
59
58
|
updatedAt: z.ZodDate;
|
|
@@ -41,7 +41,6 @@ export declare namespace UpdateAvatarStudioMediaCommand {
|
|
|
41
41
|
key: z.ZodString;
|
|
42
42
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
43
43
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
44
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
45
44
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
46
45
|
createdAt: z.ZodDate;
|
|
47
46
|
updatedAt: z.ZodDate;
|
|
@@ -50,7 +50,6 @@ export declare namespace ApplyAvatarStudioVoiceSampleToAllScenesCommand {
|
|
|
50
50
|
key: z.ZodString;
|
|
51
51
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
52
52
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
53
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
54
53
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
55
54
|
createdAt: z.ZodDate;
|
|
56
55
|
updatedAt: z.ZodDate;
|
|
@@ -119,7 +118,6 @@ export declare namespace ApplyAvatarStudioVoiceSampleToAllScenesCommand {
|
|
|
119
118
|
key: z.ZodString;
|
|
120
119
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
121
120
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
122
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
123
121
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
124
122
|
createdAt: z.ZodDate;
|
|
125
123
|
updatedAt: z.ZodDate;
|
|
@@ -158,7 +156,6 @@ export declare namespace ApplyAvatarStudioVoiceSampleToAllScenesCommand {
|
|
|
158
156
|
key: z.ZodString;
|
|
159
157
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
160
158
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
161
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
162
159
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
163
160
|
createdAt: z.ZodDate;
|
|
164
161
|
updatedAt: z.ZodDate;
|
|
@@ -197,7 +194,6 @@ export declare namespace ApplyAvatarStudioVoiceSampleToAllScenesCommand {
|
|
|
197
194
|
key: z.ZodString;
|
|
198
195
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
199
196
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
200
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
201
197
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
202
198
|
createdAt: z.ZodDate;
|
|
203
199
|
updatedAt: z.ZodDate;
|
|
@@ -264,7 +260,6 @@ export declare namespace ApplyAvatarStudioVoiceSampleToAllScenesCommand {
|
|
|
264
260
|
key: z.ZodString;
|
|
265
261
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
266
262
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
267
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
268
263
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
269
264
|
createdAt: z.ZodDate;
|
|
270
265
|
updatedAt: z.ZodDate;
|
|
@@ -318,7 +313,6 @@ export declare namespace ApplyAvatarStudioVoiceSampleToAllScenesCommand {
|
|
|
318
313
|
key: z.ZodString;
|
|
319
314
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
320
315
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
321
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
322
316
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
323
317
|
createdAt: z.ZodDate;
|
|
324
318
|
updatedAt: z.ZodDate;
|
|
@@ -68,7 +68,6 @@ export declare namespace CreateAvatarStudioSceneCommand {
|
|
|
68
68
|
key: z.ZodString;
|
|
69
69
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
70
70
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
71
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
72
71
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
73
72
|
createdAt: z.ZodDate;
|
|
74
73
|
updatedAt: z.ZodDate;
|
|
@@ -107,7 +106,6 @@ export declare namespace CreateAvatarStudioSceneCommand {
|
|
|
107
106
|
key: z.ZodString;
|
|
108
107
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
109
108
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
110
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
111
109
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
112
110
|
createdAt: z.ZodDate;
|
|
113
111
|
updatedAt: z.ZodDate;
|
|
@@ -146,7 +144,6 @@ export declare namespace CreateAvatarStudioSceneCommand {
|
|
|
146
144
|
key: z.ZodString;
|
|
147
145
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
148
146
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
149
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
150
147
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
151
148
|
createdAt: z.ZodDate;
|
|
152
149
|
updatedAt: z.ZodDate;
|
|
@@ -73,7 +73,6 @@ export declare namespace ReorderAvatarStudioScenesCommand {
|
|
|
73
73
|
key: z.ZodString;
|
|
74
74
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
75
75
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
76
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
77
76
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
78
77
|
createdAt: z.ZodDate;
|
|
79
78
|
updatedAt: z.ZodDate;
|
|
@@ -112,7 +111,6 @@ export declare namespace ReorderAvatarStudioScenesCommand {
|
|
|
112
111
|
key: z.ZodString;
|
|
113
112
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
114
113
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
115
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
116
114
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
117
115
|
createdAt: z.ZodDate;
|
|
118
116
|
updatedAt: z.ZodDate;
|
|
@@ -151,7 +149,6 @@ export declare namespace ReorderAvatarStudioScenesCommand {
|
|
|
151
149
|
key: z.ZodString;
|
|
152
150
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
153
151
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
154
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
155
152
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
156
153
|
createdAt: z.ZodDate;
|
|
157
154
|
updatedAt: z.ZodDate;
|
|
@@ -73,7 +73,6 @@ export declare namespace SetAvatarStudioSceneSlotCommand {
|
|
|
73
73
|
key: z.ZodString;
|
|
74
74
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
75
75
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
76
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
77
76
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
78
77
|
createdAt: z.ZodDate;
|
|
79
78
|
updatedAt: z.ZodDate;
|
|
@@ -112,7 +111,6 @@ export declare namespace SetAvatarStudioSceneSlotCommand {
|
|
|
112
111
|
key: z.ZodString;
|
|
113
112
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
114
113
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
115
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
116
114
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
117
115
|
createdAt: z.ZodDate;
|
|
118
116
|
updatedAt: z.ZodDate;
|
|
@@ -151,7 +149,6 @@ export declare namespace SetAvatarStudioSceneSlotCommand {
|
|
|
151
149
|
key: z.ZodString;
|
|
152
150
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
153
151
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
154
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
155
152
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
156
153
|
createdAt: z.ZodDate;
|
|
157
154
|
updatedAt: z.ZodDate;
|
|
@@ -90,7 +90,6 @@ export declare namespace UpdateAvatarStudioSceneCommand {
|
|
|
90
90
|
key: z.ZodString;
|
|
91
91
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
92
92
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
93
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
94
93
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
95
94
|
createdAt: z.ZodDate;
|
|
96
95
|
updatedAt: z.ZodDate;
|
|
@@ -129,7 +128,6 @@ export declare namespace UpdateAvatarStudioSceneCommand {
|
|
|
129
128
|
key: z.ZodString;
|
|
130
129
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
131
130
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
132
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
133
131
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
134
132
|
createdAt: z.ZodDate;
|
|
135
133
|
updatedAt: z.ZodDate;
|
|
@@ -168,7 +166,6 @@ export declare namespace UpdateAvatarStudioSceneCommand {
|
|
|
168
166
|
key: z.ZodString;
|
|
169
167
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
170
168
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
171
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
172
169
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
173
170
|
createdAt: z.ZodDate;
|
|
174
171
|
updatedAt: z.ZodDate;
|
|
@@ -81,7 +81,6 @@ export declare namespace ApplyAvatarStudioScriptwriterMessageCommand {
|
|
|
81
81
|
key: z.ZodString;
|
|
82
82
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
83
83
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
84
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
85
84
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
86
85
|
createdAt: z.ZodDate;
|
|
87
86
|
updatedAt: z.ZodDate;
|
|
@@ -120,7 +119,6 @@ export declare namespace ApplyAvatarStudioScriptwriterMessageCommand {
|
|
|
120
119
|
key: z.ZodString;
|
|
121
120
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
122
121
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
123
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
124
122
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
125
123
|
createdAt: z.ZodDate;
|
|
126
124
|
updatedAt: z.ZodDate;
|
|
@@ -159,7 +157,6 @@ export declare namespace ApplyAvatarStudioScriptwriterMessageCommand {
|
|
|
159
157
|
key: z.ZodString;
|
|
160
158
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
161
159
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
162
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
163
160
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
164
161
|
createdAt: z.ZodDate;
|
|
165
162
|
updatedAt: z.ZodDate;
|
|
@@ -55,7 +55,6 @@ export declare namespace DesignAvatarStudioVoiceCommand {
|
|
|
55
55
|
key: z.ZodString;
|
|
56
56
|
type: z.ZodEnum<typeof import("../../..").FILE_TYPE>;
|
|
57
57
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
58
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
59
58
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
60
59
|
createdAt: z.ZodDate;
|
|
61
60
|
updatedAt: z.ZodDate;
|
|
@@ -19,7 +19,6 @@ export declare namespace UploadB2bFileCommand {
|
|
|
19
19
|
key: z.ZodString;
|
|
20
20
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
21
21
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
22
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
23
22
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
24
23
|
createdAt: z.ZodDate;
|
|
25
24
|
updatedAt: z.ZodDate;
|
|
@@ -44,7 +44,6 @@ export declare namespace CreateChatCommand {
|
|
|
44
44
|
key: z.ZodString;
|
|
45
45
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
46
46
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
47
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
48
47
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
49
48
|
createdAt: z.ZodDate;
|
|
50
49
|
updatedAt: z.ZodDate;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace DetachChatFileCommand {
|
|
3
|
+
const RequestParamsSchema: z.ZodObject<{
|
|
4
|
+
uuid: z.ZodString;
|
|
5
|
+
fileId: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
const ResponseSchema: z.ZodVoid;
|
|
8
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DetachChatFileCommand = void 0;
|
|
4
|
+
const models_1 = require("../../models");
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
var DetachChatFileCommand;
|
|
7
|
+
(function (DetachChatFileCommand) {
|
|
8
|
+
DetachChatFileCommand.RequestParamsSchema = models_1.ChatSchema.pick({
|
|
9
|
+
uuid: true,
|
|
10
|
+
}).extend({
|
|
11
|
+
fileId: models_1.FileSchema.shape.uuid,
|
|
12
|
+
});
|
|
13
|
+
DetachChatFileCommand.ResponseSchema = zod_1.z.void();
|
|
14
|
+
})(DetachChatFileCommand || (exports.DetachChatFileCommand = DetachChatFileCommand = {}));
|
|
@@ -43,7 +43,6 @@ export declare namespace FindChatByUUIDCommand {
|
|
|
43
43
|
key: z.ZodString;
|
|
44
44
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
45
45
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
46
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
47
46
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
48
47
|
createdAt: z.ZodDate;
|
|
49
48
|
updatedAt: z.ZodDate;
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare namespace
|
|
3
|
-
const
|
|
2
|
+
export declare namespace GetActiveChatFilesCommand {
|
|
3
|
+
const RequestParamsSchema: z.ZodObject<{
|
|
4
4
|
uuid: z.ZodString;
|
|
5
5
|
}, z.core.$strip>;
|
|
6
|
-
type RequestParam = z.infer<typeof RequestParamSchema>;
|
|
7
|
-
const RequestSchema: z.ZodObject<{
|
|
8
|
-
modelId: z.ZodString;
|
|
9
|
-
}, z.core.$strip>;
|
|
10
|
-
type Request = z.infer<typeof RequestSchema>;
|
|
11
6
|
const ResponseSchema: z.ZodObject<{
|
|
12
|
-
data: z.ZodObject<{
|
|
7
|
+
data: z.ZodArray<z.ZodObject<{
|
|
13
8
|
uuid: z.ZodString;
|
|
14
9
|
name: z.ZodString;
|
|
15
10
|
size: z.ZodNumber;
|
|
@@ -23,11 +18,10 @@ export declare namespace CalculateFileCostCommand {
|
|
|
23
18
|
key: z.ZodString;
|
|
24
19
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
25
20
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
26
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
27
21
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
28
22
|
createdAt: z.ZodDate;
|
|
29
23
|
updatedAt: z.ZodDate;
|
|
30
|
-
}, z.core.$strip
|
|
24
|
+
}, z.core.$strip>>;
|
|
31
25
|
}, z.core.$strip>;
|
|
32
26
|
type Response = z.infer<typeof ResponseSchema>;
|
|
33
27
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetActiveChatFilesCommand = void 0;
|
|
4
|
+
const models_1 = require("../../models");
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
var GetActiveChatFilesCommand;
|
|
7
|
+
(function (GetActiveChatFilesCommand) {
|
|
8
|
+
GetActiveChatFilesCommand.RequestParamsSchema = models_1.ChatSchema.pick({
|
|
9
|
+
uuid: true,
|
|
10
|
+
});
|
|
11
|
+
GetActiveChatFilesCommand.ResponseSchema = zod_1.z.object({
|
|
12
|
+
data: zod_1.z.array(models_1.FileSchema),
|
|
13
|
+
});
|
|
14
|
+
})(GetActiveChatFilesCommand || (exports.GetActiveChatFilesCommand = GetActiveChatFilesCommand = {}));
|
|
@@ -42,7 +42,6 @@ export declare namespace GetLastActiveChatCommand {
|
|
|
42
42
|
key: z.ZodString;
|
|
43
43
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
44
44
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
45
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
46
45
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
47
46
|
createdAt: z.ZodDate;
|
|
48
47
|
updatedAt: z.ZodDate;
|
|
@@ -4,9 +4,11 @@ export * from './check-limit.command';
|
|
|
4
4
|
export * from './compact-chat.command';
|
|
5
5
|
export * from './create-chat.command';
|
|
6
6
|
export * from './delete-chat.command';
|
|
7
|
+
export * from './detach-chat-file.command';
|
|
7
8
|
export * from './find-chat-by-uuid.command';
|
|
8
9
|
export * from './find-chats.command';
|
|
9
10
|
export * from './get-chats-config.command';
|
|
11
|
+
export * from './get-active-chat-files.command';
|
|
10
12
|
export * from './get-input-limits.command';
|
|
11
13
|
export * from './get-last-active-chat-command';
|
|
12
14
|
export * from './update-chat.command';
|
|
@@ -20,9 +20,11 @@ __exportStar(require("./check-limit.command"), exports);
|
|
|
20
20
|
__exportStar(require("./compact-chat.command"), exports);
|
|
21
21
|
__exportStar(require("./create-chat.command"), exports);
|
|
22
22
|
__exportStar(require("./delete-chat.command"), exports);
|
|
23
|
+
__exportStar(require("./detach-chat-file.command"), exports);
|
|
23
24
|
__exportStar(require("./find-chat-by-uuid.command"), exports);
|
|
24
25
|
__exportStar(require("./find-chats.command"), exports);
|
|
25
26
|
__exportStar(require("./get-chats-config.command"), exports);
|
|
27
|
+
__exportStar(require("./get-active-chat-files.command"), exports);
|
|
26
28
|
__exportStar(require("./get-input-limits.command"), exports);
|
|
27
29
|
__exportStar(require("./get-last-active-chat-command"), exports);
|
|
28
30
|
__exportStar(require("./update-chat.command"), exports);
|
|
@@ -16,4 +16,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./delete-user-file.command"), exports);
|
|
18
18
|
__exportStar(require("./upload.command"), exports);
|
|
19
|
-
__exportStar(require("./calculate-file-cost.command"), exports);
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare namespace UploadFileCommand {
|
|
3
|
-
const RequestSchema: z.ZodObject<{
|
|
4
|
-
modelId: z.ZodOptional<z.ZodString>;
|
|
5
|
-
}, z.core.$strip>;
|
|
3
|
+
const RequestSchema: z.ZodObject<{}, z.core.$strip>;
|
|
6
4
|
type Request = z.infer<typeof RequestSchema>;
|
|
7
5
|
const ResponseSchema: z.ZodObject<{
|
|
8
6
|
data: z.ZodObject<{
|
|
@@ -19,7 +17,6 @@ export declare namespace UploadFileCommand {
|
|
|
19
17
|
key: z.ZodString;
|
|
20
18
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
21
19
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
22
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
23
20
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
24
21
|
createdAt: z.ZodDate;
|
|
25
22
|
updatedAt: z.ZodDate;
|
|
@@ -5,9 +5,7 @@ const models_1 = require("../../models");
|
|
|
5
5
|
const zod_1 = require("zod");
|
|
6
6
|
var UploadFileCommand;
|
|
7
7
|
(function (UploadFileCommand) {
|
|
8
|
-
UploadFileCommand.RequestSchema = zod_1.z.object({
|
|
9
|
-
modelId: zod_1.z.string().uuid().optional(),
|
|
10
|
-
});
|
|
8
|
+
UploadFileCommand.RequestSchema = zod_1.z.object({});
|
|
11
9
|
UploadFileCommand.ResponseSchema = zod_1.z.object({
|
|
12
10
|
data: models_1.FileSchema,
|
|
13
11
|
});
|
|
@@ -34,7 +34,6 @@ export declare namespace CreateTextMessageCommand {
|
|
|
34
34
|
key: z.ZodString;
|
|
35
35
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
36
36
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
37
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
38
37
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
39
38
|
createdAt: z.ZodDate;
|
|
40
39
|
updatedAt: z.ZodDate;
|
|
@@ -7,7 +7,7 @@ const zod_1 = require("zod");
|
|
|
7
7
|
var CreateTextMessageCommand;
|
|
8
8
|
(function (CreateTextMessageCommand) {
|
|
9
9
|
CreateTextMessageCommand.RequestSchema = zod_1.z.object({
|
|
10
|
-
text: zod_1.z.string(),
|
|
10
|
+
text: zod_1.z.string().min(1),
|
|
11
11
|
files: zod_1.z.array(zod_1.z.string().uuid()).optional().default([]),
|
|
12
12
|
features: zod_1.z.array(zod_1.z.nativeEnum(constants_1.AI_MODEL_FEATURE)).optional().default([]),
|
|
13
13
|
aiModelId: zod_1.z.string().uuid(),
|
|
@@ -27,7 +27,6 @@ export declare namespace FindMessageByUUIDCommand {
|
|
|
27
27
|
key: z.ZodString;
|
|
28
28
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
29
29
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
30
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
31
30
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
32
31
|
createdAt: z.ZodDate;
|
|
33
32
|
updatedAt: z.ZodDate;
|
|
@@ -30,7 +30,6 @@ export declare namespace RateMessageCommand {
|
|
|
30
30
|
key: z.ZodString;
|
|
31
31
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
32
32
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
33
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
34
33
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
35
34
|
createdAt: z.ZodDate;
|
|
36
35
|
updatedAt: z.ZodDate;
|
|
@@ -5,4 +5,5 @@ var B2B_USAGE_OPERATION;
|
|
|
5
5
|
(function (B2B_USAGE_OPERATION) {
|
|
6
6
|
B2B_USAGE_OPERATION["TEXT_GENERATION"] = "text_generation";
|
|
7
7
|
B2B_USAGE_OPERATION["FILE_UPLOAD"] = "file_upload";
|
|
8
|
+
B2B_USAGE_OPERATION["FILE_ATTACHMENT"] = "file_attachment";
|
|
8
9
|
})(B2B_USAGE_OPERATION || (exports.B2B_USAGE_OPERATION = B2B_USAGE_OPERATION = {}));
|
|
@@ -51,7 +51,6 @@ export declare const AvatarStudioMediaSchema: z.ZodObject<{
|
|
|
51
51
|
key: z.ZodString;
|
|
52
52
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
53
53
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
54
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
55
54
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
56
55
|
createdAt: z.ZodDate;
|
|
57
56
|
updatedAt: z.ZodDate;
|
|
@@ -203,7 +202,6 @@ export declare const AvatarStudioSceneSchema: z.ZodObject<{
|
|
|
203
202
|
key: z.ZodString;
|
|
204
203
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
205
204
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
206
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
207
205
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
208
206
|
createdAt: z.ZodDate;
|
|
209
207
|
updatedAt: z.ZodDate;
|
|
@@ -242,7 +240,6 @@ export declare const AvatarStudioSceneSchema: z.ZodObject<{
|
|
|
242
240
|
key: z.ZodString;
|
|
243
241
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
244
242
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
245
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
246
243
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
247
244
|
createdAt: z.ZodDate;
|
|
248
245
|
updatedAt: z.ZodDate;
|
|
@@ -281,7 +278,6 @@ export declare const AvatarStudioSceneSchema: z.ZodObject<{
|
|
|
281
278
|
key: z.ZodString;
|
|
282
279
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
283
280
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
284
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
285
281
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
286
282
|
createdAt: z.ZodDate;
|
|
287
283
|
updatedAt: z.ZodDate;
|
|
@@ -349,7 +345,6 @@ export declare const AvatarStudioGenerationJobBaseSchema: z.ZodObject<{
|
|
|
349
345
|
key: z.ZodString;
|
|
350
346
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
351
347
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
352
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
353
348
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
354
349
|
createdAt: z.ZodDate;
|
|
355
350
|
updatedAt: z.ZodDate;
|
|
@@ -406,7 +401,6 @@ export declare const AvatarStudioGenerationJobSchema: z.ZodObject<{
|
|
|
406
401
|
key: z.ZodString;
|
|
407
402
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
408
403
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
409
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
410
404
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
411
405
|
createdAt: z.ZodDate;
|
|
412
406
|
updatedAt: z.ZodDate;
|
|
@@ -461,7 +455,6 @@ export declare const AvatarStudioExportJobSchema: z.ZodObject<{
|
|
|
461
455
|
key: z.ZodString;
|
|
462
456
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
463
457
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
464
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
465
458
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
466
459
|
createdAt: z.ZodDate;
|
|
467
460
|
updatedAt: z.ZodDate;
|
|
@@ -531,7 +524,6 @@ export declare const AvatarStudioClipSchema: z.ZodObject<{
|
|
|
531
524
|
key: z.ZodString;
|
|
532
525
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
533
526
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
534
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
535
527
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
536
528
|
createdAt: z.ZodDate;
|
|
537
529
|
updatedAt: z.ZodDate;
|
|
@@ -600,7 +592,6 @@ export declare const AvatarStudioClipSchema: z.ZodObject<{
|
|
|
600
592
|
key: z.ZodString;
|
|
601
593
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
602
594
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
603
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
604
595
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
605
596
|
createdAt: z.ZodDate;
|
|
606
597
|
updatedAt: z.ZodDate;
|
|
@@ -639,7 +630,6 @@ export declare const AvatarStudioClipSchema: z.ZodObject<{
|
|
|
639
630
|
key: z.ZodString;
|
|
640
631
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
641
632
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
642
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
643
633
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
644
634
|
createdAt: z.ZodDate;
|
|
645
635
|
updatedAt: z.ZodDate;
|
|
@@ -678,7 +668,6 @@ export declare const AvatarStudioClipSchema: z.ZodObject<{
|
|
|
678
668
|
key: z.ZodString;
|
|
679
669
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
680
670
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
681
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
682
671
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
683
672
|
createdAt: z.ZodDate;
|
|
684
673
|
updatedAt: z.ZodDate;
|
|
@@ -745,7 +734,6 @@ export declare const AvatarStudioClipSchema: z.ZodObject<{
|
|
|
745
734
|
key: z.ZodString;
|
|
746
735
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
747
736
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
748
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
749
737
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
750
738
|
createdAt: z.ZodDate;
|
|
751
739
|
updatedAt: z.ZodDate;
|
|
@@ -799,7 +787,6 @@ export declare const AvatarStudioClipSchema: z.ZodObject<{
|
|
|
799
787
|
key: z.ZodString;
|
|
800
788
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
801
789
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
802
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
803
790
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
804
791
|
createdAt: z.ZodDate;
|
|
805
792
|
updatedAt: z.ZodDate;
|
|
@@ -13,7 +13,6 @@ export declare const B2bUploadedFileSchema: z.ZodObject<{
|
|
|
13
13
|
key: z.ZodString;
|
|
14
14
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
15
15
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
16
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
17
16
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
18
17
|
createdAt: z.ZodDate;
|
|
19
18
|
updatedAt: z.ZodDate;
|
|
@@ -35,7 +34,6 @@ export declare const B2bFileUploadResponseSchema: z.ZodObject<{
|
|
|
35
34
|
key: z.ZodString;
|
|
36
35
|
type: z.ZodEnum<typeof import("../..").FILE_TYPE>;
|
|
37
36
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
38
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
39
37
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
40
38
|
createdAt: z.ZodDate;
|
|
41
39
|
updatedAt: z.ZodDate;
|
|
@@ -37,7 +37,6 @@ export declare const ChatWithMessagesSchema: z.ZodObject<{
|
|
|
37
37
|
key: z.ZodString;
|
|
38
38
|
type: z.ZodEnum<typeof import("..").FILE_TYPE>;
|
|
39
39
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
40
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
41
40
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
42
41
|
createdAt: z.ZodDate;
|
|
43
42
|
updatedAt: z.ZodDate;
|
|
@@ -19,7 +19,6 @@ export declare const FileSchema: z.ZodObject<{
|
|
|
19
19
|
key: z.ZodString;
|
|
20
20
|
type: z.ZodEnum<typeof FILE_TYPE>;
|
|
21
21
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
22
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
23
22
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
24
23
|
createdAt: z.ZodDate;
|
|
25
24
|
updatedAt: z.ZodDate;
|
|
@@ -18,7 +18,6 @@ exports.FileSchema = zod_1.z.object({
|
|
|
18
18
|
key: zod_1.z.string(),
|
|
19
19
|
type: zod_1.z.nativeEnum(constants_1.FILE_TYPE),
|
|
20
20
|
duration: zod_1.z.number().nullable(),
|
|
21
|
-
attachmentCost: zod_1.z.number().default(0),
|
|
22
21
|
contentLength: zod_1.z.number().nullable(),
|
|
23
22
|
createdAt: zod_1.z.date(),
|
|
24
23
|
updatedAt: zod_1.z.date(),
|
|
@@ -22,7 +22,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
22
22
|
key: z.ZodString;
|
|
23
23
|
type: z.ZodEnum<typeof import("..").FILE_TYPE>;
|
|
24
24
|
duration: z.ZodNullable<z.ZodNumber>;
|
|
25
|
-
attachmentCost: z.ZodDefault<z.ZodNumber>;
|
|
26
25
|
contentLength: z.ZodNullable<z.ZodNumber>;
|
|
27
26
|
createdAt: z.ZodDate;
|
|
28
27
|
updatedAt: z.ZodDate;
|
package/package.json
CHANGED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CalculateFileCostCommand = void 0;
|
|
4
|
-
const models_1 = require("../../models");
|
|
5
|
-
const zod_1 = require("zod");
|
|
6
|
-
var CalculateFileCostCommand;
|
|
7
|
-
(function (CalculateFileCostCommand) {
|
|
8
|
-
CalculateFileCostCommand.RequestParamSchema = models_1.FileSchema.pick({
|
|
9
|
-
uuid: true,
|
|
10
|
-
});
|
|
11
|
-
CalculateFileCostCommand.RequestSchema = zod_1.z.object({
|
|
12
|
-
modelId: zod_1.z.string().uuid(),
|
|
13
|
-
});
|
|
14
|
-
CalculateFileCostCommand.ResponseSchema = zod_1.z.object({
|
|
15
|
-
data: models_1.FileSchema,
|
|
16
|
-
});
|
|
17
|
-
})(CalculateFileCostCommand || (exports.CalculateFileCostCommand = CalculateFileCostCommand = {}));
|