@happyvertical/smrt-voice 0.46.0 → 0.47.1

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/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import { ObjectRegistry, SmrtObject, crossPackageRef, foreignKey, smrt } from "@
2
2
  import { Content } from "@happyvertical/smrt-content";
3
3
  import { TenantScoped, tenantId } from "@happyvertical/smrt-tenancy";
4
4
  //#region src/__smrt-register__.ts
5
- ObjectRegistry.registerPackageManifest(JSON.parse("{\"version\":\"1.0.0\",\"timestamp\":0,\"packageName\":\"@happyvertical/smrt-voice\",\"packageVersion\":\"0.46.0\",\"objects\":{\"@happyvertical/smrt-voice:VoiceOutput\":{\"name\":\"voiceoutput\",\"className\":\"VoiceOutput\",\"qualifiedName\":\"@happyvertical/smrt-voice:VoiceOutput\",\"collection\":\"contents\",\"filePath\":\"/home/runner/work/smrt/smrt/packages/voice/src/voice-output.ts\",\"packageName\":\"@happyvertical/smrt-voice\",\"fields\":{\"created_at\":{\"type\":\"datetime\",\"required\":false},\"updated_at\":{\"type\":\"datetime\",\"required\":false},\"tenantId\":{\"type\":\"text\",\"required\":false,\"_meta\":{\"generated\":true,\"source\":\"tenantScoped_decorator\",\"sqlType\":\"UUID\",\"__tenancy\":{\"isTenantIdField\":true,\"mode\":\"optional\",\"field\":\"tenantId\",\"autoFilter\":true,\"autoPopulate\":true,\"allowSuperAdminBypass\":false}}},\"type\":{\"type\":\"text\",\"required\":false},\"variant\":{\"type\":\"text\",\"required\":false},\"fileKey\":{\"type\":\"text\",\"required\":false},\"author\":{\"type\":\"text\",\"required\":false},\"name\":{\"type\":\"text\",\"required\":true,\"default\":\"\",\"_meta\":{\"required\":true}},\"title\":{\"type\":\"text\",\"required\":false},\"description\":{\"type\":\"text\",\"required\":false},\"body\":{\"type\":\"text\",\"required\":false},\"bodyFormat\":{\"type\":\"text\",\"required\":false},\"publish_date\":{\"type\":\"datetime\",\"required\":false},\"url\":{\"type\":\"text\",\"required\":false},\"source\":{\"type\":\"text\",\"required\":false},\"original_url\":{\"type\":\"text\",\"required\":false},\"language\":{\"type\":\"text\",\"required\":false},\"tags\":{\"type\":\"json\",\"required\":false,\"default\":[]},\"category\":{\"type\":\"text\",\"required\":false},\"status\":{\"type\":\"text\",\"required\":false,\"default\":\"draft\"},\"state\":{\"type\":\"text\",\"required\":false,\"default\":\"active\"},\"metadata\":{\"type\":\"json\",\"required\":false,\"default\":{}},\"thumbnailAssetId\":{\"type\":\"crossPackageRef\",\"required\":false,\"related\":\"@happyvertical/smrt-assets:Asset\"},\"voiceProfileId\":{\"type\":\"foreignKey\",\"required\":false,\"related\":\"VoiceProfile\"},\"sourceText\":{\"type\":\"text\",\"required\":false,\"default\":\"\"},\"audioAssetId\":{\"type\":\"crossPackageRef\",\"required\":false,\"related\":\"@happyvertical/smrt-assets:Asset\"},\"duration\":{\"type\":\"integer\",\"required\":false,\"default\":0},\"wordTimings\":{\"type\":\"json\",\"required\":false,\"default\":[]},\"audioMetadata\":{\"type\":\"json\",\"required\":false}},\"methods\":{\"initialize\":{\"name\":\"initialize\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise\",\"isStatic\":false,\"isPublic\":true},\"save\":{\"name\":\"save\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"SmrtSaveOptions\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"resolveGovernance\":{\"name\":\"resolveGovernance\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<ResolvedContentGovernance>\",\"isStatic\":false,\"isPublic\":true},\"loadReferences\":{\"name\":\"loadReferences\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"addReference\":{\"name\":\"addReference\",\"async\":true,\"parameters\":[{\"name\":\"content\",\"type\":\"Content | string\",\"optional\":false},{\"name\":\"options\",\"type\":\"object\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"removeReference\":{\"name\":\"removeReference\",\"async\":true,\"parameters\":[{\"name\":\"targetId\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"getReferences\":{\"name\":\"getReferences\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"getReferenceEdges\":{\"name\":\"getReferenceEdges\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<Array<object>>\",\"isStatic\":false,\"isPublic\":true},\"getReferenceDrift\":{\"name\":\"getReferenceDrift\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<Array<object>>\",\"isStatic\":false,\"isPublic\":true},\"isGoverned\":{\"name\":\"isGoverned\",\"async\":false,\"parameters\":[],\"returnType\":\"boolean\",\"isStatic\":false,\"isPublic\":true},\"getFactLinks\":{\"name\":\"getFactLinks\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"object\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"getFacts\":{\"name\":\"getFacts\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"object\",\"optional\":true}],\"returnType\":\"Promise<Fact[]>\",\"isStatic\":false,\"isPublic\":true},\"addFact\":{\"name\":\"addFact\",\"async\":true,\"parameters\":[{\"name\":\"fact\",\"type\":\"Fact | string\",\"optional\":false},{\"name\":\"relationship\",\"type\":\"FactContentRelationship\",\"optional\":true},{\"name\":\"metadata\",\"type\":\"Record<string>\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"removeFact\":{\"name\":\"removeFact\",\"async\":true,\"parameters\":[{\"name\":\"factId\",\"type\":\"string\",\"optional\":false},{\"name\":\"relationship\",\"type\":\"FactContentRelationship\",\"optional\":true}],\"returnType\":\"Promise<void>\",\"isStatic\":false,\"isPublic\":true},\"syncFacts\":{\"name\":\"syncFacts\",\"async\":true,\"parameters\":[{\"name\":\"factIds\",\"type\":\"string[]\",\"optional\":false},{\"name\":\"relationship\",\"type\":\"FactContentRelationship\",\"optional\":true}],\"returnType\":\"Promise<object>\",\"isStatic\":false,\"isPublic\":true},\"browseFacts\":{\"name\":\"browseFacts\",\"async\":true,\"parameters\":[{\"name\":\"query\",\"type\":\"any\",\"optional\":true,\"default\":\"\"},{\"name\":\"options\",\"type\":\"object\",\"optional\":true}],\"returnType\":\"Promise<Fact[]>\",\"isStatic\":false,\"isPublic\":true},\"repairFactAudit\":{\"name\":\"repairFactAudit\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"object\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"repairFactAuditAction\":{\"name\":\"repairFactAuditAction\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"object\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"repairFactEvidence\":{\"name\":\"repairFactEvidence\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"FactAuditResourceRepairOptions\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"repairFactEvidenceAction\":{\"name\":\"repairFactEvidenceAction\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"FactAuditResourceRepairOptions\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"recheckFactClaims\":{\"name\":\"recheckFactClaims\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"FactAuditClaimRecheckOptions\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"recheckFactClaimsAction\":{\"name\":\"recheckFactClaimsAction\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"FactAuditClaimRecheckOptions\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"updateFactEvidenceStatus\":{\"name\":\"updateFactEvidenceStatus\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"FactEvidenceStatusUpdateOptions\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"updateFactEvidenceStatusAction\":{\"name\":\"updateFactEvidenceStatusAction\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"FactEvidenceStatusUpdateOptions\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"getFactAuditState\":{\"name\":\"getFactAuditState\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<FactAuditState>\",\"isStatic\":false,\"isPublic\":true},\"getFactAuditStateAction\":{\"name\":\"getFactAuditStateAction\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"getFactsState\":{\"name\":\"getFactsState\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"object\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"syncFactsState\":{\"name\":\"syncFactsState\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"object\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"createVersion\":{\"name\":\"createVersion\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"CreateContentVersionOptions\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"getVersions\":{\"name\":\"getVersions\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"restoreFromVersion\":{\"name\":\"restoreFromVersion\",\"async\":true,\"parameters\":[{\"name\":\"versionNumber\",\"type\":\"number\",\"optional\":false}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"getReviews\":{\"name\":\"getReviews\",\"async\":true,\"parameters\":[{\"name\":\"kind\",\"type\":\"any\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"listReviews\":{\"name\":\"listReviews\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"object\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"getReviewRequirements\":{\"name\":\"getReviewRequirements\",\"async\":true,\"parameters\":[{\"name\":\"profileKey\",\"type\":\"string\",\"optional\":false},{\"name\":\"governance\",\"type\":\"ResolvedContentGovernance\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"getGovernanceState\":{\"name\":\"getGovernanceState\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<ContentGovernanceState>\",\"isStatic\":false,\"isPublic\":true},\"getGovernanceStateAction\":{\"name\":\"getGovernanceStateAction\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"listReviewProfilesAction\":{\"name\":\"listReviewProfilesAction\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"evaluateReviewProfile\":{\"name\":\"evaluateReviewProfile\",\"async\":true,\"parameters\":[{\"name\":\"profileKey\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<ContentReviewProfileEvaluation>\",\"isStatic\":false,\"isPublic\":true},\"evaluateReviewProfileAction\":{\"name\":\"evaluateReviewProfileAction\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"object\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"isReadyForReviewProfile\":{\"name\":\"isReadyForReviewProfile\",\"async\":true,\"parameters\":[{\"name\":\"profileKey\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<boolean>\",\"isStatic\":false,\"isPublic\":true},\"getPublishedTransparency\":{\"name\":\"getPublishedTransparency\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"getPublishedTransparencyAction\":{\"name\":\"getPublishedTransparencyAction\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"previewTransparency\":{\"name\":\"previewTransparency\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"previewTransparencyAction\":{\"name\":\"previewTransparencyAction\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"runReview\":{\"name\":\"runReview\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"RunContentReviewOptions\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"runReviewAction\":{\"name\":\"runReviewAction\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"RunContentReviewOptions\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"reviewFacts\":{\"name\":\"reviewFacts\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"Omit<RunContentReviewOptions, 'kind'>\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"reviewSafety\":{\"name\":\"reviewSafety\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"Omit<RunContentReviewOptions, 'kind'>\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"getCorrections\":{\"name\":\"getCorrections\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"listCorrections\":{\"name\":\"listCorrections\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"issueCorrection\":{\"name\":\"issueCorrection\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"IssueContentCorrectionOptions\",\"optional\":false}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"issueCorrectionAction\":{\"name\":\"issueCorrectionAction\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"IssueContentCorrectionOptions\",\"optional\":false}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"listVersions\":{\"name\":\"listVersions\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"mutateVersionAction\":{\"name\":\"mutateVersionAction\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"any\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"getCategorySegments\":{\"name\":\"getCategorySegments\",\"async\":false,\"parameters\":[],\"returnType\":\"string[]\",\"isStatic\":false,\"isPublic\":true},\"getParentCategory\":{\"name\":\"getParentCategory\",\"async\":false,\"parameters\":[],\"returnType\":\"string | null\",\"isStatic\":false,\"isPublic\":true},\"getRootCategory\":{\"name\":\"getRootCategory\",\"async\":false,\"parameters\":[],\"returnType\":\"string | null\",\"isStatic\":false,\"isPublic\":true},\"getAncestorPaths\":{\"name\":\"getAncestorPaths\",\"async\":false,\"parameters\":[],\"returnType\":\"string[]\",\"isStatic\":false,\"isPublic\":true},\"isInCategory\":{\"name\":\"isInCategory\",\"async\":false,\"parameters\":[{\"name\":\"categoryPath\",\"type\":\"string\",\"optional\":false},{\"name\":\"includeChildren\",\"type\":\"any\",\"optional\":true}],\"returnType\":\"boolean\",\"isStatic\":false,\"isPublic\":true},\"getAssets\":{\"name\":\"getAssets\",\"async\":true,\"parameters\":[{\"name\":\"relationship\",\"type\":\"string\",\"optional\":true}],\"returnType\":\"Promise<Asset[]>\",\"isStatic\":false,\"isPublic\":true},\"addAsset\":{\"name\":\"addAsset\",\"async\":true,\"parameters\":[{\"name\":\"asset\",\"type\":\"Asset\",\"optional\":false},{\"name\":\"relationship\",\"type\":\"any\",\"optional\":true,\"default\":\"attachment\"},{\"name\":\"sortOrder\",\"type\":\"any\",\"optional\":true}],\"returnType\":\"Promise<void>\",\"isStatic\":false,\"isPublic\":true},\"removeAsset\":{\"name\":\"removeAsset\",\"async\":true,\"parameters\":[{\"name\":\"assetId\",\"type\":\"string\",\"optional\":false},{\"name\":\"relationship\",\"type\":\"string\",\"optional\":true}],\"returnType\":\"Promise<void>\",\"isStatic\":false,\"isPublic\":true},\"getMetadata\":{\"name\":\"getMetadata\",\"async\":false,\"parameters\":[],\"returnType\":\"Record<string>\",\"isStatic\":false,\"isPublic\":true},\"setMetadata\":{\"name\":\"setMetadata\",\"async\":false,\"parameters\":[{\"name\":\"metadata\",\"type\":\"Record<string> | null | undefined\",\"optional\":false}],\"returnType\":\"void\",\"isStatic\":false,\"isPublic\":true},\"updateMetadata\":{\"name\":\"updateMetadata\",\"async\":false,\"parameters\":[{\"name\":\"patch\",\"type\":\"Partial<Record<string>>\",\"optional\":false}],\"returnType\":\"Record<string>\",\"isStatic\":false,\"isPublic\":true},\"getThumbnail\":{\"name\":\"getThumbnail\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<Image | null>\",\"isStatic\":false,\"isPublic\":true},\"setThumbnail\":{\"name\":\"setThumbnail\",\"async\":true,\"parameters\":[{\"name\":\"image\",\"type\":\"Image\",\"optional\":false}],\"returnType\":\"Promise<void>\",\"isStatic\":false,\"isPublic\":true},\"generateThumbnail\":{\"name\":\"generateThumbnail\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"ThumbnailOptions\",\"optional\":false}],\"returnType\":\"Promise<Image>\",\"isStatic\":false,\"isPublic\":true},\"getWordAtTime\":{\"name\":\"getWordAtTime\",\"async\":false,\"parameters\":[{\"name\":\"seconds\",\"type\":\"number\",\"optional\":false}],\"returnType\":\"WordTiming | null\",\"isStatic\":false,\"isPublic\":true},\"fromSynthesizedSpeech\":{\"name\":\"fromSynthesizedSpeech\",\"async\":false,\"parameters\":[{\"name\":\"options\",\"type\":\"VoiceOutputFromSynthesizedSpeechOptions\",\"optional\":false}],\"returnType\":\"VoiceOutput\",\"isStatic\":true,\"isPublic\":true}},\"decoratorConfig\":{\"tableStrategy\":\"sti\",\"api\":{\"include\":[\"list\",\"get\",\"create\",\"delete\"]},\"mcp\":{\"include\":[\"list\",\"get\"]},\"cli\":true,\"tenantScoped\":{\"mode\":\"optional\"},\"tableName\":\"contents\"},\"extends\":\"Content\",\"exportName\":\"VoiceOutput\",\"collectionExportName\":\"VoiceOutputCollection\",\"validationRules\":[{\"field\":\"name\",\"rule\":\"required\",\"fieldType\":\"text\"}],\"schema\":{\"tableName\":\"contents\",\"ddl\":\"CREATE TABLE IF NOT EXISTS \\\"contents\\\" (\\n \\\"id\\\" UUID PRIMARY KEY NOT NULL,\\n \\\"slug\\\" TEXT NOT NULL,\\n \\\"context\\\" TEXT NOT NULL DEFAULT '',\\n \\\"_meta_type\\\" TEXT NOT NULL,\\n \\\"_meta_data\\\" JSON,\\n \\\"created_at\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\\"updated_at\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\\"tenant_id\\\" UUID,\\n \\\"type\\\" TEXT,\\n \\\"variant\\\" TEXT,\\n \\\"file_key\\\" TEXT,\\n \\\"author\\\" TEXT,\\n \\\"name\\\" TEXT DEFAULT '',\\n \\\"title\\\" TEXT,\\n \\\"description\\\" TEXT,\\n \\\"body\\\" TEXT,\\n \\\"body_format\\\" TEXT,\\n \\\"publish_date\\\" TIMESTAMP,\\n \\\"url\\\" TEXT,\\n \\\"source\\\" TEXT,\\n \\\"original_url\\\" TEXT,\\n \\\"language\\\" TEXT,\\n \\\"tags\\\" JSON DEFAULT '[]',\\n \\\"category\\\" TEXT,\\n \\\"status\\\" TEXT DEFAULT 'draft',\\n \\\"state\\\" TEXT DEFAULT 'active',\\n \\\"metadata\\\" JSON DEFAULT '{}',\\n \\\"thumbnail_asset_id\\\" UUID,\\n \\\"voice_profile_id\\\" UUID,\\n \\\"source_text\\\" TEXT DEFAULT '',\\n \\\"audio_asset_id\\\" UUID,\\n \\\"duration\\\" INTEGER DEFAULT 0,\\n \\\"word_timings\\\" JSON DEFAULT '[]',\\n \\\"audio_metadata\\\" JSON,\\n \\\"feed_source_id\\\" UUID,\\n \\\"source_guid\\\" TEXT,\\n \\\"source_name\\\" TEXT,\\n \\\"source_homepage_url\\\" TEXT,\\n \\\"external_url\\\" TEXT,\\n \\\"original_published_at\\\" TIMESTAMP,\\n \\\"dedupe_key\\\" TEXT\\n);\",\"columns\":{\"id\":{\"type\":\"UUID\",\"primaryKey\":true,\"referenceKind\":\"id\",\"notNull\":true},\"slug\":{\"type\":\"TEXT\",\"notNull\":true},\"context\":{\"type\":\"TEXT\",\"notNull\":true,\"default\":\"\"},\"_meta_type\":{\"type\":\"TEXT\",\"notNull\":true},\"_meta_data\":{\"type\":\"JSON\",\"notNull\":false},\"created_at\":{\"type\":\"TIMESTAMP\",\"notNull\":true,\"default\":\"current_timestamp\"},\"updated_at\":{\"type\":\"TIMESTAMP\",\"notNull\":true,\"default\":\"current_timestamp\"},\"tenant_id\":{\"type\":\"UUID\",\"referenceKind\":\"tenantId\",\"notNull\":false},\"type\":{\"type\":\"TEXT\",\"notNull\":false},\"variant\":{\"type\":\"TEXT\",\"notNull\":false},\"file_key\":{\"type\":\"TEXT\",\"notNull\":false},\"author\":{\"type\":\"TEXT\",\"notNull\":false},\"name\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"\"},\"title\":{\"type\":\"TEXT\",\"notNull\":false},\"description\":{\"type\":\"TEXT\",\"notNull\":false},\"body\":{\"type\":\"TEXT\",\"notNull\":false},\"body_format\":{\"type\":\"TEXT\",\"notNull\":false},\"publish_date\":{\"type\":\"TIMESTAMP\",\"notNull\":false},\"url\":{\"type\":\"TEXT\",\"notNull\":false},\"source\":{\"type\":\"TEXT\",\"notNull\":false},\"original_url\":{\"type\":\"TEXT\",\"notNull\":false},\"language\":{\"type\":\"TEXT\",\"notNull\":false},\"tags\":{\"type\":\"JSON\",\"notNull\":false,\"default\":[]},\"category\":{\"type\":\"TEXT\",\"notNull\":false},\"status\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"draft\"},\"state\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"active\"},\"metadata\":{\"type\":\"JSON\",\"notNull\":false,\"default\":{}},\"thumbnail_asset_id\":{\"type\":\"UUID\",\"referenceKind\":\"crossPackageRef\",\"notNull\":false},\"voice_profile_id\":{\"type\":\"UUID\",\"referenceKind\":\"foreignKey\",\"notNull\":false,\"foreignKey\":{\"table\":\"voice_profiles\",\"column\":\"id\",\"onDelete\":\"NO ACTION\",\"onUpdate\":\"CASCADE\"}},\"source_text\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"\"},\"audio_asset_id\":{\"type\":\"UUID\",\"referenceKind\":\"crossPackageRef\",\"notNull\":false},\"duration\":{\"type\":\"INTEGER\",\"notNull\":false,\"default\":0},\"word_timings\":{\"type\":\"JSON\",\"notNull\":false,\"default\":[]},\"audio_metadata\":{\"type\":\"JSON\",\"notNull\":false},\"feed_source_id\":{\"type\":\"UUID\",\"referenceKind\":\"foreignKey\",\"notNull\":false},\"source_guid\":{\"type\":\"TEXT\",\"notNull\":false},\"source_name\":{\"type\":\"TEXT\",\"notNull\":false},\"source_homepage_url\":{\"type\":\"TEXT\",\"notNull\":false},\"external_url\":{\"type\":\"TEXT\",\"notNull\":false},\"original_published_at\":{\"type\":\"TIMESTAMP\",\"notNull\":false},\"dedupe_key\":{\"type\":\"TEXT\",\"notNull\":false}},\"indexes\":[{\"name\":\"contents_slug_context_meta_type_idx\",\"columns\":[\"tenant_id\",\"slug\",\"context\",\"_meta_type\"],\"unique\":true},{\"name\":\"contents_meta_type_idx\",\"columns\":[\"_meta_type\"]},{\"name\":\"contents_tenant_id_publish_date_idx\",\"columns\":[\"tenant_id\",\"publish_date\"]},{\"name\":\"contents_tenant_id_created_at_idx\",\"columns\":[\"tenant_id\",\"created_at\"]},{\"name\":\"contents_thumbnail_asset_id_idx\",\"columns\":[\"thumbnail_asset_id\"]},{\"name\":\"contents_voice_profile_id_idx\",\"columns\":[\"voice_profile_id\"]},{\"name\":\"contents_audio_asset_id_idx\",\"columns\":[\"audio_asset_id\"]},{\"name\":\"contents_feed_source_id_idx\",\"columns\":[\"feed_source_id\"]}],\"version\":\"ee1272af\"}},\"@happyvertical/smrt-voice:VoiceProfile\":{\"name\":\"voiceprofile\",\"className\":\"VoiceProfile\",\"qualifiedName\":\"@happyvertical/smrt-voice:VoiceProfile\",\"collection\":\"voiceprofiles\",\"filePath\":\"/home/runner/work/smrt/smrt/packages/voice/src/voice-profile.ts\",\"packageName\":\"@happyvertical/smrt-voice\",\"fields\":{\"created_at\":{\"type\":\"datetime\",\"required\":false},\"updated_at\":{\"type\":\"datetime\",\"required\":false},\"tenantId\":{\"type\":\"text\",\"required\":false,\"_meta\":{\"sqlType\":\"UUID\",\"nullable\":true,\"__tenancy\":{\"isTenantIdField\":true,\"autoFilter\":true,\"required\":false,\"autoPopulate\":true,\"nullable\":true,\"mode\":\"optional\",\"field\":\"tenantId\",\"allowSuperAdminBypass\":false}}},\"name\":{\"type\":\"text\",\"required\":false,\"default\":\"\"},\"description\":{\"type\":\"text\",\"required\":false},\"language\":{\"type\":\"text\",\"required\":false,\"default\":\"en-US\"},\"gender\":{\"type\":\"text\",\"required\":false,\"default\":\"neutral\"},\"designPrompt\":{\"type\":\"text\",\"required\":false},\"sampleAssetId\":{\"type\":\"crossPackageRef\",\"required\":false,\"related\":\"@happyvertical/smrt-assets:Asset\"},\"voiceData\":{\"type\":\"json\",\"required\":false,\"default\":{}},\"defaultSpeed\":{\"type\":\"decimal\",\"required\":false,\"default\":1},\"defaultPitch\":{\"type\":\"integer\",\"required\":false,\"default\":0},\"status\":{\"type\":\"text\",\"required\":false,\"default\":\"pending\"},\"provider\":{\"type\":\"text\",\"required\":false,\"default\":\"qwen3-tts\"},\"errorMessage\":{\"type\":\"text\",\"required\":false}},\"methods\":{\"toSpeechVoice\":{\"name\":\"toSpeechVoice\",\"async\":false,\"parameters\":[],\"returnType\":\"SpeechVoice\",\"isStatic\":false,\"isPublic\":true}},\"decoratorConfig\":{\"tableStrategy\":\"sti\",\"api\":{\"include\":[\"list\",\"get\",\"create\",\"update\",\"delete\"]},\"mcp\":{\"include\":[\"list\",\"get\"]},\"cli\":{\"skipApiCheck\":true},\"tenantScoped\":{\"mode\":\"optional\"},\"conflictColumns\":[\"tenant_id\",\"slug\",\"context\",\"_meta_type\"]},\"extends\":\"SmrtObject\",\"exportName\":\"VoiceProfile\",\"collectionExportName\":\"VoiceProfileCollection\",\"schema\":{\"tableName\":\"voice_profiles\",\"ddl\":\"CREATE TABLE IF NOT EXISTS \\\"voice_profiles\\\" (\\n \\\"id\\\" UUID PRIMARY KEY NOT NULL,\\n \\\"slug\\\" TEXT NOT NULL,\\n \\\"context\\\" TEXT NOT NULL DEFAULT '',\\n \\\"_meta_type\\\" TEXT NOT NULL,\\n \\\"_meta_data\\\" JSON,\\n \\\"created_at\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\\"updated_at\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\\"tenant_id\\\" UUID,\\n \\\"name\\\" TEXT DEFAULT '',\\n \\\"description\\\" TEXT,\\n \\\"language\\\" TEXT DEFAULT 'en-US',\\n \\\"gender\\\" TEXT DEFAULT 'neutral',\\n \\\"design_prompt\\\" TEXT,\\n \\\"sample_asset_id\\\" UUID,\\n \\\"voice_data\\\" JSON DEFAULT '{}',\\n \\\"default_speed\\\" REAL DEFAULT 1,\\n \\\"default_pitch\\\" INTEGER DEFAULT 0,\\n \\\"status\\\" TEXT DEFAULT 'pending',\\n \\\"provider\\\" TEXT DEFAULT 'qwen3-tts',\\n \\\"error_message\\\" TEXT\\n);\",\"columns\":{\"id\":{\"type\":\"UUID\",\"primaryKey\":true,\"referenceKind\":\"id\",\"notNull\":true},\"slug\":{\"type\":\"TEXT\",\"notNull\":true},\"context\":{\"type\":\"TEXT\",\"notNull\":true,\"default\":\"\"},\"_meta_type\":{\"type\":\"TEXT\",\"notNull\":true},\"_meta_data\":{\"type\":\"JSON\",\"notNull\":false},\"created_at\":{\"type\":\"TIMESTAMP\",\"notNull\":true,\"default\":\"current_timestamp\"},\"updated_at\":{\"type\":\"TIMESTAMP\",\"notNull\":true,\"default\":\"current_timestamp\"},\"tenant_id\":{\"type\":\"UUID\",\"referenceKind\":\"tenantId\",\"notNull\":false},\"name\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"\"},\"description\":{\"type\":\"TEXT\",\"notNull\":false},\"language\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"en-US\"},\"gender\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"neutral\"},\"design_prompt\":{\"type\":\"TEXT\",\"notNull\":false},\"sample_asset_id\":{\"type\":\"UUID\",\"referenceKind\":\"crossPackageRef\",\"notNull\":false},\"voice_data\":{\"type\":\"JSON\",\"notNull\":false,\"default\":{}},\"default_speed\":{\"type\":\"REAL\",\"notNull\":false,\"default\":1},\"default_pitch\":{\"type\":\"INTEGER\",\"notNull\":false,\"default\":0},\"status\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"pending\"},\"provider\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"qwen3-tts\"},\"error_message\":{\"type\":\"TEXT\",\"notNull\":false}},\"indexes\":[{\"name\":\"voice_profiles_slug_context_meta_type_idx\",\"columns\":[\"tenant_id\",\"slug\",\"context\",\"_meta_type\"],\"unique\":true},{\"name\":\"voice_profiles_meta_type_idx\",\"columns\":[\"_meta_type\"]},{\"name\":\"voice_profiles_tenant_id_created_at_idx\",\"columns\":[\"tenant_id\",\"created_at\"]},{\"name\":\"voice_profiles_sample_asset_id_idx\",\"columns\":[\"sample_asset_id\"]}],\"version\":\"b3717c47\"}},\"@happyvertical/smrt-voice:VoiceSample\":{\"name\":\"voicesample\",\"className\":\"VoiceSample\",\"qualifiedName\":\"@happyvertical/smrt-voice:VoiceSample\",\"collection\":\"voicesamples\",\"filePath\":\"/home/runner/work/smrt/smrt/packages/voice/src/voice-sample.ts\",\"packageName\":\"@happyvertical/smrt-voice\",\"fields\":{\"created_at\":{\"type\":\"datetime\",\"required\":false},\"updated_at\":{\"type\":\"datetime\",\"required\":false},\"tenantId\":{\"type\":\"text\",\"required\":false,\"_meta\":{\"sqlType\":\"UUID\",\"nullable\":true,\"__tenancy\":{\"isTenantIdField\":true,\"autoFilter\":true,\"required\":false,\"autoPopulate\":true,\"nullable\":true,\"mode\":\"optional\",\"field\":\"tenantId\",\"allowSuperAdminBypass\":false}}},\"voiceProfileId\":{\"type\":\"foreignKey\",\"required\":false,\"related\":\"VoiceProfile\"},\"assetId\":{\"type\":\"crossPackageRef\",\"required\":false,\"related\":\"@happyvertical/smrt-assets:Asset\"},\"duration\":{\"type\":\"integer\",\"required\":false,\"default\":0},\"transcription\":{\"type\":\"text\",\"required\":false},\"quality\":{\"type\":\"text\",\"required\":false,\"default\":\"medium\"},\"sampleRate\":{\"type\":\"integer\",\"required\":false},\"channels\":{\"type\":\"integer\",\"required\":false},\"format\":{\"type\":\"text\",\"required\":false},\"isPrimary\":{\"type\":\"boolean\",\"required\":false,\"default\":false}},\"methods\":{},\"decoratorConfig\":{\"tableStrategy\":\"sti\",\"api\":{\"include\":[\"list\",\"get\",\"create\",\"delete\"]},\"mcp\":{\"include\":[\"list\",\"get\"]},\"cli\":true,\"tenantScoped\":{\"mode\":\"optional\"},\"conflictColumns\":[\"tenant_id\",\"slug\",\"context\",\"_meta_type\"]},\"extends\":\"SmrtObject\",\"exportName\":\"VoiceSample\",\"collectionExportName\":\"VoiceSampleCollection\",\"schema\":{\"tableName\":\"voice_samples\",\"ddl\":\"CREATE TABLE IF NOT EXISTS \\\"voice_samples\\\" (\\n \\\"id\\\" UUID PRIMARY KEY NOT NULL,\\n \\\"slug\\\" TEXT NOT NULL,\\n \\\"context\\\" TEXT NOT NULL DEFAULT '',\\n \\\"_meta_type\\\" TEXT NOT NULL,\\n \\\"_meta_data\\\" JSON,\\n \\\"created_at\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\\"updated_at\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\\"tenant_id\\\" UUID,\\n \\\"voice_profile_id\\\" UUID,\\n \\\"asset_id\\\" UUID,\\n \\\"duration\\\" INTEGER DEFAULT 0,\\n \\\"transcription\\\" TEXT,\\n \\\"quality\\\" TEXT DEFAULT 'medium',\\n \\\"sample_rate\\\" INTEGER,\\n \\\"channels\\\" INTEGER,\\n \\\"format\\\" TEXT,\\n \\\"is_primary\\\" BOOLEAN DEFAULT FALSE\\n);\",\"columns\":{\"id\":{\"type\":\"UUID\",\"primaryKey\":true,\"referenceKind\":\"id\",\"notNull\":true},\"slug\":{\"type\":\"TEXT\",\"notNull\":true},\"context\":{\"type\":\"TEXT\",\"notNull\":true,\"default\":\"\"},\"_meta_type\":{\"type\":\"TEXT\",\"notNull\":true},\"_meta_data\":{\"type\":\"JSON\",\"notNull\":false},\"created_at\":{\"type\":\"TIMESTAMP\",\"notNull\":true,\"default\":\"current_timestamp\"},\"updated_at\":{\"type\":\"TIMESTAMP\",\"notNull\":true,\"default\":\"current_timestamp\"},\"tenant_id\":{\"type\":\"UUID\",\"referenceKind\":\"tenantId\",\"notNull\":false},\"voice_profile_id\":{\"type\":\"UUID\",\"referenceKind\":\"foreignKey\",\"notNull\":false,\"foreignKey\":{\"table\":\"voice_profiles\",\"column\":\"id\",\"onDelete\":\"NO ACTION\",\"onUpdate\":\"CASCADE\"}},\"asset_id\":{\"type\":\"UUID\",\"referenceKind\":\"crossPackageRef\",\"notNull\":false},\"duration\":{\"type\":\"INTEGER\",\"notNull\":false,\"default\":0},\"transcription\":{\"type\":\"TEXT\",\"notNull\":false},\"quality\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"medium\"},\"sample_rate\":{\"type\":\"INTEGER\",\"notNull\":false},\"channels\":{\"type\":\"INTEGER\",\"notNull\":false},\"format\":{\"type\":\"TEXT\",\"notNull\":false},\"is_primary\":{\"type\":\"BOOLEAN\",\"notNull\":false,\"default\":false}},\"indexes\":[{\"name\":\"voice_samples_slug_context_meta_type_idx\",\"columns\":[\"tenant_id\",\"slug\",\"context\",\"_meta_type\"],\"unique\":true},{\"name\":\"voice_samples_meta_type_idx\",\"columns\":[\"_meta_type\"]},{\"name\":\"voice_samples_tenant_id_created_at_idx\",\"columns\":[\"tenant_id\",\"created_at\"]},{\"name\":\"voice_samples_voice_profile_id_idx\",\"columns\":[\"voice_profile_id\"]},{\"name\":\"voice_samples_asset_id_idx\",\"columns\":[\"asset_id\"]}],\"version\":\"cbb4acc4\"}}},\"moduleType\":\"smrt\",\"smrtDependencies\":[\"@happyvertical/smrt-assets\",\"@happyvertical/smrt-content\",\"@happyvertical/smrt-core\",\"@happyvertical/smrt-tenancy\"]}"));
5
+ ObjectRegistry.registerPackageManifest(JSON.parse("{\"version\":\"1.0.0\",\"timestamp\":0,\"packageName\":\"@happyvertical/smrt-voice\",\"packageVersion\":\"0.47.1\",\"objects\":{\"@happyvertical/smrt-voice:VoiceOutput\":{\"name\":\"voiceoutput\",\"className\":\"VoiceOutput\",\"qualifiedName\":\"@happyvertical/smrt-voice:VoiceOutput\",\"collection\":\"contents\",\"filePath\":\"/home/runner/work/smrt/smrt/packages/voice/src/voice-output.ts\",\"packageName\":\"@happyvertical/smrt-voice\",\"fields\":{\"created_at\":{\"type\":\"datetime\",\"required\":false},\"updated_at\":{\"type\":\"datetime\",\"required\":false},\"tenantId\":{\"type\":\"text\",\"required\":false,\"_meta\":{\"generated\":true,\"source\":\"tenantScoped_decorator\",\"sqlType\":\"UUID\",\"__tenancy\":{\"isTenantIdField\":true,\"mode\":\"optional\",\"field\":\"tenantId\",\"autoFilter\":true,\"autoPopulate\":true,\"allowSuperAdminBypass\":false}}},\"type\":{\"type\":\"text\",\"required\":false},\"variant\":{\"type\":\"text\",\"required\":false},\"fileKey\":{\"type\":\"text\",\"required\":false},\"author\":{\"type\":\"text\",\"required\":false},\"name\":{\"type\":\"text\",\"required\":true,\"default\":\"\",\"_meta\":{\"required\":true}},\"title\":{\"type\":\"text\",\"required\":false},\"description\":{\"type\":\"text\",\"required\":false},\"body\":{\"type\":\"text\",\"required\":false},\"bodyFormat\":{\"type\":\"text\",\"required\":false},\"publish_date\":{\"type\":\"datetime\",\"required\":false},\"url\":{\"type\":\"text\",\"required\":false},\"source\":{\"type\":\"text\",\"required\":false},\"original_url\":{\"type\":\"text\",\"required\":false},\"language\":{\"type\":\"text\",\"required\":false},\"tags\":{\"type\":\"json\",\"required\":false,\"default\":[]},\"category\":{\"type\":\"text\",\"required\":false},\"status\":{\"type\":\"text\",\"required\":false,\"default\":\"draft\"},\"state\":{\"type\":\"text\",\"required\":false,\"default\":\"active\"},\"metadata\":{\"type\":\"json\",\"required\":false,\"default\":{}},\"thumbnailAssetId\":{\"type\":\"crossPackageRef\",\"required\":false,\"related\":\"@happyvertical/smrt-assets:Asset\"},\"voiceProfileId\":{\"type\":\"foreignKey\",\"required\":false,\"related\":\"VoiceProfile\"},\"sourceText\":{\"type\":\"text\",\"required\":false,\"default\":\"\"},\"audioAssetId\":{\"type\":\"crossPackageRef\",\"required\":false,\"related\":\"@happyvertical/smrt-assets:Asset\"},\"duration\":{\"type\":\"integer\",\"required\":false,\"default\":0},\"wordTimings\":{\"type\":\"json\",\"required\":false,\"default\":[]},\"audioMetadata\":{\"type\":\"json\",\"required\":false}},\"methods\":{\"initialize\":{\"name\":\"initialize\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<this>\",\"isStatic\":false,\"isPublic\":true},\"save\":{\"name\":\"save\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"SmrtSaveOptions\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"resolveGovernance\":{\"name\":\"resolveGovernance\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<ResolvedContentGovernance>\",\"isStatic\":false,\"isPublic\":true},\"loadReferences\":{\"name\":\"loadReferences\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"addReference\":{\"name\":\"addReference\",\"async\":true,\"parameters\":[{\"name\":\"content\",\"type\":\"Content | string\",\"optional\":false,\"unionBranches\":[{\"type\":\"Content\"},{\"type\":\"string\"}]},{\"name\":\"options\",\"type\":\"object\",\"optional\":true,\"memberTypes\":[\"number | null\"]}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"removeReference\":{\"name\":\"removeReference\",\"async\":true,\"parameters\":[{\"name\":\"targetId\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"getReferences\":{\"name\":\"getReferences\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"getReferenceEdges\":{\"name\":\"getReferenceEdges\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<Array<object>>\",\"isStatic\":false,\"isPublic\":true},\"getReferenceDrift\":{\"name\":\"getReferenceDrift\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<Array<object>>\",\"isStatic\":false,\"isPublic\":true},\"isGoverned\":{\"name\":\"isGoverned\",\"async\":false,\"parameters\":[],\"returnType\":\"boolean\",\"isStatic\":false,\"isPublic\":true},\"getFactLinks\":{\"name\":\"getFactLinks\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"object\",\"optional\":true,\"memberTypes\":[\"FactContentRelationship\"]}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"getFacts\":{\"name\":\"getFacts\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"object\",\"optional\":true,\"memberTypes\":[\"FactContentRelationship\",\"boolean\"]}],\"returnType\":\"Promise<Fact[]>\",\"isStatic\":false,\"isPublic\":true},\"addFact\":{\"name\":\"addFact\",\"async\":true,\"parameters\":[{\"name\":\"fact\",\"type\":\"Fact | string\",\"optional\":false,\"unionBranches\":[{\"type\":\"Fact\"},{\"type\":\"string\"}]},{\"name\":\"relationship\",\"type\":\"FactContentRelationship\",\"optional\":true},{\"name\":\"metadata\",\"type\":\"Record<string, unknown>\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"removeFact\":{\"name\":\"removeFact\",\"async\":true,\"parameters\":[{\"name\":\"factId\",\"type\":\"string\",\"optional\":false},{\"name\":\"relationship\",\"type\":\"FactContentRelationship\",\"optional\":true}],\"returnType\":\"Promise<void>\",\"isStatic\":false,\"isPublic\":true},\"syncFacts\":{\"name\":\"syncFacts\",\"async\":true,\"parameters\":[{\"name\":\"factIds\",\"type\":\"string[]\",\"optional\":false},{\"name\":\"relationship\",\"type\":\"FactContentRelationship\",\"optional\":true}],\"returnType\":\"Promise<object>\",\"isStatic\":false,\"isPublic\":true},\"browseFacts\":{\"name\":\"browseFacts\",\"async\":true,\"parameters\":[{\"name\":\"query\",\"type\":\"any\",\"optional\":true,\"default\":\"\"},{\"name\":\"options\",\"type\":\"object\",\"optional\":true,\"memberTypes\":[\"number\",\"boolean\"]}],\"returnType\":\"Promise<Fact[]>\",\"isStatic\":false,\"isPublic\":true},\"repairFactAudit\":{\"name\":\"repairFactAudit\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"object\",\"optional\":true,\"memberTypes\":[\"number\",\"string\"]}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"repairFactAuditAction\":{\"name\":\"repairFactAuditAction\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"object\",\"optional\":true,\"memberTypes\":[\"number\",\"string\"]}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"repairFactEvidence\":{\"name\":\"repairFactEvidence\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"FactAuditResourceRepairOptions\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"repairFactEvidenceAction\":{\"name\":\"repairFactEvidenceAction\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"FactAuditResourceRepairOptions\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"recheckFactClaims\":{\"name\":\"recheckFactClaims\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"FactAuditClaimRecheckOptions\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"recheckFactClaimsAction\":{\"name\":\"recheckFactClaimsAction\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"FactAuditClaimRecheckOptions\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"updateFactEvidenceStatus\":{\"name\":\"updateFactEvidenceStatus\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"FactEvidenceStatusUpdateOptions\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"updateFactEvidenceStatusAction\":{\"name\":\"updateFactEvidenceStatusAction\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"FactEvidenceStatusUpdateOptions\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"getFactAuditState\":{\"name\":\"getFactAuditState\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<FactAuditState>\",\"isStatic\":false,\"isPublic\":true},\"getFactAuditStateAction\":{\"name\":\"getFactAuditStateAction\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"getFactsState\":{\"name\":\"getFactsState\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"object\",\"optional\":true,\"memberTypes\":[\"FactContentRelationship\"]}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"syncFactsState\":{\"name\":\"syncFactsState\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"object\",\"optional\":true,\"memberTypes\":[\"string[]\",\"FactContentRelationship\"]}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"createVersion\":{\"name\":\"createVersion\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"CreateContentVersionOptions\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"getVersions\":{\"name\":\"getVersions\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"restoreFromVersion\":{\"name\":\"restoreFromVersion\",\"async\":true,\"parameters\":[{\"name\":\"versionNumber\",\"type\":\"number\",\"optional\":false}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"getReviews\":{\"name\":\"getReviews\",\"async\":true,\"parameters\":[{\"name\":\"kind\",\"type\":\"any\",\"optional\":true,\"typeUnresolved\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"listReviews\":{\"name\":\"listReviews\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"object\",\"optional\":true,\"typeUnresolved\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"getReviewRequirements\":{\"name\":\"getReviewRequirements\",\"async\":true,\"parameters\":[{\"name\":\"profileKey\",\"type\":\"string\",\"optional\":false},{\"name\":\"governance\",\"type\":\"ResolvedContentGovernance\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"getGovernanceState\":{\"name\":\"getGovernanceState\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<ContentGovernanceState>\",\"isStatic\":false,\"isPublic\":true},\"getGovernanceStateAction\":{\"name\":\"getGovernanceStateAction\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"listReviewProfilesAction\":{\"name\":\"listReviewProfilesAction\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"evaluateReviewProfile\":{\"name\":\"evaluateReviewProfile\",\"async\":true,\"parameters\":[{\"name\":\"profileKey\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<ContentReviewProfileEvaluation>\",\"isStatic\":false,\"isPublic\":true},\"evaluateReviewProfileAction\":{\"name\":\"evaluateReviewProfileAction\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"object\",\"optional\":true,\"memberTypes\":[\"string\"]}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"isReadyForReviewProfile\":{\"name\":\"isReadyForReviewProfile\",\"async\":true,\"parameters\":[{\"name\":\"profileKey\",\"type\":\"string\",\"optional\":false}],\"returnType\":\"Promise<boolean>\",\"isStatic\":false,\"isPublic\":true},\"getPublishedTransparency\":{\"name\":\"getPublishedTransparency\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"getPublishedTransparencyAction\":{\"name\":\"getPublishedTransparencyAction\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"previewTransparency\":{\"name\":\"previewTransparency\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"previewTransparencyAction\":{\"name\":\"previewTransparencyAction\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"runReview\":{\"name\":\"runReview\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"RunContentReviewOptions\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"runReviewAction\":{\"name\":\"runReviewAction\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"RunContentReviewOptions\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"reviewFacts\":{\"name\":\"reviewFacts\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"Omit<RunContentReviewOptions, 'kind'>\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"reviewSafety\":{\"name\":\"reviewSafety\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"Omit<RunContentReviewOptions, 'kind'>\",\"optional\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"getCorrections\":{\"name\":\"getCorrections\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"listCorrections\":{\"name\":\"listCorrections\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"issueCorrection\":{\"name\":\"issueCorrection\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"IssueContentCorrectionOptions\",\"optional\":false}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"issueCorrectionAction\":{\"name\":\"issueCorrectionAction\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"IssueContentCorrectionOptions\",\"optional\":false}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"listVersions\":{\"name\":\"listVersions\",\"async\":true,\"parameters\":[],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"mutateVersionAction\":{\"name\":\"mutateVersionAction\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"any\",\"optional\":true,\"typeUnresolved\":true}],\"returnType\":\"any\",\"isStatic\":false,\"isPublic\":true},\"getCategorySegments\":{\"name\":\"getCategorySegments\",\"async\":false,\"parameters\":[],\"returnType\":\"string[]\",\"isStatic\":false,\"isPublic\":true},\"getParentCategory\":{\"name\":\"getParentCategory\",\"async\":false,\"parameters\":[],\"returnType\":\"string | null\",\"isStatic\":false,\"isPublic\":true},\"getRootCategory\":{\"name\":\"getRootCategory\",\"async\":false,\"parameters\":[],\"returnType\":\"string | null\",\"isStatic\":false,\"isPublic\":true},\"getAncestorPaths\":{\"name\":\"getAncestorPaths\",\"async\":false,\"parameters\":[],\"returnType\":\"string[]\",\"isStatic\":false,\"isPublic\":true},\"isInCategory\":{\"name\":\"isInCategory\",\"async\":false,\"parameters\":[{\"name\":\"categoryPath\",\"type\":\"string\",\"optional\":false},{\"name\":\"includeChildren\",\"type\":\"any\",\"optional\":true}],\"returnType\":\"boolean\",\"isStatic\":false,\"isPublic\":true},\"getAssets\":{\"name\":\"getAssets\",\"async\":true,\"parameters\":[{\"name\":\"relationship\",\"type\":\"string\",\"optional\":true}],\"returnType\":\"Promise<Asset[]>\",\"isStatic\":false,\"isPublic\":true},\"addAsset\":{\"name\":\"addAsset\",\"async\":true,\"parameters\":[{\"name\":\"asset\",\"type\":\"Asset\",\"optional\":false},{\"name\":\"relationship\",\"type\":\"any\",\"optional\":true,\"default\":\"attachment\"},{\"name\":\"sortOrder\",\"type\":\"any\",\"optional\":true}],\"returnType\":\"Promise<void>\",\"isStatic\":false,\"isPublic\":true},\"removeAsset\":{\"name\":\"removeAsset\",\"async\":true,\"parameters\":[{\"name\":\"assetId\",\"type\":\"string\",\"optional\":false},{\"name\":\"relationship\",\"type\":\"string\",\"optional\":true}],\"returnType\":\"Promise<void>\",\"isStatic\":false,\"isPublic\":true},\"getMetadata\":{\"name\":\"getMetadata\",\"async\":false,\"parameters\":[],\"returnType\":\"Record<string, unknown>\",\"isStatic\":false,\"isPublic\":true},\"setMetadata\":{\"name\":\"setMetadata\",\"async\":false,\"parameters\":[{\"name\":\"metadata\",\"type\":\"Record<string, unknown> | null | undefined\",\"optional\":false,\"unionBranches\":[{\"type\":\"Record<string, unknown>\"},{\"type\":\"null\"},{\"type\":\"undefined\"}]}],\"returnType\":\"void\",\"isStatic\":false,\"isPublic\":true},\"updateMetadata\":{\"name\":\"updateMetadata\",\"async\":false,\"parameters\":[{\"name\":\"patch\",\"type\":\"Partial<Record<string, unknown>>\",\"optional\":false}],\"returnType\":\"Record<string, unknown>\",\"isStatic\":false,\"isPublic\":true},\"getThumbnail\":{\"name\":\"getThumbnail\",\"async\":true,\"parameters\":[],\"returnType\":\"Promise<Image | null>\",\"isStatic\":false,\"isPublic\":true},\"setThumbnail\":{\"name\":\"setThumbnail\",\"async\":true,\"parameters\":[{\"name\":\"image\",\"type\":\"Image\",\"optional\":false}],\"returnType\":\"Promise<void>\",\"isStatic\":false,\"isPublic\":true},\"generateThumbnail\":{\"name\":\"generateThumbnail\",\"async\":true,\"parameters\":[{\"name\":\"options\",\"type\":\"ThumbnailOptions\",\"optional\":false}],\"returnType\":\"Promise<Image>\",\"isStatic\":false,\"isPublic\":true},\"getWordAtTime\":{\"name\":\"getWordAtTime\",\"async\":false,\"parameters\":[{\"name\":\"seconds\",\"type\":\"number\",\"optional\":false}],\"returnType\":\"WordTiming | null\",\"isStatic\":false,\"isPublic\":true},\"fromSynthesizedSpeech\":{\"name\":\"fromSynthesizedSpeech\",\"async\":false,\"parameters\":[{\"name\":\"options\",\"type\":\"VoiceOutputFromSynthesizedSpeechOptions\",\"optional\":false}],\"returnType\":\"VoiceOutput\",\"isStatic\":true,\"isPublic\":true}},\"decoratorConfig\":{\"tableStrategy\":\"sti\",\"api\":{\"include\":[\"list\",\"get\",\"create\",\"delete\"]},\"mcp\":{\"include\":[\"list\",\"get\"]},\"cli\":true,\"tenantScoped\":{\"mode\":\"optional\"},\"tableName\":\"contents\"},\"extends\":\"Content\",\"exportName\":\"VoiceOutput\",\"collectionExportName\":\"VoiceOutputCollection\",\"validationRules\":[{\"field\":\"name\",\"rule\":\"required\",\"fieldType\":\"text\"}],\"schema\":{\"tableName\":\"contents\",\"ddl\":\"CREATE TABLE IF NOT EXISTS \\\"contents\\\" (\\n \\\"id\\\" UUID PRIMARY KEY NOT NULL,\\n \\\"slug\\\" TEXT NOT NULL,\\n \\\"context\\\" TEXT NOT NULL DEFAULT '',\\n \\\"_meta_type\\\" TEXT NOT NULL,\\n \\\"_meta_data\\\" JSON,\\n \\\"created_at\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\\"updated_at\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\\"tenant_id\\\" UUID,\\n \\\"type\\\" TEXT,\\n \\\"variant\\\" TEXT,\\n \\\"file_key\\\" TEXT,\\n \\\"author\\\" TEXT,\\n \\\"name\\\" TEXT DEFAULT '',\\n \\\"title\\\" TEXT,\\n \\\"description\\\" TEXT,\\n \\\"body\\\" TEXT,\\n \\\"body_format\\\" TEXT,\\n \\\"publish_date\\\" TIMESTAMP,\\n \\\"url\\\" TEXT,\\n \\\"source\\\" TEXT,\\n \\\"original_url\\\" TEXT,\\n \\\"language\\\" TEXT,\\n \\\"tags\\\" JSON DEFAULT '[]',\\n \\\"category\\\" TEXT,\\n \\\"status\\\" TEXT DEFAULT 'draft',\\n \\\"state\\\" TEXT DEFAULT 'active',\\n \\\"metadata\\\" JSON DEFAULT '{}',\\n \\\"thumbnail_asset_id\\\" UUID,\\n \\\"voice_profile_id\\\" UUID,\\n \\\"source_text\\\" TEXT DEFAULT '',\\n \\\"audio_asset_id\\\" UUID,\\n \\\"duration\\\" INTEGER DEFAULT 0,\\n \\\"word_timings\\\" JSON DEFAULT '[]',\\n \\\"audio_metadata\\\" JSON,\\n \\\"feed_source_id\\\" UUID,\\n \\\"source_guid\\\" TEXT,\\n \\\"source_name\\\" TEXT,\\n \\\"source_homepage_url\\\" TEXT,\\n \\\"external_url\\\" TEXT,\\n \\\"original_published_at\\\" TIMESTAMP,\\n \\\"dedupe_key\\\" TEXT\\n);\",\"columns\":{\"id\":{\"type\":\"UUID\",\"primaryKey\":true,\"referenceKind\":\"id\",\"notNull\":true},\"slug\":{\"type\":\"TEXT\",\"notNull\":true},\"context\":{\"type\":\"TEXT\",\"notNull\":true,\"default\":\"\"},\"_meta_type\":{\"type\":\"TEXT\",\"notNull\":true},\"_meta_data\":{\"type\":\"JSON\",\"notNull\":false},\"created_at\":{\"type\":\"TIMESTAMP\",\"notNull\":true,\"default\":\"current_timestamp\"},\"updated_at\":{\"type\":\"TIMESTAMP\",\"notNull\":true,\"default\":\"current_timestamp\"},\"tenant_id\":{\"type\":\"UUID\",\"referenceKind\":\"tenantId\",\"notNull\":false},\"type\":{\"type\":\"TEXT\",\"notNull\":false},\"variant\":{\"type\":\"TEXT\",\"notNull\":false},\"file_key\":{\"type\":\"TEXT\",\"notNull\":false},\"author\":{\"type\":\"TEXT\",\"notNull\":false},\"name\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"\"},\"title\":{\"type\":\"TEXT\",\"notNull\":false},\"description\":{\"type\":\"TEXT\",\"notNull\":false},\"body\":{\"type\":\"TEXT\",\"notNull\":false},\"body_format\":{\"type\":\"TEXT\",\"notNull\":false},\"publish_date\":{\"type\":\"TIMESTAMP\",\"notNull\":false},\"url\":{\"type\":\"TEXT\",\"notNull\":false},\"source\":{\"type\":\"TEXT\",\"notNull\":false},\"original_url\":{\"type\":\"TEXT\",\"notNull\":false},\"language\":{\"type\":\"TEXT\",\"notNull\":false},\"tags\":{\"type\":\"JSON\",\"notNull\":false,\"default\":[]},\"category\":{\"type\":\"TEXT\",\"notNull\":false},\"status\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"draft\"},\"state\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"active\"},\"metadata\":{\"type\":\"JSON\",\"notNull\":false,\"default\":{}},\"thumbnail_asset_id\":{\"type\":\"UUID\",\"referenceKind\":\"crossPackageRef\",\"notNull\":false},\"voice_profile_id\":{\"type\":\"UUID\",\"referenceKind\":\"foreignKey\",\"notNull\":false,\"foreignKey\":{\"table\":\"voice_profiles\",\"column\":\"id\",\"onDelete\":\"NO ACTION\",\"onUpdate\":\"CASCADE\"}},\"source_text\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"\"},\"audio_asset_id\":{\"type\":\"UUID\",\"referenceKind\":\"crossPackageRef\",\"notNull\":false},\"duration\":{\"type\":\"INTEGER\",\"notNull\":false,\"default\":0},\"word_timings\":{\"type\":\"JSON\",\"notNull\":false,\"default\":[]},\"audio_metadata\":{\"type\":\"JSON\",\"notNull\":false},\"feed_source_id\":{\"type\":\"UUID\",\"referenceKind\":\"foreignKey\",\"notNull\":false},\"source_guid\":{\"type\":\"TEXT\",\"notNull\":false},\"source_name\":{\"type\":\"TEXT\",\"notNull\":false},\"source_homepage_url\":{\"type\":\"TEXT\",\"notNull\":false},\"external_url\":{\"type\":\"TEXT\",\"notNull\":false},\"original_published_at\":{\"type\":\"TIMESTAMP\",\"notNull\":false},\"dedupe_key\":{\"type\":\"TEXT\",\"notNull\":false}},\"indexes\":[{\"name\":\"contents_slug_context_meta_type_idx\",\"columns\":[\"tenant_id\",\"slug\",\"context\",\"_meta_type\"],\"unique\":true},{\"name\":\"contents_meta_type_idx\",\"columns\":[\"_meta_type\"]},{\"name\":\"contents_tenant_id_publish_date_idx\",\"columns\":[\"tenant_id\",\"publish_date\"]},{\"name\":\"contents_tenant_id_created_at_idx\",\"columns\":[\"tenant_id\",\"created_at\"]},{\"name\":\"contents_thumbnail_asset_id_idx\",\"columns\":[\"thumbnail_asset_id\"]},{\"name\":\"contents_voice_profile_id_idx\",\"columns\":[\"voice_profile_id\"]},{\"name\":\"contents_audio_asset_id_idx\",\"columns\":[\"audio_asset_id\"]},{\"name\":\"contents_feed_source_id_idx\",\"columns\":[\"feed_source_id\"]}],\"version\":\"ee1272af\"}},\"@happyvertical/smrt-voice:VoiceProfile\":{\"name\":\"voiceprofile\",\"className\":\"VoiceProfile\",\"qualifiedName\":\"@happyvertical/smrt-voice:VoiceProfile\",\"collection\":\"voiceprofiles\",\"filePath\":\"/home/runner/work/smrt/smrt/packages/voice/src/voice-profile.ts\",\"packageName\":\"@happyvertical/smrt-voice\",\"fields\":{\"created_at\":{\"type\":\"datetime\",\"required\":false},\"updated_at\":{\"type\":\"datetime\",\"required\":false},\"tenantId\":{\"type\":\"text\",\"required\":false,\"_meta\":{\"sqlType\":\"UUID\",\"nullable\":true,\"__tenancy\":{\"isTenantIdField\":true,\"autoFilter\":true,\"required\":false,\"autoPopulate\":true,\"nullable\":true,\"mode\":\"optional\",\"field\":\"tenantId\",\"allowSuperAdminBypass\":false}}},\"name\":{\"type\":\"text\",\"required\":false,\"default\":\"\"},\"description\":{\"type\":\"text\",\"required\":false},\"language\":{\"type\":\"text\",\"required\":false,\"default\":\"en-US\"},\"gender\":{\"type\":\"text\",\"required\":false,\"default\":\"neutral\"},\"designPrompt\":{\"type\":\"text\",\"required\":false},\"sampleAssetId\":{\"type\":\"crossPackageRef\",\"required\":false,\"related\":\"@happyvertical/smrt-assets:Asset\"},\"voiceData\":{\"type\":\"json\",\"required\":false,\"default\":{}},\"defaultSpeed\":{\"type\":\"decimal\",\"required\":false,\"default\":1},\"defaultPitch\":{\"type\":\"integer\",\"required\":false,\"default\":0},\"status\":{\"type\":\"text\",\"required\":false,\"default\":\"pending\"},\"provider\":{\"type\":\"text\",\"required\":false,\"default\":\"qwen3-tts\"},\"errorMessage\":{\"type\":\"text\",\"required\":false}},\"methods\":{\"toSpeechVoice\":{\"name\":\"toSpeechVoice\",\"async\":false,\"parameters\":[],\"returnType\":\"SpeechVoice\",\"isStatic\":false,\"isPublic\":true}},\"decoratorConfig\":{\"tableStrategy\":\"sti\",\"api\":{\"include\":[\"list\",\"get\",\"create\",\"update\",\"delete\"]},\"mcp\":{\"include\":[\"list\",\"get\"]},\"cli\":{\"skipApiCheck\":true},\"tenantScoped\":{\"mode\":\"optional\"},\"conflictColumns\":[\"tenant_id\",\"slug\",\"context\",\"_meta_type\"]},\"extends\":\"SmrtObject\",\"exportName\":\"VoiceProfile\",\"collectionExportName\":\"VoiceProfileCollection\",\"schema\":{\"tableName\":\"voice_profiles\",\"ddl\":\"CREATE TABLE IF NOT EXISTS \\\"voice_profiles\\\" (\\n \\\"id\\\" UUID PRIMARY KEY NOT NULL,\\n \\\"slug\\\" TEXT NOT NULL,\\n \\\"context\\\" TEXT NOT NULL DEFAULT '',\\n \\\"_meta_type\\\" TEXT NOT NULL,\\n \\\"_meta_data\\\" JSON,\\n \\\"created_at\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\\"updated_at\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\\"tenant_id\\\" UUID,\\n \\\"name\\\" TEXT DEFAULT '',\\n \\\"description\\\" TEXT,\\n \\\"language\\\" TEXT DEFAULT 'en-US',\\n \\\"gender\\\" TEXT DEFAULT 'neutral',\\n \\\"design_prompt\\\" TEXT,\\n \\\"sample_asset_id\\\" UUID,\\n \\\"voice_data\\\" JSON DEFAULT '{}',\\n \\\"default_speed\\\" REAL DEFAULT 1,\\n \\\"default_pitch\\\" INTEGER DEFAULT 0,\\n \\\"status\\\" TEXT DEFAULT 'pending',\\n \\\"provider\\\" TEXT DEFAULT 'qwen3-tts',\\n \\\"error_message\\\" TEXT\\n);\",\"columns\":{\"id\":{\"type\":\"UUID\",\"primaryKey\":true,\"referenceKind\":\"id\",\"notNull\":true},\"slug\":{\"type\":\"TEXT\",\"notNull\":true},\"context\":{\"type\":\"TEXT\",\"notNull\":true,\"default\":\"\"},\"_meta_type\":{\"type\":\"TEXT\",\"notNull\":true},\"_meta_data\":{\"type\":\"JSON\",\"notNull\":false},\"created_at\":{\"type\":\"TIMESTAMP\",\"notNull\":true,\"default\":\"current_timestamp\"},\"updated_at\":{\"type\":\"TIMESTAMP\",\"notNull\":true,\"default\":\"current_timestamp\"},\"tenant_id\":{\"type\":\"UUID\",\"referenceKind\":\"tenantId\",\"notNull\":false},\"name\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"\"},\"description\":{\"type\":\"TEXT\",\"notNull\":false},\"language\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"en-US\"},\"gender\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"neutral\"},\"design_prompt\":{\"type\":\"TEXT\",\"notNull\":false},\"sample_asset_id\":{\"type\":\"UUID\",\"referenceKind\":\"crossPackageRef\",\"notNull\":false},\"voice_data\":{\"type\":\"JSON\",\"notNull\":false,\"default\":{}},\"default_speed\":{\"type\":\"REAL\",\"notNull\":false,\"default\":1},\"default_pitch\":{\"type\":\"INTEGER\",\"notNull\":false,\"default\":0},\"status\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"pending\"},\"provider\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"qwen3-tts\"},\"error_message\":{\"type\":\"TEXT\",\"notNull\":false}},\"indexes\":[{\"name\":\"voice_profiles_slug_context_meta_type_idx\",\"columns\":[\"tenant_id\",\"slug\",\"context\",\"_meta_type\"],\"unique\":true},{\"name\":\"voice_profiles_meta_type_idx\",\"columns\":[\"_meta_type\"]},{\"name\":\"voice_profiles_tenant_id_created_at_idx\",\"columns\":[\"tenant_id\",\"created_at\"]},{\"name\":\"voice_profiles_sample_asset_id_idx\",\"columns\":[\"sample_asset_id\"]}],\"version\":\"b3717c47\"}},\"@happyvertical/smrt-voice:VoiceSample\":{\"name\":\"voicesample\",\"className\":\"VoiceSample\",\"qualifiedName\":\"@happyvertical/smrt-voice:VoiceSample\",\"collection\":\"voicesamples\",\"filePath\":\"/home/runner/work/smrt/smrt/packages/voice/src/voice-sample.ts\",\"packageName\":\"@happyvertical/smrt-voice\",\"fields\":{\"created_at\":{\"type\":\"datetime\",\"required\":false},\"updated_at\":{\"type\":\"datetime\",\"required\":false},\"tenantId\":{\"type\":\"text\",\"required\":false,\"_meta\":{\"sqlType\":\"UUID\",\"nullable\":true,\"__tenancy\":{\"isTenantIdField\":true,\"autoFilter\":true,\"required\":false,\"autoPopulate\":true,\"nullable\":true,\"mode\":\"optional\",\"field\":\"tenantId\",\"allowSuperAdminBypass\":false}}},\"voiceProfileId\":{\"type\":\"foreignKey\",\"required\":false,\"related\":\"VoiceProfile\"},\"assetId\":{\"type\":\"crossPackageRef\",\"required\":false,\"related\":\"@happyvertical/smrt-assets:Asset\"},\"duration\":{\"type\":\"integer\",\"required\":false,\"default\":0},\"transcription\":{\"type\":\"text\",\"required\":false},\"quality\":{\"type\":\"text\",\"required\":false,\"default\":\"medium\"},\"sampleRate\":{\"type\":\"integer\",\"required\":false},\"channels\":{\"type\":\"integer\",\"required\":false},\"format\":{\"type\":\"text\",\"required\":false},\"isPrimary\":{\"type\":\"boolean\",\"required\":false,\"default\":false}},\"methods\":{},\"decoratorConfig\":{\"tableStrategy\":\"sti\",\"api\":{\"include\":[\"list\",\"get\",\"create\",\"delete\"]},\"mcp\":{\"include\":[\"list\",\"get\"]},\"cli\":true,\"tenantScoped\":{\"mode\":\"optional\"},\"conflictColumns\":[\"tenant_id\",\"slug\",\"context\",\"_meta_type\"]},\"extends\":\"SmrtObject\",\"exportName\":\"VoiceSample\",\"collectionExportName\":\"VoiceSampleCollection\",\"schema\":{\"tableName\":\"voice_samples\",\"ddl\":\"CREATE TABLE IF NOT EXISTS \\\"voice_samples\\\" (\\n \\\"id\\\" UUID PRIMARY KEY NOT NULL,\\n \\\"slug\\\" TEXT NOT NULL,\\n \\\"context\\\" TEXT NOT NULL DEFAULT '',\\n \\\"_meta_type\\\" TEXT NOT NULL,\\n \\\"_meta_data\\\" JSON,\\n \\\"created_at\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\\"updated_at\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\n \\\"tenant_id\\\" UUID,\\n \\\"voice_profile_id\\\" UUID,\\n \\\"asset_id\\\" UUID,\\n \\\"duration\\\" INTEGER DEFAULT 0,\\n \\\"transcription\\\" TEXT,\\n \\\"quality\\\" TEXT DEFAULT 'medium',\\n \\\"sample_rate\\\" INTEGER,\\n \\\"channels\\\" INTEGER,\\n \\\"format\\\" TEXT,\\n \\\"is_primary\\\" BOOLEAN DEFAULT FALSE\\n);\",\"columns\":{\"id\":{\"type\":\"UUID\",\"primaryKey\":true,\"referenceKind\":\"id\",\"notNull\":true},\"slug\":{\"type\":\"TEXT\",\"notNull\":true},\"context\":{\"type\":\"TEXT\",\"notNull\":true,\"default\":\"\"},\"_meta_type\":{\"type\":\"TEXT\",\"notNull\":true},\"_meta_data\":{\"type\":\"JSON\",\"notNull\":false},\"created_at\":{\"type\":\"TIMESTAMP\",\"notNull\":true,\"default\":\"current_timestamp\"},\"updated_at\":{\"type\":\"TIMESTAMP\",\"notNull\":true,\"default\":\"current_timestamp\"},\"tenant_id\":{\"type\":\"UUID\",\"referenceKind\":\"tenantId\",\"notNull\":false},\"voice_profile_id\":{\"type\":\"UUID\",\"referenceKind\":\"foreignKey\",\"notNull\":false,\"foreignKey\":{\"table\":\"voice_profiles\",\"column\":\"id\",\"onDelete\":\"NO ACTION\",\"onUpdate\":\"CASCADE\"}},\"asset_id\":{\"type\":\"UUID\",\"referenceKind\":\"crossPackageRef\",\"notNull\":false},\"duration\":{\"type\":\"INTEGER\",\"notNull\":false,\"default\":0},\"transcription\":{\"type\":\"TEXT\",\"notNull\":false},\"quality\":{\"type\":\"TEXT\",\"notNull\":false,\"default\":\"medium\"},\"sample_rate\":{\"type\":\"INTEGER\",\"notNull\":false},\"channels\":{\"type\":\"INTEGER\",\"notNull\":false},\"format\":{\"type\":\"TEXT\",\"notNull\":false},\"is_primary\":{\"type\":\"BOOLEAN\",\"notNull\":false,\"default\":false}},\"indexes\":[{\"name\":\"voice_samples_slug_context_meta_type_idx\",\"columns\":[\"tenant_id\",\"slug\",\"context\",\"_meta_type\"],\"unique\":true},{\"name\":\"voice_samples_meta_type_idx\",\"columns\":[\"_meta_type\"]},{\"name\":\"voice_samples_tenant_id_created_at_idx\",\"columns\":[\"tenant_id\",\"created_at\"]},{\"name\":\"voice_samples_voice_profile_id_idx\",\"columns\":[\"voice_profile_id\"]},{\"name\":\"voice_samples_asset_id_idx\",\"columns\":[\"asset_id\"]}],\"version\":\"cbb4acc4\"}}},\"moduleType\":\"smrt\",\"smrtDependencies\":[\"@happyvertical/smrt-assets\",\"@happyvertical/smrt-content\",\"@happyvertical/smrt-core\",\"@happyvertical/smrt-tenancy\"]}"));
6
6
  //#endregion
7
7
  //#region src/voice-profile.ts
8
8
  var __defProp$2 = Object.defineProperty;
@@ -2,7 +2,7 @@
2
2
  "version": "1.0.0",
3
3
  "timestamp": 0,
4
4
  "packageName": "@happyvertical/smrt-voice",
5
- "packageVersion": "0.46.0",
5
+ "packageVersion": "0.47.1",
6
6
  "objects": {
7
7
  "@happyvertical/smrt-voice:VoiceOutput": {
8
8
  "name": "voiceoutput",
@@ -161,7 +161,7 @@
161
161
  "name": "initialize",
162
162
  "async": true,
163
163
  "parameters": [],
164
- "returnType": "Promise",
164
+ "returnType": "Promise<this>",
165
165
  "isStatic": false,
166
166
  "isPublic": true
167
167
  },
@@ -202,12 +202,23 @@
202
202
  {
203
203
  "name": "content",
204
204
  "type": "Content | string",
205
- "optional": false
205
+ "optional": false,
206
+ "unionBranches": [
207
+ {
208
+ "type": "Content"
209
+ },
210
+ {
211
+ "type": "string"
212
+ }
213
+ ]
206
214
  },
207
215
  {
208
216
  "name": "options",
209
217
  "type": "object",
210
- "optional": true
218
+ "optional": true,
219
+ "memberTypes": [
220
+ "number | null"
221
+ ]
211
222
  }
212
223
  ],
213
224
  "returnType": "any",
@@ -267,7 +278,10 @@
267
278
  {
268
279
  "name": "options",
269
280
  "type": "object",
270
- "optional": true
281
+ "optional": true,
282
+ "memberTypes": [
283
+ "FactContentRelationship"
284
+ ]
271
285
  }
272
286
  ],
273
287
  "returnType": "any",
@@ -281,7 +295,11 @@
281
295
  {
282
296
  "name": "options",
283
297
  "type": "object",
284
- "optional": true
298
+ "optional": true,
299
+ "memberTypes": [
300
+ "FactContentRelationship",
301
+ "boolean"
302
+ ]
285
303
  }
286
304
  ],
287
305
  "returnType": "Promise<Fact[]>",
@@ -295,7 +313,15 @@
295
313
  {
296
314
  "name": "fact",
297
315
  "type": "Fact | string",
298
- "optional": false
316
+ "optional": false,
317
+ "unionBranches": [
318
+ {
319
+ "type": "Fact"
320
+ },
321
+ {
322
+ "type": "string"
323
+ }
324
+ ]
299
325
  },
300
326
  {
301
327
  "name": "relationship",
@@ -304,7 +330,7 @@
304
330
  },
305
331
  {
306
332
  "name": "metadata",
307
- "type": "Record<string>",
333
+ "type": "Record<string, unknown>",
308
334
  "optional": true
309
335
  }
310
336
  ],
@@ -363,7 +389,11 @@
363
389
  {
364
390
  "name": "options",
365
391
  "type": "object",
366
- "optional": true
392
+ "optional": true,
393
+ "memberTypes": [
394
+ "number",
395
+ "boolean"
396
+ ]
367
397
  }
368
398
  ],
369
399
  "returnType": "Promise<Fact[]>",
@@ -377,7 +407,11 @@
377
407
  {
378
408
  "name": "options",
379
409
  "type": "object",
380
- "optional": true
410
+ "optional": true,
411
+ "memberTypes": [
412
+ "number",
413
+ "string"
414
+ ]
381
415
  }
382
416
  ],
383
417
  "returnType": "any",
@@ -391,7 +425,11 @@
391
425
  {
392
426
  "name": "options",
393
427
  "type": "object",
394
- "optional": true
428
+ "optional": true,
429
+ "memberTypes": [
430
+ "number",
431
+ "string"
432
+ ]
395
433
  }
396
434
  ],
397
435
  "returnType": "any",
@@ -505,7 +543,10 @@
505
543
  {
506
544
  "name": "options",
507
545
  "type": "object",
508
- "optional": true
546
+ "optional": true,
547
+ "memberTypes": [
548
+ "FactContentRelationship"
549
+ ]
509
550
  }
510
551
  ],
511
552
  "returnType": "any",
@@ -519,7 +560,11 @@
519
560
  {
520
561
  "name": "options",
521
562
  "type": "object",
522
- "optional": true
563
+ "optional": true,
564
+ "memberTypes": [
565
+ "string[]",
566
+ "FactContentRelationship"
567
+ ]
523
568
  }
524
569
  ],
525
570
  "returnType": "any",
@@ -569,7 +614,8 @@
569
614
  {
570
615
  "name": "kind",
571
616
  "type": "any",
572
- "optional": true
617
+ "optional": true,
618
+ "typeUnresolved": true
573
619
  }
574
620
  ],
575
621
  "returnType": "any",
@@ -583,7 +629,8 @@
583
629
  {
584
630
  "name": "options",
585
631
  "type": "object",
586
- "optional": true
632
+ "optional": true,
633
+ "typeUnresolved": true
587
634
  }
588
635
  ],
589
636
  "returnType": "any",
@@ -654,7 +701,10 @@
654
701
  {
655
702
  "name": "options",
656
703
  "type": "object",
657
- "optional": true
704
+ "optional": true,
705
+ "memberTypes": [
706
+ "string"
707
+ ]
658
708
  }
659
709
  ],
660
710
  "returnType": "any",
@@ -822,7 +872,8 @@
822
872
  {
823
873
  "name": "options",
824
874
  "type": "any",
825
- "optional": true
875
+ "optional": true,
876
+ "typeUnresolved": true
826
877
  }
827
878
  ],
828
879
  "returnType": "any",
@@ -942,7 +993,7 @@
942
993
  "name": "getMetadata",
943
994
  "async": false,
944
995
  "parameters": [],
945
- "returnType": "Record<string>",
996
+ "returnType": "Record<string, unknown>",
946
997
  "isStatic": false,
947
998
  "isPublic": true
948
999
  },
@@ -952,8 +1003,19 @@
952
1003
  "parameters": [
953
1004
  {
954
1005
  "name": "metadata",
955
- "type": "Record<string> | null | undefined",
956
- "optional": false
1006
+ "type": "Record<string, unknown> | null | undefined",
1007
+ "optional": false,
1008
+ "unionBranches": [
1009
+ {
1010
+ "type": "Record<string, unknown>"
1011
+ },
1012
+ {
1013
+ "type": "null"
1014
+ },
1015
+ {
1016
+ "type": "undefined"
1017
+ }
1018
+ ]
957
1019
  }
958
1020
  ],
959
1021
  "returnType": "void",
@@ -966,11 +1028,11 @@
966
1028
  "parameters": [
967
1029
  {
968
1030
  "name": "patch",
969
- "type": "Partial<Record<string>>",
1031
+ "type": "Partial<Record<string, unknown>>",
970
1032
  "optional": false
971
1033
  }
972
1034
  ],
973
- "returnType": "Record<string>",
1035
+ "returnType": "Record<string, unknown>",
974
1036
  "isStatic": false,
975
1037
  "isPublic": true
976
1038
  },
@@ -3,12 +3,12 @@
3
3
  "sensitiveFieldsExcluded": true,
4
4
  "generatedAt": "1970-01-01T00:00:00.000Z",
5
5
  "packageName": "@happyvertical/smrt-voice",
6
- "packageVersion": "0.46.0",
6
+ "packageVersion": "0.47.1",
7
7
  "sourceManifestPath": "dist/manifest.json",
8
8
  "agentDocPath": "AGENTS.md",
9
9
  "sourceHashes": {
10
- "manifest": "2aa2cd57d5396c5961da28ff5a0732eff82f093316ea6b00ac4ba7cb0b3835e8",
11
- "packageJson": "3d38fff4b8890a8e57dba40a25a0b6687735de68ff9d2177c3bb45ced02f73b5",
10
+ "manifest": "64d8618e1b484ddde8f358000900fcc7292005b510672ace7f6ba7881bbe5bee",
11
+ "packageJson": "274dbef5a6c998204d3ca2b29484088576d93b2702be43bb5a6061e48f068adc",
12
12
  "agents": "e7726fd0cee96291548c1bc951b0048bb11a4d5eee3c19632f419779c36be550"
13
13
  },
14
14
  "exports": [
@@ -355,7 +355,7 @@
355
355
  "params": [
356
356
  "fact: Fact | string",
357
357
  "relationship?: FactContentRelationship",
358
- "metadata?: Record<string>"
358
+ "metadata?: Record<string, unknown>"
359
359
  ],
360
360
  "returns": "any"
361
361
  },
@@ -484,7 +484,7 @@
484
484
  },
485
485
  {
486
486
  "name": "getMetadata",
487
- "returns": "Record<string>"
487
+ "returns": "Record<string, unknown>"
488
488
  },
489
489
  {
490
490
  "name": "getParentCategory",
@@ -556,7 +556,7 @@
556
556
  {
557
557
  "name": "initialize",
558
558
  "async": true,
559
- "returns": "Promise"
559
+ "returns": "Promise<this>"
560
560
  },
561
561
  {
562
562
  "name": "isGoverned",
@@ -770,7 +770,7 @@
770
770
  {
771
771
  "name": "setMetadata",
772
772
  "params": [
773
- "metadata: Record<string> | null | undefined"
773
+ "metadata: Record<string, unknown> | null | undefined"
774
774
  ],
775
775
  "returns": "void"
776
776
  },
@@ -818,9 +818,9 @@
818
818
  {
819
819
  "name": "updateMetadata",
820
820
  "params": [
821
- "patch: Partial<Record<string>>"
821
+ "patch: Partial<Record<string, unknown>>"
822
822
  ],
823
- "returns": "Record<string>"
823
+ "returns": "Record<string, unknown>"
824
824
  }
825
825
  ],
826
826
  "tenant": {
@@ -1313,6 +1313,498 @@
1313
1313
  "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1314
1314
  }
1315
1315
  ],
1316
+ "withheldSurfaces": [
1317
+ {
1318
+ "kind": "api",
1319
+ "operation": "addAsset",
1320
+ "code": "not-included",
1321
+ "reason": "not listed in api.include",
1322
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1323
+ },
1324
+ {
1325
+ "kind": "api",
1326
+ "operation": "addFact",
1327
+ "code": "not-included",
1328
+ "reason": "not listed in api.include",
1329
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1330
+ },
1331
+ {
1332
+ "kind": "api",
1333
+ "operation": "addReference",
1334
+ "code": "not-included",
1335
+ "reason": "not listed in api.include",
1336
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1337
+ },
1338
+ {
1339
+ "kind": "api",
1340
+ "operation": "browseFacts",
1341
+ "code": "not-included",
1342
+ "reason": "not listed in api.include",
1343
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1344
+ },
1345
+ {
1346
+ "kind": "api",
1347
+ "operation": "createVersion",
1348
+ "code": "not-included",
1349
+ "reason": "not listed in api.include",
1350
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1351
+ },
1352
+ {
1353
+ "kind": "api",
1354
+ "operation": "evaluateReviewProfile",
1355
+ "code": "not-included",
1356
+ "reason": "not listed in api.include",
1357
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1358
+ },
1359
+ {
1360
+ "kind": "api",
1361
+ "operation": "evaluateReviewProfileAction",
1362
+ "code": "not-included",
1363
+ "reason": "not listed in api.include",
1364
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1365
+ },
1366
+ {
1367
+ "kind": "api",
1368
+ "operation": "fromSynthesizedSpeech",
1369
+ "code": "not-included",
1370
+ "reason": "not listed in api.include",
1371
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1372
+ },
1373
+ {
1374
+ "kind": "api",
1375
+ "operation": "generateThumbnail",
1376
+ "code": "not-included",
1377
+ "reason": "not listed in api.include",
1378
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1379
+ },
1380
+ {
1381
+ "kind": "api",
1382
+ "operation": "getAncestorPaths",
1383
+ "code": "not-included",
1384
+ "reason": "not listed in api.include",
1385
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1386
+ },
1387
+ {
1388
+ "kind": "api",
1389
+ "operation": "getAssets",
1390
+ "code": "not-included",
1391
+ "reason": "not listed in api.include",
1392
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1393
+ },
1394
+ {
1395
+ "kind": "api",
1396
+ "operation": "getCategorySegments",
1397
+ "code": "not-included",
1398
+ "reason": "not listed in api.include",
1399
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1400
+ },
1401
+ {
1402
+ "kind": "api",
1403
+ "operation": "getCorrections",
1404
+ "code": "not-included",
1405
+ "reason": "not listed in api.include",
1406
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1407
+ },
1408
+ {
1409
+ "kind": "api",
1410
+ "operation": "getFactAuditState",
1411
+ "code": "not-included",
1412
+ "reason": "not listed in api.include",
1413
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1414
+ },
1415
+ {
1416
+ "kind": "api",
1417
+ "operation": "getFactAuditStateAction",
1418
+ "code": "not-included",
1419
+ "reason": "not listed in api.include",
1420
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1421
+ },
1422
+ {
1423
+ "kind": "api",
1424
+ "operation": "getFactLinks",
1425
+ "code": "not-included",
1426
+ "reason": "not listed in api.include",
1427
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1428
+ },
1429
+ {
1430
+ "kind": "api",
1431
+ "operation": "getFacts",
1432
+ "code": "not-included",
1433
+ "reason": "not listed in api.include",
1434
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1435
+ },
1436
+ {
1437
+ "kind": "api",
1438
+ "operation": "getFactsState",
1439
+ "code": "not-included",
1440
+ "reason": "not listed in api.include",
1441
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1442
+ },
1443
+ {
1444
+ "kind": "api",
1445
+ "operation": "getGovernanceState",
1446
+ "code": "not-included",
1447
+ "reason": "not listed in api.include",
1448
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1449
+ },
1450
+ {
1451
+ "kind": "api",
1452
+ "operation": "getGovernanceStateAction",
1453
+ "code": "not-included",
1454
+ "reason": "not listed in api.include",
1455
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1456
+ },
1457
+ {
1458
+ "kind": "api",
1459
+ "operation": "getMetadata",
1460
+ "code": "not-included",
1461
+ "reason": "not listed in api.include",
1462
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1463
+ },
1464
+ {
1465
+ "kind": "api",
1466
+ "operation": "getParentCategory",
1467
+ "code": "not-included",
1468
+ "reason": "not listed in api.include",
1469
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1470
+ },
1471
+ {
1472
+ "kind": "api",
1473
+ "operation": "getPublishedTransparency",
1474
+ "code": "not-included",
1475
+ "reason": "not listed in api.include",
1476
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1477
+ },
1478
+ {
1479
+ "kind": "api",
1480
+ "operation": "getPublishedTransparencyAction",
1481
+ "code": "not-included",
1482
+ "reason": "not listed in api.include",
1483
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1484
+ },
1485
+ {
1486
+ "kind": "api",
1487
+ "operation": "getReferenceDrift",
1488
+ "code": "not-included",
1489
+ "reason": "not listed in api.include",
1490
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1491
+ },
1492
+ {
1493
+ "kind": "api",
1494
+ "operation": "getReferenceEdges",
1495
+ "code": "not-included",
1496
+ "reason": "not listed in api.include",
1497
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1498
+ },
1499
+ {
1500
+ "kind": "api",
1501
+ "operation": "getReferences",
1502
+ "code": "not-included",
1503
+ "reason": "not listed in api.include",
1504
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1505
+ },
1506
+ {
1507
+ "kind": "api",
1508
+ "operation": "getReviewRequirements",
1509
+ "code": "not-included",
1510
+ "reason": "not listed in api.include",
1511
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1512
+ },
1513
+ {
1514
+ "kind": "api",
1515
+ "operation": "getReviews",
1516
+ "code": "not-included",
1517
+ "reason": "not listed in api.include",
1518
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1519
+ },
1520
+ {
1521
+ "kind": "api",
1522
+ "operation": "getRootCategory",
1523
+ "code": "not-included",
1524
+ "reason": "not listed in api.include",
1525
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1526
+ },
1527
+ {
1528
+ "kind": "api",
1529
+ "operation": "getThumbnail",
1530
+ "code": "not-included",
1531
+ "reason": "not listed in api.include",
1532
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1533
+ },
1534
+ {
1535
+ "kind": "api",
1536
+ "operation": "getVersions",
1537
+ "code": "not-included",
1538
+ "reason": "not listed in api.include",
1539
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1540
+ },
1541
+ {
1542
+ "kind": "api",
1543
+ "operation": "getWordAtTime",
1544
+ "code": "not-included",
1545
+ "reason": "not listed in api.include",
1546
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1547
+ },
1548
+ {
1549
+ "kind": "api",
1550
+ "operation": "initialize",
1551
+ "code": "lifecycle-method",
1552
+ "reason": "`initialize` is a framework lifecycle method, not a distinct operation",
1553
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1554
+ },
1555
+ {
1556
+ "kind": "api",
1557
+ "operation": "isGoverned",
1558
+ "code": "not-included",
1559
+ "reason": "not listed in api.include",
1560
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1561
+ },
1562
+ {
1563
+ "kind": "api",
1564
+ "operation": "isInCategory",
1565
+ "code": "not-included",
1566
+ "reason": "not listed in api.include",
1567
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1568
+ },
1569
+ {
1570
+ "kind": "api",
1571
+ "operation": "isReadyForReviewProfile",
1572
+ "code": "not-included",
1573
+ "reason": "not listed in api.include",
1574
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1575
+ },
1576
+ {
1577
+ "kind": "api",
1578
+ "operation": "issueCorrection",
1579
+ "code": "not-included",
1580
+ "reason": "not listed in api.include",
1581
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1582
+ },
1583
+ {
1584
+ "kind": "api",
1585
+ "operation": "issueCorrectionAction",
1586
+ "code": "not-included",
1587
+ "reason": "not listed in api.include",
1588
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1589
+ },
1590
+ {
1591
+ "kind": "api",
1592
+ "operation": "listCorrections",
1593
+ "code": "not-included",
1594
+ "reason": "not listed in api.include",
1595
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1596
+ },
1597
+ {
1598
+ "kind": "api",
1599
+ "operation": "listReviewProfilesAction",
1600
+ "code": "not-included",
1601
+ "reason": "not listed in api.include",
1602
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1603
+ },
1604
+ {
1605
+ "kind": "api",
1606
+ "operation": "listReviews",
1607
+ "code": "not-included",
1608
+ "reason": "not listed in api.include",
1609
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1610
+ },
1611
+ {
1612
+ "kind": "api",
1613
+ "operation": "listVersions",
1614
+ "code": "not-included",
1615
+ "reason": "not listed in api.include",
1616
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1617
+ },
1618
+ {
1619
+ "kind": "api",
1620
+ "operation": "loadReferences",
1621
+ "code": "not-included",
1622
+ "reason": "not listed in api.include",
1623
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1624
+ },
1625
+ {
1626
+ "kind": "api",
1627
+ "operation": "mutateVersionAction",
1628
+ "code": "not-included",
1629
+ "reason": "not listed in api.include",
1630
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1631
+ },
1632
+ {
1633
+ "kind": "api",
1634
+ "operation": "previewTransparency",
1635
+ "code": "not-included",
1636
+ "reason": "not listed in api.include",
1637
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1638
+ },
1639
+ {
1640
+ "kind": "api",
1641
+ "operation": "previewTransparencyAction",
1642
+ "code": "not-included",
1643
+ "reason": "not listed in api.include",
1644
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1645
+ },
1646
+ {
1647
+ "kind": "api",
1648
+ "operation": "recheckFactClaims",
1649
+ "code": "not-included",
1650
+ "reason": "not listed in api.include",
1651
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1652
+ },
1653
+ {
1654
+ "kind": "api",
1655
+ "operation": "recheckFactClaimsAction",
1656
+ "code": "not-included",
1657
+ "reason": "not listed in api.include",
1658
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1659
+ },
1660
+ {
1661
+ "kind": "api",
1662
+ "operation": "removeAsset",
1663
+ "code": "not-included",
1664
+ "reason": "not listed in api.include",
1665
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1666
+ },
1667
+ {
1668
+ "kind": "api",
1669
+ "operation": "removeFact",
1670
+ "code": "not-included",
1671
+ "reason": "not listed in api.include",
1672
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1673
+ },
1674
+ {
1675
+ "kind": "api",
1676
+ "operation": "removeReference",
1677
+ "code": "not-included",
1678
+ "reason": "not listed in api.include",
1679
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1680
+ },
1681
+ {
1682
+ "kind": "api",
1683
+ "operation": "repairFactAudit",
1684
+ "code": "not-included",
1685
+ "reason": "not listed in api.include",
1686
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1687
+ },
1688
+ {
1689
+ "kind": "api",
1690
+ "operation": "repairFactAuditAction",
1691
+ "code": "not-included",
1692
+ "reason": "not listed in api.include",
1693
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1694
+ },
1695
+ {
1696
+ "kind": "api",
1697
+ "operation": "repairFactEvidence",
1698
+ "code": "not-included",
1699
+ "reason": "not listed in api.include",
1700
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1701
+ },
1702
+ {
1703
+ "kind": "api",
1704
+ "operation": "repairFactEvidenceAction",
1705
+ "code": "not-included",
1706
+ "reason": "not listed in api.include",
1707
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1708
+ },
1709
+ {
1710
+ "kind": "api",
1711
+ "operation": "resolveGovernance",
1712
+ "code": "not-included",
1713
+ "reason": "not listed in api.include",
1714
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1715
+ },
1716
+ {
1717
+ "kind": "api",
1718
+ "operation": "restoreFromVersion",
1719
+ "code": "not-included",
1720
+ "reason": "not listed in api.include",
1721
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1722
+ },
1723
+ {
1724
+ "kind": "api",
1725
+ "operation": "reviewFacts",
1726
+ "code": "not-included",
1727
+ "reason": "not listed in api.include",
1728
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1729
+ },
1730
+ {
1731
+ "kind": "api",
1732
+ "operation": "reviewSafety",
1733
+ "code": "not-included",
1734
+ "reason": "not listed in api.include",
1735
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1736
+ },
1737
+ {
1738
+ "kind": "api",
1739
+ "operation": "runReview",
1740
+ "code": "not-included",
1741
+ "reason": "not listed in api.include",
1742
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1743
+ },
1744
+ {
1745
+ "kind": "api",
1746
+ "operation": "runReviewAction",
1747
+ "code": "not-included",
1748
+ "reason": "not listed in api.include",
1749
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1750
+ },
1751
+ {
1752
+ "kind": "api",
1753
+ "operation": "save",
1754
+ "code": "lifecycle-method",
1755
+ "reason": "`save` is a framework lifecycle method, not a distinct operation",
1756
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1757
+ },
1758
+ {
1759
+ "kind": "api",
1760
+ "operation": "setMetadata",
1761
+ "code": "not-included",
1762
+ "reason": "not listed in api.include",
1763
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1764
+ },
1765
+ {
1766
+ "kind": "api",
1767
+ "operation": "setThumbnail",
1768
+ "code": "not-included",
1769
+ "reason": "not listed in api.include",
1770
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1771
+ },
1772
+ {
1773
+ "kind": "api",
1774
+ "operation": "syncFacts",
1775
+ "code": "not-included",
1776
+ "reason": "not listed in api.include",
1777
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1778
+ },
1779
+ {
1780
+ "kind": "api",
1781
+ "operation": "syncFactsState",
1782
+ "code": "not-included",
1783
+ "reason": "not listed in api.include",
1784
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1785
+ },
1786
+ {
1787
+ "kind": "api",
1788
+ "operation": "updateFactEvidenceStatus",
1789
+ "code": "not-included",
1790
+ "reason": "not listed in api.include",
1791
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1792
+ },
1793
+ {
1794
+ "kind": "api",
1795
+ "operation": "updateFactEvidenceStatusAction",
1796
+ "code": "not-included",
1797
+ "reason": "not listed in api.include",
1798
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1799
+ },
1800
+ {
1801
+ "kind": "api",
1802
+ "operation": "updateMetadata",
1803
+ "code": "not-included",
1804
+ "reason": "not listed in api.include",
1805
+ "objectName": "@happyvertical/smrt-voice:VoiceOutput"
1806
+ }
1807
+ ],
1316
1808
  "relationshipFeatures": [
1317
1809
  "crossPackageRef",
1318
1810
  "foreignKey",
@@ -1549,6 +2041,15 @@
1549
2041
  "objectName": "@happyvertical/smrt-voice:VoiceProfile"
1550
2042
  }
1551
2043
  ],
2044
+ "withheldSurfaces": [
2045
+ {
2046
+ "kind": "api",
2047
+ "operation": "toSpeechVoice",
2048
+ "code": "not-included",
2049
+ "reason": "not listed in api.include",
2050
+ "objectName": "@happyvertical/smrt-voice:VoiceProfile"
2051
+ }
2052
+ ],
1552
2053
  "relationshipFeatures": [
1553
2054
  "crossPackageRef",
1554
2055
  "uuidColumns"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-voice",
3
- "version": "0.46.0",
3
+ "version": "0.47.1",
4
4
  "type": "module",
5
5
  "description": "Voice profile management for AI-powered voice synthesis and cloning in the SMRT ecosystem",
6
6
  "author": "HappyVertical",
@@ -29,22 +29,22 @@
29
29
  "AGENTS.md"
30
30
  ],
31
31
  "dependencies": {
32
- "@happyvertical/speech": "^0.89.4",
33
- "@happyvertical/utils": "^0.89.4",
34
- "@happyvertical/smrt-assets": "0.46.0",
35
- "@happyvertical/smrt-tenancy": "0.46.0",
36
- "@happyvertical/smrt-content": "0.46.0",
37
- "@happyvertical/smrt-config": "0.46.0",
38
- "@happyvertical/smrt-core": "0.46.0"
32
+ "@happyvertical/smrt-assets": "0.47.1",
33
+ "@happyvertical/smrt-config": "0.47.1",
34
+ "@happyvertical/smrt-content": "0.47.1",
35
+ "@happyvertical/smrt-core": "0.47.1",
36
+ "@happyvertical/smrt-tenancy": "0.47.1",
37
+ "@happyvertical/speech": "^0.89.6",
38
+ "@happyvertical/utils": "^0.89.6"
39
39
  },
40
40
  "devDependencies": {
41
- "@happyvertical/logger": "^0.89.4",
42
- "@happyvertical/sql": "^0.89.4",
41
+ "@happyvertical/logger": "^0.89.6",
42
+ "@happyvertical/smrt-vitest": "0.47.1",
43
+ "@happyvertical/sql": "^0.89.6",
43
44
  "@types/node": "24.13.2",
44
45
  "typescript": "5.9.3",
45
46
  "vite": "8.1.4",
46
- "vitest": "4.1.10",
47
- "@happyvertical/smrt-vitest": "0.46.0"
47
+ "vitest": "4.1.10"
48
48
  },
49
49
  "keywords": [
50
50
  "voice",