vidspotai-shared 1.0.55 → 1.0.57
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/lib/services/aiGen/providers/google/google.service.d.ts.map +1 -1
- package/lib/services/aiGen/providers/google/google.service.js +35 -0
- package/lib/utils/errors.d.ts +24 -2
- package/lib/utils/errors.d.ts.map +1 -1
- package/lib/utils/errors.js +23 -3
- package/package.json +1 -1
- package/lib/globals/aiModels/providers/alibaba.d.ts +0 -4
- package/lib/globals/aiModels/providers/alibaba.d.ts.map +0 -1
- package/lib/globals/aiModels/providers/alibaba.js +0 -183
- package/lib/globals/aiModels/providers/elevenlabs.d.ts +0 -13
- package/lib/globals/aiModels/providers/elevenlabs.d.ts.map +0 -1
- package/lib/globals/aiModels/providers/elevenlabs.js +0 -25
- package/lib/globals/aiModels/providers/pixverseTemplates.d.ts +0 -36
- package/lib/globals/aiModels/providers/pixverseTemplates.d.ts.map +0 -1
- package/lib/globals/aiModels/providers/pixverseTemplates.js +0 -42
- package/lib/globals/aiModels/tierHelpers.d.ts +0 -27
- package/lib/globals/aiModels/tierHelpers.d.ts.map +0 -1
- package/lib/globals/aiModels/tierHelpers.js +0 -73
- package/lib/globals/ttsModels/providers/minimax.d.ts +0 -8
- package/lib/globals/ttsModels/providers/minimax.d.ts.map +0 -1
- package/lib/globals/ttsModels/providers/minimax.js +0 -18
- package/lib/globals/ttsModels/providers/openai.d.ts +0 -8
- package/lib/globals/ttsModels/providers/openai.d.ts.map +0 -1
- package/lib/globals/ttsModels/providers/openai.js +0 -18
- package/lib/models/agent.model.d.ts +0 -117
- package/lib/models/agent.model.d.ts.map +0 -1
- package/lib/models/agent.model.js +0 -13
- package/lib/models/cachedAsset.model.d.ts +0 -18
- package/lib/models/cachedAsset.model.d.ts.map +0 -1
- package/lib/models/cachedAsset.model.js +0 -2
- package/lib/models/cachedRawAsset.model.d.ts +0 -20
- package/lib/models/cachedRawAsset.model.d.ts.map +0 -1
- package/lib/models/cachedRawAsset.model.js +0 -2
- package/lib/schemas/agentPersona.schema.d.ts +0 -10
- package/lib/schemas/agentPersona.schema.d.ts.map +0 -1
- package/lib/schemas/agentPersona.schema.js +0 -11
- package/lib/schemas/brandKit.schema.d.ts +0 -101
- package/lib/schemas/brandKit.schema.d.ts.map +0 -1
- package/lib/schemas/brandKit.schema.js +0 -46
- package/lib/schemas/brief.schema.d.ts +0 -216
- package/lib/schemas/brief.schema.d.ts.map +0 -1
- package/lib/schemas/brief.schema.js +0 -118
- package/lib/schemas/index.d.ts +0 -6
- package/lib/schemas/index.d.ts.map +0 -1
- package/lib/schemas/index.js +0 -21
- package/lib/schemas/project.schema.d.ts +0 -1005
- package/lib/schemas/project.schema.d.ts.map +0 -1
- package/lib/schemas/project.schema.js +0 -238
- package/lib/schemas/videoPlan.schema.d.ts +0 -145
- package/lib/schemas/videoPlan.schema.d.ts.map +0 -1
- package/lib/schemas/videoPlan.schema.js +0 -109
- package/lib/services/agent/beatSnap.d.ts +0 -10
- package/lib/services/agent/beatSnap.d.ts.map +0 -1
- package/lib/services/agent/beatSnap.js +0 -128
- package/lib/services/agent/costPreflight.d.ts +0 -22
- package/lib/services/agent/costPreflight.d.ts.map +0 -1
- package/lib/services/agent/costPreflight.js +0 -75
- package/lib/services/agent/critic.d.ts +0 -103
- package/lib/services/agent/critic.d.ts.map +0 -1
- package/lib/services/agent/critic.js +0 -132
- package/lib/services/agent/eval/index.d.ts +0 -5
- package/lib/services/agent/eval/index.d.ts.map +0 -1
- package/lib/services/agent/eval/index.js +0 -20
- package/lib/services/agent/eval/judge.d.ts +0 -14
- package/lib/services/agent/eval/judge.d.ts.map +0 -1
- package/lib/services/agent/eval/judge.js +0 -95
- package/lib/services/agent/eval/recorder.d.ts +0 -17
- package/lib/services/agent/eval/recorder.d.ts.map +0 -1
- package/lib/services/agent/eval/recorder.js +0 -65
- package/lib/services/agent/eval/seedBriefs.d.ts +0 -16
- package/lib/services/agent/eval/seedBriefs.d.ts.map +0 -1
- package/lib/services/agent/eval/seedBriefs.js +0 -1188
- package/lib/services/agent/eval/types.d.ts +0 -196
- package/lib/services/agent/eval/types.d.ts.map +0 -1
- package/lib/services/agent/eval/types.js +0 -65
- package/lib/services/agent/executor.d.ts +0 -50
- package/lib/services/agent/executor.d.ts.map +0 -1
- package/lib/services/agent/executor.js +0 -188
- package/lib/services/agent/index.d.ts +0 -15
- package/lib/services/agent/index.d.ts.map +0 -1
- package/lib/services/agent/index.js +0 -30
- package/lib/services/agent/llmCaller.d.ts +0 -77
- package/lib/services/agent/llmCaller.d.ts.map +0 -1
- package/lib/services/agent/llmCaller.js +0 -16
- package/lib/services/agent/llmCallerGateway.d.ts +0 -39
- package/lib/services/agent/llmCallerGateway.d.ts.map +0 -1
- package/lib/services/agent/llmCallerGateway.js +0 -246
- package/lib/services/agent/llmCallerRegistry.d.ts +0 -4
- package/lib/services/agent/llmCallerRegistry.d.ts.map +0 -1
- package/lib/services/agent/llmCallerRegistry.js +0 -19
- package/lib/services/agent/modelRouter.d.ts +0 -41
- package/lib/services/agent/modelRouter.d.ts.map +0 -1
- package/lib/services/agent/modelRouter.js +0 -57
- package/lib/services/agent/musicSelect.d.ts +0 -23
- package/lib/services/agent/musicSelect.d.ts.map +0 -1
- package/lib/services/agent/musicSelect.js +0 -65
- package/lib/services/agent/personas.d.ts +0 -60
- package/lib/services/agent/personas.d.ts.map +0 -1
- package/lib/services/agent/personas.js +0 -156
- package/lib/services/agent/planner.d.ts +0 -56
- package/lib/services/agent/planner.d.ts.map +0 -1
- package/lib/services/agent/planner.js +0 -237
- package/lib/services/agent/toolRegistry.d.ts +0 -64
- package/lib/services/agent/toolRegistry.d.ts.map +0 -1
- package/lib/services/agent/toolRegistry.js +0 -78
- package/lib/services/agent/tools/analyzeReference.tool.d.ts +0 -36
- package/lib/services/agent/tools/analyzeReference.tool.d.ts.map +0 -1
- package/lib/services/agent/tools/analyzeReference.tool.js +0 -44
- package/lib/services/agent/tools/animateImage.tool.d.ts +0 -23
- package/lib/services/agent/tools/animateImage.tool.d.ts.map +0 -1
- package/lib/services/agent/tools/animateImage.tool.js +0 -58
- package/lib/services/agent/tools/animateImageWithMotionBrush.tool.d.ts +0 -30
- package/lib/services/agent/tools/animateImageWithMotionBrush.tool.d.ts.map +0 -1
- package/lib/services/agent/tools/animateImageWithMotionBrush.tool.js +0 -90
- package/lib/services/agent/tools/composeScene.tool.d.ts +0 -948
- package/lib/services/agent/tools/composeScene.tool.d.ts.map +0 -1
- package/lib/services/agent/tools/composeScene.tool.js +0 -90
- package/lib/services/agent/tools/estimateCost.tool.d.ts +0 -342
- package/lib/services/agent/tools/estimateCost.tool.d.ts.map +0 -1
- package/lib/services/agent/tools/estimateCost.tool.js +0 -62
- package/lib/services/agent/tools/generateAvatarVideo.tool.d.ts +0 -32
- package/lib/services/agent/tools/generateAvatarVideo.tool.d.ts.map +0 -1
- package/lib/services/agent/tools/generateAvatarVideo.tool.js +0 -112
- package/lib/services/agent/tools/generateImage.tool.d.ts +0 -28
- package/lib/services/agent/tools/generateImage.tool.d.ts.map +0 -1
- package/lib/services/agent/tools/generateImage.tool.js +0 -97
- package/lib/services/agent/tools/generateVideo.tool.d.ts +0 -30
- package/lib/services/agent/tools/generateVideo.tool.d.ts.map +0 -1
- package/lib/services/agent/tools/generateVideo.tool.js +0 -84
- package/lib/services/agent/tools/generateVoiceover.tool.d.ts +0 -18
- package/lib/services/agent/tools/generateVoiceover.tool.d.ts.map +0 -1
- package/lib/services/agent/tools/generateVoiceover.tool.js +0 -72
- package/lib/services/agent/tools/index.d.ts +0 -19
- package/lib/services/agent/tools/index.d.ts.map +0 -1
- package/lib/services/agent/tools/index.js +0 -34
- package/lib/services/agent/tools/planVideo.tool.d.ts +0 -191
- package/lib/services/agent/tools/planVideo.tool.d.ts.map +0 -1
- package/lib/services/agent/tools/planVideo.tool.js +0 -46
- package/lib/services/agent/tools/render.tool.d.ts +0 -357
- package/lib/services/agent/tools/render.tool.d.ts.map +0 -1
- package/lib/services/agent/tools/render.tool.js +0 -48
- package/lib/services/agent/tools/searchMusic.tool.d.ts +0 -49
- package/lib/services/agent/tools/searchMusic.tool.d.ts.map +0 -1
- package/lib/services/agent/tools/searchMusic.tool.js +0 -74
- package/lib/services/agent/tools/searchStock.tool.d.ts +0 -37
- package/lib/services/agent/tools/searchStock.tool.d.ts.map +0 -1
- package/lib/services/agent/tools/searchStock.tool.js +0 -101
- package/lib/services/agent/tools/searchUserLibrary.tool.d.ts +0 -59
- package/lib/services/agent/tools/searchUserLibrary.tool.d.ts.map +0 -1
- package/lib/services/agent/tools/searchUserLibrary.tool.js +0 -58
- package/lib/services/aiGen/canonicalAdapters/cameraControl.types.d.ts +0 -31
- package/lib/services/aiGen/canonicalAdapters/cameraControl.types.d.ts.map +0 -1
- package/lib/services/aiGen/canonicalAdapters/cameraControl.types.js +0 -2
- package/lib/services/aiGen/canonicalAdapters/index.d.ts +0 -3
- package/lib/services/aiGen/canonicalAdapters/index.d.ts.map +0 -1
- package/lib/services/aiGen/canonicalAdapters/index.js +0 -18
- package/lib/services/aiGen/canonicalAdapters/multiShot.types.d.ts +0 -23
- package/lib/services/aiGen/canonicalAdapters/multiShot.types.d.ts.map +0 -1
- package/lib/services/aiGen/canonicalAdapters/multiShot.types.js +0 -12
- package/lib/services/aiGen/providers/elevenlabs/elevenlabs.service.d.ts +0 -18
- package/lib/services/aiGen/providers/elevenlabs/elevenlabs.service.d.ts.map +0 -1
- package/lib/services/aiGen/providers/elevenlabs/elevenlabs.service.js +0 -100
- package/lib/services/aiGen/providers/fal/falImage.service.d.ts +0 -9
- package/lib/services/aiGen/providers/fal/falImage.service.d.ts.map +0 -1
- package/lib/services/aiGen/providers/fal/falImage.service.js +0 -102
- package/lib/services/aiGen/providers/fal/index.d.ts +0 -2
- package/lib/services/aiGen/providers/fal/index.d.ts.map +0 -1
- package/lib/services/aiGen/providers/fal/index.js +0 -17
- package/lib/services/aiGen/providers/kling/cameraAdapter.d.ts +0 -4
- package/lib/services/aiGen/providers/kling/cameraAdapter.d.ts.map +0 -1
- package/lib/services/aiGen/providers/kling/cameraAdapter.js +0 -53
- package/lib/services/aiGen/providers/pexels/index.d.ts +0 -2
- package/lib/services/aiGen/providers/pexels/index.d.ts.map +0 -1
- package/lib/services/aiGen/providers/pexels/index.js +0 -17
- package/lib/services/aiGen/providers/pexels/pexels.service.d.ts +0 -11
- package/lib/services/aiGen/providers/pexels/pexels.service.d.ts.map +0 -1
- package/lib/services/aiGen/providers/pexels/pexels.service.js +0 -118
- package/lib/services/aiGen/providers/runway/cameraAdapter.d.ts +0 -3
- package/lib/services/aiGen/providers/runway/cameraAdapter.d.ts.map +0 -1
- package/lib/services/aiGen/providers/runway/cameraAdapter.js +0 -46
- package/lib/services/asr/assemblyai.service.d.ts +0 -72
- package/lib/services/asr/assemblyai.service.d.ts.map +0 -1
- package/lib/services/asr/assemblyai.service.js +0 -89
- package/lib/services/asr/index.d.ts +0 -2
- package/lib/services/asr/index.d.ts.map +0 -1
- package/lib/services/asr/index.js +0 -17
- package/lib/services/assetCache.service.d.ts +0 -54
- package/lib/services/assetCache.service.d.ts.map +0 -1
- package/lib/services/assetCache.service.js +0 -96
- package/lib/services/audioAnalysis/index.d.ts +0 -2
- package/lib/services/audioAnalysis/index.d.ts.map +0 -1
- package/lib/services/audioAnalysis/index.js +0 -17
- package/lib/services/audioAnalysis/onsetDetection.service.d.ts +0 -50
- package/lib/services/audioAnalysis/onsetDetection.service.d.ts.map +0 -1
- package/lib/services/audioAnalysis/onsetDetection.service.js +0 -136
- package/lib/services/editor/designToProject.d.ts +0 -60
- package/lib/services/editor/designToProject.d.ts.map +0 -1
- package/lib/services/editor/designToProject.js +0 -194
- package/lib/services/musicGen/index.d.ts +0 -6
- package/lib/services/musicGen/index.d.ts.map +0 -1
- package/lib/services/musicGen/index.js +0 -26
- package/lib/services/musicGen/musicSearchFactory.service.d.ts +0 -14
- package/lib/services/musicGen/musicSearchFactory.service.d.ts.map +0 -1
- package/lib/services/musicGen/musicSearchFactory.service.js +0 -59
- package/lib/services/musicGen/providers/curated.service.d.ts +0 -22
- package/lib/services/musicGen/providers/curated.service.d.ts.map +0 -1
- package/lib/services/musicGen/providers/curated.service.js +0 -171
- package/lib/services/musicGen/providers/jamendo.service.d.ts +0 -8
- package/lib/services/musicGen/providers/jamendo.service.d.ts.map +0 -1
- package/lib/services/musicGen/providers/jamendo.service.js +0 -93
- package/lib/services/musicGen/providers/mubert.service.d.ts +0 -9
- package/lib/services/musicGen/providers/mubert.service.d.ts.map +0 -1
- package/lib/services/musicGen/providers/mubert.service.js +0 -113
- package/lib/services/musicGen/types.d.ts +0 -42
- package/lib/services/musicGen/types.d.ts.map +0 -1
- package/lib/services/musicGen/types.js +0 -10
- package/lib/services/tts/providers/minimax.service.d.ts +0 -14
- package/lib/services/tts/providers/minimax.service.d.ts.map +0 -1
- package/lib/services/tts/providers/minimax.service.js +0 -78
- package/lib/services/tts/providers/openai.service.d.ts +0 -14
- package/lib/services/tts/providers/openai.service.d.ts.map +0 -1
- package/lib/services/tts/providers/openai.service.js +0 -71
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
import { VideoBrief } from "../schemas/brief.schema";
|
|
2
|
-
import { VideoPlan } from "../schemas/videoPlan.schema";
|
|
3
|
-
import { AgentPersona } from "../schemas/agentPersona.schema";
|
|
4
|
-
import { CriticReport } from "../services/agent/critic";
|
|
5
|
-
/**
|
|
6
|
-
* BrandKit — set-once-per-user identity. Auto-injected into every brief by
|
|
7
|
-
* the agent so brand consistency lifts free across runs. Lives at
|
|
8
|
-
* /brandKits/{userId} (single doc per user).
|
|
9
|
-
*/
|
|
10
|
-
export interface IBrandKitModel {
|
|
11
|
-
userId: string;
|
|
12
|
-
brandName?: string;
|
|
13
|
-
logoUrl?: string;
|
|
14
|
-
primaryColorHex?: string;
|
|
15
|
-
secondaryColorHex?: string;
|
|
16
|
-
fontFamily?: string;
|
|
17
|
-
/** Preferred TTS voice id. */
|
|
18
|
-
voiceId?: string;
|
|
19
|
-
/** Music tempo / mood preference. */
|
|
20
|
-
musicMoods?: string[];
|
|
21
|
-
/** Phrases the agent must never produce. */
|
|
22
|
-
bannedClaims?: string[];
|
|
23
|
-
/** Phrases the agent should prefer. */
|
|
24
|
-
preferredClaims?: string[];
|
|
25
|
-
/**
|
|
26
|
-
* Presenter face still URL — set once by the user; required for the
|
|
27
|
-
* talking-head-avatar strategy. Planner injects into PlannedScene.avatarFaceUrl.
|
|
28
|
-
*/
|
|
29
|
-
presenterFaceUrl?: string;
|
|
30
|
-
createdAt: string;
|
|
31
|
-
updatedAt: string;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* StyleMemory — per-user record of recent accepted/rejected scene decisions.
|
|
35
|
-
* Used as few-shot examples by the planner to bias future plans toward
|
|
36
|
-
* choices the user has previously accepted. Lives at /styleMemory/{userId}
|
|
37
|
-
* (single doc per user, like the brand kit).
|
|
38
|
-
*
|
|
39
|
-
* Capped to MAX_STYLE_MEMORY_ENTRIES per side; older entries fall off when
|
|
40
|
-
* `recordSceneDecision` is called.
|
|
41
|
-
*/
|
|
42
|
-
export declare const MAX_STYLE_MEMORY_ENTRIES = 10;
|
|
43
|
-
export interface IStyleMemoryEntry {
|
|
44
|
-
/** Snapshot of the planner's PlannedScene for this decision. */
|
|
45
|
-
scene: unknown;
|
|
46
|
-
/** Project this came from. */
|
|
47
|
-
projectId: string;
|
|
48
|
-
/** Which scene index in that project. */
|
|
49
|
-
sceneIndex: number;
|
|
50
|
-
/** ISO timestamp the decision was recorded. */
|
|
51
|
-
recordedAt: string;
|
|
52
|
-
}
|
|
53
|
-
export interface IStyleMemoryModel {
|
|
54
|
-
userId: string;
|
|
55
|
-
/** Scenes the user shipped without changes. */
|
|
56
|
-
acceptedScenes: IStyleMemoryEntry[];
|
|
57
|
-
/** Scenes the user explicitly rejected (regenerated, deleted, swapped). */
|
|
58
|
-
rejectedScenes: IStyleMemoryEntry[];
|
|
59
|
-
createdAt: string;
|
|
60
|
-
updatedAt: string;
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* AgentProject — one chat session / one Project JSON in flight. Holds the
|
|
64
|
-
* current Brief and VideoPlan. Multiple AgentRuns may attach to a single
|
|
65
|
-
* project (each "regenerate scene" is a new run).
|
|
66
|
-
*/
|
|
67
|
-
export interface IAgentProjectModel {
|
|
68
|
-
id: string;
|
|
69
|
-
userId: string;
|
|
70
|
-
title?: string;
|
|
71
|
-
brief?: VideoBrief;
|
|
72
|
-
plan?: VideoPlan;
|
|
73
|
-
/** Latest Project JSON (Remotion editor schema). */
|
|
74
|
-
projectJson?: unknown;
|
|
75
|
-
status: "draft" | "planned" | "executing" | "ready-to-render" | "rendered" | "failed";
|
|
76
|
-
/** Persona persisted across the session. */
|
|
77
|
-
persona?: AgentPersona;
|
|
78
|
-
/** Latest critic report from execute. */
|
|
79
|
-
criticReport?: CriticReport;
|
|
80
|
-
/** Most recent render output for this project. */
|
|
81
|
-
lastRender?: {
|
|
82
|
-
renderJobId: string;
|
|
83
|
-
mp4Url: string;
|
|
84
|
-
durationMs: number;
|
|
85
|
-
quality: "draft" | "standard" | "premium";
|
|
86
|
-
renderedAt: string;
|
|
87
|
-
};
|
|
88
|
-
createdAt: string;
|
|
89
|
-
updatedAt: string;
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* AgentRun — one planner+executor+critic invocation. Stored for replay,
|
|
93
|
-
* eval, and debugging. The recorder writes to this collection at end of run.
|
|
94
|
-
*/
|
|
95
|
-
export interface IAgentRunModel {
|
|
96
|
-
id: string;
|
|
97
|
-
userId: string;
|
|
98
|
-
projectId: string;
|
|
99
|
-
persona?: AgentPersona;
|
|
100
|
-
brief?: VideoBrief;
|
|
101
|
-
plan?: VideoPlan;
|
|
102
|
-
/** Logged tool calls in order. Shape mirrors the trace recorder's ToolCallTrace. */
|
|
103
|
-
toolCalls: Array<{
|
|
104
|
-
ts: number;
|
|
105
|
-
tool: string;
|
|
106
|
-
input: unknown;
|
|
107
|
-
outcome: unknown;
|
|
108
|
-
}>;
|
|
109
|
-
/** RNG seed used (replay reproducibility). */
|
|
110
|
-
rngSeed?: number;
|
|
111
|
-
status: "running" | "succeeded" | "failed" | "aborted";
|
|
112
|
-
startedAt: string;
|
|
113
|
-
endedAt?: string;
|
|
114
|
-
totalCost?: number;
|
|
115
|
-
errorMessage?: string;
|
|
116
|
-
}
|
|
117
|
-
//# sourceMappingURL=agent.model.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agent.model.d.ts","sourceRoot":"","sources":["../../src/models/agent.model.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MAX_STYLE_MEMORY_ENTRIES = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* StyleMemory — per-user record of recent accepted/rejected scene decisions.
|
|
6
|
-
* Used as few-shot examples by the planner to bias future plans toward
|
|
7
|
-
* choices the user has previously accepted. Lives at /styleMemory/{userId}
|
|
8
|
-
* (single doc per user, like the brand kit).
|
|
9
|
-
*
|
|
10
|
-
* Capped to MAX_STYLE_MEMORY_ENTRIES per side; older entries fall off when
|
|
11
|
-
* `recordSceneDecision` is called.
|
|
12
|
-
*/
|
|
13
|
-
exports.MAX_STYLE_MEMORY_ENTRIES = 10;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Persistent shape of an entry in the assetCache Firestore collection.
|
|
3
|
-
* Mirrors the runtime CachedAsset returned by AssetCacheService.
|
|
4
|
-
*/
|
|
5
|
-
export interface ICachedAssetModel {
|
|
6
|
-
key: string;
|
|
7
|
-
provider: string;
|
|
8
|
-
kind: "image" | "video" | "audio" | "stock-image" | "stock-video";
|
|
9
|
-
url: string;
|
|
10
|
-
width?: number;
|
|
11
|
-
height?: number;
|
|
12
|
-
durationMs?: number;
|
|
13
|
-
originalCreditsSpent?: number;
|
|
14
|
-
createdAt: string;
|
|
15
|
-
lastAccessedAt: string;
|
|
16
|
-
hitCount: number;
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=cachedAsset.model.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cachedAsset.model.d.ts","sourceRoot":"","sources":["../../src/models/cachedAsset.model.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,aAAa,GAAG,aAAa,CAAC;IAClE,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Persistent shape of an entry in the assetCacheRaw Firestore collection.
|
|
3
|
-
*
|
|
4
|
-
* Sibling to ICachedAssetModel — that one stores final asset URLs (image,
|
|
5
|
-
* video, audio); this one stores arbitrary JSON payloads (search responses,
|
|
6
|
-
* VO base64 bytes) keyed by content hash. Kept in a separate collection so
|
|
7
|
-
* the per-asset URL index stays narrow and queryable.
|
|
8
|
-
*/
|
|
9
|
-
export interface ICachedRawAssetModel {
|
|
10
|
-
key: string;
|
|
11
|
-
kind: "stock-search" | "voiceover";
|
|
12
|
-
/** Caller-shaped JSON. Must stay under the Firestore 1MB doc limit. */
|
|
13
|
-
payload: unknown;
|
|
14
|
-
/** Optional TTL — if set and now > expiresAt, lookup returns null. */
|
|
15
|
-
expiresAt?: string;
|
|
16
|
-
createdAt: string;
|
|
17
|
-
lastAccessedAt: string;
|
|
18
|
-
hitCount: number;
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=cachedRawAsset.model.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cachedRawAsset.model.d.ts","sourceRoot":"","sources":["../../src/models/cachedRawAsset.model.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,WAAW,oBAAoB;IACnC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,cAAc,GAAG,WAAW,CAAC;IACnC,uEAAuE;IACvE,OAAO,EAAE,OAAO,CAAC;IACjB,sEAAsE;IACtE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const AgentPersonaSchema: z.ZodEnum<{
|
|
3
|
-
"ugc-ad": "ugc-ad";
|
|
4
|
-
"faceless-yt": "faceless-yt";
|
|
5
|
-
"product-demo": "product-demo";
|
|
6
|
-
"talking-head": "talking-head";
|
|
7
|
-
"social-recap": "social-recap";
|
|
8
|
-
}>;
|
|
9
|
-
export type AgentPersona = z.infer<typeof AgentPersonaSchema>;
|
|
10
|
-
//# sourceMappingURL=agentPersona.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agentPersona.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/agentPersona.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,kBAAkB;;;;;;EAM7B,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AgentPersonaSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.AgentPersonaSchema = zod_1.z.enum([
|
|
6
|
-
"ugc-ad",
|
|
7
|
-
"faceless-yt",
|
|
8
|
-
"product-demo",
|
|
9
|
-
"talking-head",
|
|
10
|
-
"social-recap",
|
|
11
|
-
]);
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* BrandKit — per-user (eventually per-workspace) brand profile that is automatically
|
|
4
|
-
* injected into every VideoBrief the agent constructs. Set once, applied everywhere.
|
|
5
|
-
* The single biggest accuracy lever for serial creators.
|
|
6
|
-
*/
|
|
7
|
-
export declare const BrandColorsSchema: z.ZodObject<{
|
|
8
|
-
primary: z.ZodOptional<z.ZodString>;
|
|
9
|
-
secondary: z.ZodOptional<z.ZodString>;
|
|
10
|
-
accent: z.ZodOptional<z.ZodString>;
|
|
11
|
-
palette: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
12
|
-
}, z.core.$strip>;
|
|
13
|
-
export declare const BrandFontsSchema: z.ZodObject<{
|
|
14
|
-
heading: z.ZodOptional<z.ZodString>;
|
|
15
|
-
body: z.ZodOptional<z.ZodString>;
|
|
16
|
-
}, z.core.$strip>;
|
|
17
|
-
export declare const BrandIdentitySchema: z.ZodObject<{
|
|
18
|
-
brandName: z.ZodOptional<z.ZodString>;
|
|
19
|
-
wordmark: z.ZodOptional<z.ZodString>;
|
|
20
|
-
logoUrl: z.ZodOptional<z.ZodString>;
|
|
21
|
-
}, z.core.$strip>;
|
|
22
|
-
export declare const BrandReferenceSchema: z.ZodObject<{
|
|
23
|
-
url: z.ZodString;
|
|
24
|
-
label: z.ZodOptional<z.ZodString>;
|
|
25
|
-
}, z.core.$strip>;
|
|
26
|
-
export declare const BrandKitSchema: z.ZodObject<{
|
|
27
|
-
userId: z.ZodString;
|
|
28
|
-
identity: z.ZodDefault<z.ZodObject<{
|
|
29
|
-
brandName: z.ZodOptional<z.ZodString>;
|
|
30
|
-
wordmark: z.ZodOptional<z.ZodString>;
|
|
31
|
-
logoUrl: z.ZodOptional<z.ZodString>;
|
|
32
|
-
}, z.core.$strip>>;
|
|
33
|
-
colors: z.ZodDefault<z.ZodObject<{
|
|
34
|
-
primary: z.ZodOptional<z.ZodString>;
|
|
35
|
-
secondary: z.ZodOptional<z.ZodString>;
|
|
36
|
-
accent: z.ZodOptional<z.ZodString>;
|
|
37
|
-
palette: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
38
|
-
}, z.core.$strip>>;
|
|
39
|
-
fonts: z.ZodDefault<z.ZodObject<{
|
|
40
|
-
heading: z.ZodOptional<z.ZodString>;
|
|
41
|
-
body: z.ZodOptional<z.ZodString>;
|
|
42
|
-
}, z.core.$strip>>;
|
|
43
|
-
voice: z.ZodOptional<z.ZodObject<{
|
|
44
|
-
gender: z.ZodOptional<z.ZodEnum<{
|
|
45
|
-
female: "female";
|
|
46
|
-
male: "male";
|
|
47
|
-
neutral: "neutral";
|
|
48
|
-
}>>;
|
|
49
|
-
ageRange: z.ZodOptional<z.ZodEnum<{
|
|
50
|
-
child: "child";
|
|
51
|
-
teen: "teen";
|
|
52
|
-
"young-adult": "young-adult";
|
|
53
|
-
adult: "adult";
|
|
54
|
-
senior: "senior";
|
|
55
|
-
}>>;
|
|
56
|
-
accent: z.ZodOptional<z.ZodString>;
|
|
57
|
-
language: z.ZodDefault<z.ZodString>;
|
|
58
|
-
voiceId: z.ZodOptional<z.ZodString>;
|
|
59
|
-
}, z.core.$strip>>;
|
|
60
|
-
music: z.ZodOptional<z.ZodObject<{
|
|
61
|
-
moods: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
62
|
-
energetic: "energetic";
|
|
63
|
-
calm: "calm";
|
|
64
|
-
cinematic: "cinematic";
|
|
65
|
-
uplifting: "uplifting";
|
|
66
|
-
tense: "tense";
|
|
67
|
-
dreamy: "dreamy";
|
|
68
|
-
dark: "dark";
|
|
69
|
-
playful: "playful";
|
|
70
|
-
}>>>;
|
|
71
|
-
bpmMin: z.ZodOptional<z.ZodNumber>;
|
|
72
|
-
bpmMax: z.ZodOptional<z.ZodNumber>;
|
|
73
|
-
}, z.core.$strip>>;
|
|
74
|
-
claims: z.ZodDefault<z.ZodObject<{
|
|
75
|
-
allow: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
76
|
-
block: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
77
|
-
}, z.core.$strip>>;
|
|
78
|
-
defaultTier: z.ZodDefault<z.ZodEnum<{
|
|
79
|
-
T0: "T0";
|
|
80
|
-
T1: "T1";
|
|
81
|
-
T2: "T2";
|
|
82
|
-
T3: "T3";
|
|
83
|
-
}>>;
|
|
84
|
-
defaultAspect: z.ZodDefault<z.ZodEnum<{
|
|
85
|
-
"9:16": "9:16";
|
|
86
|
-
"16:9": "16:9";
|
|
87
|
-
"1:1": "1:1";
|
|
88
|
-
"4:5": "4:5";
|
|
89
|
-
}>>;
|
|
90
|
-
references: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
91
|
-
url: z.ZodString;
|
|
92
|
-
label: z.ZodOptional<z.ZodString>;
|
|
93
|
-
}, z.core.$strip>>>;
|
|
94
|
-
createdAt: z.ZodString;
|
|
95
|
-
updatedAt: z.ZodString;
|
|
96
|
-
}, z.core.$strip>;
|
|
97
|
-
export type BrandKit = z.infer<typeof BrandKitSchema>;
|
|
98
|
-
export type BrandColors = z.infer<typeof BrandColorsSchema>;
|
|
99
|
-
export type BrandFonts = z.infer<typeof BrandFontsSchema>;
|
|
100
|
-
export type BrandIdentity = z.infer<typeof BrandIdentitySchema>;
|
|
101
|
-
//# sourceMappingURL=brandKit.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"brandKit.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/brandKit.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;GAIG;AAEH,eAAO,MAAM,iBAAiB;;;;;iBAM5B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;iBAG3B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;iBAI9B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;iBAG/B,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkBzB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AACtD,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC5D,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC1D,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BrandKitSchema = exports.BrandReferenceSchema = exports.BrandIdentitySchema = exports.BrandFontsSchema = exports.BrandColorsSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const project_schema_1 = require("./project.schema");
|
|
6
|
-
const brief_schema_1 = require("./brief.schema");
|
|
7
|
-
/**
|
|
8
|
-
* BrandKit — per-user (eventually per-workspace) brand profile that is automatically
|
|
9
|
-
* injected into every VideoBrief the agent constructs. Set once, applied everywhere.
|
|
10
|
-
* The single biggest accuracy lever for serial creators.
|
|
11
|
-
*/
|
|
12
|
-
exports.BrandColorsSchema = zod_1.z.object({
|
|
13
|
-
primary: zod_1.z.string().optional(),
|
|
14
|
-
secondary: zod_1.z.string().optional(),
|
|
15
|
-
accent: zod_1.z.string().optional(),
|
|
16
|
-
/** Optional extracted palette from logo. */
|
|
17
|
-
palette: zod_1.z.array(zod_1.z.string()).default([]),
|
|
18
|
-
});
|
|
19
|
-
exports.BrandFontsSchema = zod_1.z.object({
|
|
20
|
-
heading: zod_1.z.string().optional(),
|
|
21
|
-
body: zod_1.z.string().optional(),
|
|
22
|
-
});
|
|
23
|
-
exports.BrandIdentitySchema = zod_1.z.object({
|
|
24
|
-
brandName: zod_1.z.string().optional(),
|
|
25
|
-
wordmark: zod_1.z.string().optional(),
|
|
26
|
-
logoUrl: zod_1.z.string().url().optional(),
|
|
27
|
-
});
|
|
28
|
-
exports.BrandReferenceSchema = zod_1.z.object({
|
|
29
|
-
url: zod_1.z.string().url(),
|
|
30
|
-
label: zod_1.z.string().optional(),
|
|
31
|
-
});
|
|
32
|
-
exports.BrandKitSchema = zod_1.z.object({
|
|
33
|
-
userId: zod_1.z.string(),
|
|
34
|
-
identity: exports.BrandIdentitySchema.default({}),
|
|
35
|
-
colors: exports.BrandColorsSchema.default({ palette: [] }),
|
|
36
|
-
fonts: exports.BrandFontsSchema.default({}),
|
|
37
|
-
voice: brief_schema_1.VoiceProfileSchema.optional(),
|
|
38
|
-
music: brief_schema_1.MusicProfileSchema.optional(),
|
|
39
|
-
claims: brief_schema_1.ClaimsSchema.default({ allow: [], block: [] }),
|
|
40
|
-
defaultTier: project_schema_1.TierSchema.default("T1"),
|
|
41
|
-
defaultAspect: project_schema_1.AspectSchema.default("9:16"),
|
|
42
|
-
/** Up to 3 reference videos the agent treats as default style anchors. */
|
|
43
|
-
references: zod_1.z.array(exports.BrandReferenceSchema).max(3).default([]),
|
|
44
|
-
createdAt: zod_1.z.string().datetime(),
|
|
45
|
-
updatedAt: zod_1.z.string().datetime(),
|
|
46
|
-
});
|
|
@@ -1,216 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* VideoBrief — the structured spec the agent fills from a user's natural-language
|
|
4
|
-
* request. It is the single source of truth for downstream tools (planner, executor,
|
|
5
|
-
* critic). Agents are stateless across turns; the Brief carries state.
|
|
6
|
-
*
|
|
7
|
-
* Two-stage intent capture produces this:
|
|
8
|
-
* 1. Implicit inference pass: LLM fills confident defaults from the prompt + niche.
|
|
9
|
-
* 2. Targeted gap pass: chip-style clarifying questions for low-confidence axes only.
|
|
10
|
-
*
|
|
11
|
-
* Fields are mostly optional because partial briefs are valid early in the conversation;
|
|
12
|
-
* the planner re-validates that required-for-planning fields are present at plan time.
|
|
13
|
-
*/
|
|
14
|
-
export declare const VideoNicheSchema: z.ZodEnum<{
|
|
15
|
-
"ugc-ad": "ugc-ad";
|
|
16
|
-
"faceless-yt": "faceless-yt";
|
|
17
|
-
"product-demo": "product-demo";
|
|
18
|
-
"talking-head": "talking-head";
|
|
19
|
-
"social-recap": "social-recap";
|
|
20
|
-
"real-estate": "real-estate";
|
|
21
|
-
recipe: "recipe";
|
|
22
|
-
travel: "travel";
|
|
23
|
-
fitness: "fitness";
|
|
24
|
-
"podcast-clip": "podcast-clip";
|
|
25
|
-
education: "education";
|
|
26
|
-
news: "news";
|
|
27
|
-
other: "other";
|
|
28
|
-
}>;
|
|
29
|
-
export declare const ToneSchema: z.ZodEnum<{
|
|
30
|
-
energetic: "energetic";
|
|
31
|
-
calm: "calm";
|
|
32
|
-
cinematic: "cinematic";
|
|
33
|
-
playful: "playful";
|
|
34
|
-
casual: "casual";
|
|
35
|
-
professional: "professional";
|
|
36
|
-
edgy: "edgy";
|
|
37
|
-
warm: "warm";
|
|
38
|
-
informational: "informational";
|
|
39
|
-
}>;
|
|
40
|
-
export declare const HookStyleSchema: z.ZodEnum<{
|
|
41
|
-
question: "question";
|
|
42
|
-
"bold-claim": "bold-claim";
|
|
43
|
-
"pattern-interrupt": "pattern-interrupt";
|
|
44
|
-
story: "story";
|
|
45
|
-
stat: "stat";
|
|
46
|
-
demo: "demo";
|
|
47
|
-
"voiceover-only": "voiceover-only";
|
|
48
|
-
}>;
|
|
49
|
-
export declare const PacingSchema: z.ZodEnum<{
|
|
50
|
-
medium: "medium";
|
|
51
|
-
fast: "fast";
|
|
52
|
-
slow: "slow";
|
|
53
|
-
"very-fast": "very-fast";
|
|
54
|
-
}>;
|
|
55
|
-
export declare const VoiceProfileSchema: z.ZodObject<{
|
|
56
|
-
gender: z.ZodOptional<z.ZodEnum<{
|
|
57
|
-
female: "female";
|
|
58
|
-
male: "male";
|
|
59
|
-
neutral: "neutral";
|
|
60
|
-
}>>;
|
|
61
|
-
ageRange: z.ZodOptional<z.ZodEnum<{
|
|
62
|
-
child: "child";
|
|
63
|
-
teen: "teen";
|
|
64
|
-
"young-adult": "young-adult";
|
|
65
|
-
adult: "adult";
|
|
66
|
-
senior: "senior";
|
|
67
|
-
}>>;
|
|
68
|
-
accent: z.ZodOptional<z.ZodString>;
|
|
69
|
-
language: z.ZodDefault<z.ZodString>;
|
|
70
|
-
voiceId: z.ZodOptional<z.ZodString>;
|
|
71
|
-
}, z.core.$strip>;
|
|
72
|
-
export declare const MusicProfileSchema: z.ZodObject<{
|
|
73
|
-
moods: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
74
|
-
energetic: "energetic";
|
|
75
|
-
calm: "calm";
|
|
76
|
-
cinematic: "cinematic";
|
|
77
|
-
uplifting: "uplifting";
|
|
78
|
-
tense: "tense";
|
|
79
|
-
dreamy: "dreamy";
|
|
80
|
-
dark: "dark";
|
|
81
|
-
playful: "playful";
|
|
82
|
-
}>>>;
|
|
83
|
-
bpmMin: z.ZodOptional<z.ZodNumber>;
|
|
84
|
-
bpmMax: z.ZodOptional<z.ZodNumber>;
|
|
85
|
-
}, z.core.$strip>;
|
|
86
|
-
export declare const ClaimsSchema: z.ZodObject<{
|
|
87
|
-
allow: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
88
|
-
block: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
89
|
-
}, z.core.$strip>;
|
|
90
|
-
export declare const ReferenceLinkSchema: z.ZodObject<{
|
|
91
|
-
url: z.ZodString;
|
|
92
|
-
analyzed: z.ZodOptional<z.ZodObject<{
|
|
93
|
-
durationMs: z.ZodNumber;
|
|
94
|
-
sceneCount: z.ZodNumber;
|
|
95
|
-
hookMs: z.ZodNumber;
|
|
96
|
-
cutsPerSecond: z.ZodNumber;
|
|
97
|
-
bpm: z.ZodOptional<z.ZodNumber>;
|
|
98
|
-
transcriptExcerpt: z.ZodOptional<z.ZodString>;
|
|
99
|
-
}, z.core.$strip>>;
|
|
100
|
-
}, z.core.$strip>;
|
|
101
|
-
export declare const VideoBriefSchema: z.ZodObject<{
|
|
102
|
-
rawPrompt: z.ZodString;
|
|
103
|
-
goal: z.ZodOptional<z.ZodString>;
|
|
104
|
-
niche: z.ZodOptional<z.ZodEnum<{
|
|
105
|
-
"ugc-ad": "ugc-ad";
|
|
106
|
-
"faceless-yt": "faceless-yt";
|
|
107
|
-
"product-demo": "product-demo";
|
|
108
|
-
"talking-head": "talking-head";
|
|
109
|
-
"social-recap": "social-recap";
|
|
110
|
-
"real-estate": "real-estate";
|
|
111
|
-
recipe: "recipe";
|
|
112
|
-
travel: "travel";
|
|
113
|
-
fitness: "fitness";
|
|
114
|
-
"podcast-clip": "podcast-clip";
|
|
115
|
-
education: "education";
|
|
116
|
-
news: "news";
|
|
117
|
-
other: "other";
|
|
118
|
-
}>>;
|
|
119
|
-
audience: z.ZodOptional<z.ZodString>;
|
|
120
|
-
tone: z.ZodOptional<z.ZodEnum<{
|
|
121
|
-
energetic: "energetic";
|
|
122
|
-
calm: "calm";
|
|
123
|
-
cinematic: "cinematic";
|
|
124
|
-
playful: "playful";
|
|
125
|
-
casual: "casual";
|
|
126
|
-
professional: "professional";
|
|
127
|
-
edgy: "edgy";
|
|
128
|
-
warm: "warm";
|
|
129
|
-
informational: "informational";
|
|
130
|
-
}>>;
|
|
131
|
-
hookStyle: z.ZodOptional<z.ZodEnum<{
|
|
132
|
-
question: "question";
|
|
133
|
-
"bold-claim": "bold-claim";
|
|
134
|
-
"pattern-interrupt": "pattern-interrupt";
|
|
135
|
-
story: "story";
|
|
136
|
-
stat: "stat";
|
|
137
|
-
demo: "demo";
|
|
138
|
-
"voiceover-only": "voiceover-only";
|
|
139
|
-
}>>;
|
|
140
|
-
pacing: z.ZodOptional<z.ZodEnum<{
|
|
141
|
-
medium: "medium";
|
|
142
|
-
fast: "fast";
|
|
143
|
-
slow: "slow";
|
|
144
|
-
"very-fast": "very-fast";
|
|
145
|
-
}>>;
|
|
146
|
-
durationSec: z.ZodOptional<z.ZodNumber>;
|
|
147
|
-
aspect: z.ZodOptional<z.ZodEnum<{
|
|
148
|
-
"9:16": "9:16";
|
|
149
|
-
"16:9": "16:9";
|
|
150
|
-
"1:1": "1:1";
|
|
151
|
-
"4:5": "4:5";
|
|
152
|
-
}>>;
|
|
153
|
-
voice: z.ZodOptional<z.ZodObject<{
|
|
154
|
-
gender: z.ZodOptional<z.ZodEnum<{
|
|
155
|
-
female: "female";
|
|
156
|
-
male: "male";
|
|
157
|
-
neutral: "neutral";
|
|
158
|
-
}>>;
|
|
159
|
-
ageRange: z.ZodOptional<z.ZodEnum<{
|
|
160
|
-
child: "child";
|
|
161
|
-
teen: "teen";
|
|
162
|
-
"young-adult": "young-adult";
|
|
163
|
-
adult: "adult";
|
|
164
|
-
senior: "senior";
|
|
165
|
-
}>>;
|
|
166
|
-
accent: z.ZodOptional<z.ZodString>;
|
|
167
|
-
language: z.ZodDefault<z.ZodString>;
|
|
168
|
-
voiceId: z.ZodOptional<z.ZodString>;
|
|
169
|
-
}, z.core.$strip>>;
|
|
170
|
-
music: z.ZodOptional<z.ZodObject<{
|
|
171
|
-
moods: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
172
|
-
energetic: "energetic";
|
|
173
|
-
calm: "calm";
|
|
174
|
-
cinematic: "cinematic";
|
|
175
|
-
uplifting: "uplifting";
|
|
176
|
-
tense: "tense";
|
|
177
|
-
dreamy: "dreamy";
|
|
178
|
-
dark: "dark";
|
|
179
|
-
playful: "playful";
|
|
180
|
-
}>>>;
|
|
181
|
-
bpmMin: z.ZodOptional<z.ZodNumber>;
|
|
182
|
-
bpmMax: z.ZodOptional<z.ZodNumber>;
|
|
183
|
-
}, z.core.$strip>>;
|
|
184
|
-
cta: z.ZodOptional<z.ZodString>;
|
|
185
|
-
claims: z.ZodDefault<z.ZodObject<{
|
|
186
|
-
allow: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
187
|
-
block: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
188
|
-
}, z.core.$strip>>;
|
|
189
|
-
references: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
190
|
-
url: z.ZodString;
|
|
191
|
-
analyzed: z.ZodOptional<z.ZodObject<{
|
|
192
|
-
durationMs: z.ZodNumber;
|
|
193
|
-
sceneCount: z.ZodNumber;
|
|
194
|
-
hookMs: z.ZodNumber;
|
|
195
|
-
cutsPerSecond: z.ZodNumber;
|
|
196
|
-
bpm: z.ZodOptional<z.ZodNumber>;
|
|
197
|
-
transcriptExcerpt: z.ZodOptional<z.ZodString>;
|
|
198
|
-
}, z.core.$strip>>;
|
|
199
|
-
}, z.core.$strip>>>;
|
|
200
|
-
tierBudget: z.ZodDefault<z.ZodEnum<{
|
|
201
|
-
T0: "T0";
|
|
202
|
-
T1: "T1";
|
|
203
|
-
T2: "T2";
|
|
204
|
-
T3: "T3";
|
|
205
|
-
}>>;
|
|
206
|
-
confidence: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
207
|
-
}, z.core.$strip>;
|
|
208
|
-
export type VideoBrief = z.infer<typeof VideoBriefSchema>;
|
|
209
|
-
export type VoiceProfile = z.infer<typeof VoiceProfileSchema>;
|
|
210
|
-
export type MusicProfile = z.infer<typeof MusicProfileSchema>;
|
|
211
|
-
export type ReferenceLink = z.infer<typeof ReferenceLinkSchema>;
|
|
212
|
-
export type VideoNiche = z.infer<typeof VideoNicheSchema>;
|
|
213
|
-
export type Tone = z.infer<typeof ToneSchema>;
|
|
214
|
-
export type HookStyle = z.infer<typeof HookStyleSchema>;
|
|
215
|
-
export type Pacing = z.infer<typeof PacingSchema>;
|
|
216
|
-
//# sourceMappingURL=brief.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"brief.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/brief.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;;;;;;GAWG;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;EAc3B,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;EAUrB,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;EAQ1B,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;EAAkD,CAAC;AAE5E,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;iBAO7B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;iBAiB7B,CAAC;AAEH,eAAO,MAAM,YAAY;;;iBAKvB,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;iBAa9B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA4B3B,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC1D,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC1D,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAC9C,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC"}
|