@nodaro/sdk 2.26.0 → 2.28.0

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.d.cts CHANGED
@@ -1,8 +1,37 @@
1
- import * as _nodaro_shared from '@nodaro/shared';
2
- import { CollaboratorRole, GenericNode, GenericEdge, WorkflowExport, WorkflowImportReport, WorkflowVisibility, ExecutionOutcome, NodeExecutionStateWire, Scene3DReference, Scene3DPlan, Scene3DEditOperation, Scene3DV2EditOperation, Pro3DRenderSource, Pro3DRenderEngine, Pro3DRenderQuality, Pro3DRenderStyle, Scene3DJobOutputAny, Pro3DRenderJobOutput as Pro3DRenderJobOutput$1, Pro3DRenderCapabilities, Scene3DPlanV2, Pro3DRenderQuote as Pro3DRenderQuote$1, ModelInputAdjustment, ConnectedReference, DescribedReference, VideoCharacterReference, SocialSearchParams, VideoDepthProvider, VideoDepthModelSize, VideoDepthColormap, VideoDepthResolution, SocialPost, SocialPlatform, SocialSearchMode, Scene3DAssetRef, OAuthScope, TtsProvider, EntityStyle, CharacterAspectRatio, CharacterAttachColumn, LocationAssetType, LocationAttachColumn, SurroundDirection, ObjectAssetType, ObjectAttachColumn, ObjectAspectRatio, CreatureAttachColumn, PipelineInput, PipelineStatus, PipelineMode, PipelineStageName, AnimateSubGate, ChatEnabledStage, ProposedChange, ReduceStrategyId, ReduceMeta, Voice, VoiceLibraryParams, VoiceLibraryResponse, VoiceClone, AudioFxPreset, DialogueProvider, CaptionLookId, SupportedFontName, TranscribeLane, CaptionStyle, OverlayAnchor, VideoOverlayRequest, VideoMaskRequest, MaskCompositeRequest, TranscribeProvider, Transcript, ListSavedPostsParams, ListSavedPostsResult, SavePostInput, SavedPost, SavedPostsLookupResult, UpdateSavedPostInput, ListCollectionsResult, Collection, CreateCollectionInput, UpdateCollectionInput, ListCollectionRecordsParams, ListCollectionRecordsResult, CollectionRecord, BulkCollectionRecordsInput, BulkCollectionRecordsResult, CollectionRecordSource, AddCollectionRecordInput, AddCollectionRecordResult, CollectionExportFormat, CollectionUsage, TrackedCompetitor, CompetitorListResult, CompetitorDetail, CompetitorHistory, CompetitorCompareInput, CompetitorCompareResult, CreateCompetitorInput, UpdateCompetitorInput, CompetitorCardsResult, CompetitorLessonsResult, CompetitorActionsResult, CardActionResult, CompetitorDiscovery, CharacterMotionMetadata, RecastSegmentPack, BrowseCommunityParams, BrowseCommunityResult, CommunityCard, CommunityFullDetail, CommunityEntityType, CloneListingResult, FavoriteListingResult, CommunityReportReason, ReportListingResult, PublishListingParams, PublishListingResult, SharedListing, OrganizationView, OrgKind, OrgSettings, OrgPage, OrgMemberView, MemberStatus, WorkspaceRole, InvitationDelivery, InvitationState, InvitationView, InvitationPreview, OrgAuditEntry, UsageQuery, UsageReport, UsageLogEntry, WorkspaceSummary, WorkspaceView, WorkspaceSettings, WorkspaceMemberView, JoinCodeView, Edl, EditPlanMode, EditPlanTier, MeOrganizations } from '@nodaro/shared';
3
- export { ActionCard, ActionCardKind, ActionCardPriority, AddCollectionRecordInput, AddCollectionRecordResult, AdviceFamily, AdviceRecord, AnimateSubGate, AudioFxPreset, BrandLesson, BrandLessonKind, BrandLessons, BrandPlatformLessons, BrowseCommunityParams, BrowseCommunityResult, CHARACTER_ASPECT_DEFAULTS, CHARACTER_ASPECT_OPTIONS, CHARACTER_STYLES, OBJECT_ASPECT_DEFAULTS as CREATURE_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS as CREATURE_ASPECT_OPTIONS, CREATURE_ATTACH_COLUMNS, CardAction, CardActionResult, CardOutcome, CardOutcomeState, CardSnapshot, CardVerdict, ChapterSet, CharacterAspectRatio, ChatEnabledStage, CloneListingResult, Collection, CollectionCaps, CollectionDigestFormat, CollectionExportFormat, CollectionFieldValue, CollectionLimits, CollectionMedia, CollectionMediaType, CollectionRecord, CollectionRecordSource, CollectionWriteOutcome, CommunityCard, CommunityEntityType, CommunityFullDetail, CommunityReportReason, CommunitySort, CompetitorAboutPlatform, CompetitorAccountKey, CompetitorAccounts, CompetitorActionsResult, CompetitorBrandTally, CompetitorCardsResult, CompetitorCompareInput, CompetitorCompareResult, CompetitorDetail, CompetitorDiscovery, CompetitorHistory, CompetitorHistoryPlatform, CompetitorHistoryPoint, CompetitorLessonsResult, CompetitorListResult, CompetitorPeriod, CompetitorPeriodFollowers, CompetitorPeriodPlatform, CompetitorPlatformTally, CompetitorPost, CompetitorScan, CompetitorScanCounts, CompetitorScanSummary, CompetitorSchedule, CompetitorSearch, CompetitorSearchKind, ConnectedReference, CreateCollectionInput, CreateCompetitorInput, ObjectAspectRatio as CreatureAspectRatio, CreatureAttachColumn, DescribedReference, EditPlanMode, EditPlanTier, Edl, EdlClipSet, EntityStyle, ExecutionOutcome, FavoriteListingResult, GeminiOmniVoicePresetId, GenericEdge, GenericNode, InvitationDelivery, InvitationPreview, InvitationState, InvitationView, JoinCodeView, LOCATION_ASSET_TYPES, LOCATION_ATTACH_COLUMNS, ListCollectionRecordsParams, ListCollectionRecordsResult, ListCollectionsResult, ListSavedPostsParams, ListSavedPostsResult, LocationAssetType, LocationAttachColumn, MarkCardInput, MeOrganizations, MemberStatus, NodeExecutionStatus, NodeSkipReason, OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ATTACH_COLUMNS, OUTPUT_BEARING_NODE_STATUSES, ObjectAspectRatio, ObjectAssetType, ObjectAttachColumn, OrgAuditEntry, OrgErrorCode, OrgKind, OrgMemberView, OrgPage, OrgRole, OrgSettings, OrgStatus, OrganizationSummary, OrganizationView, PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY, PipelineInput, PipelineMode, PipelineStageName, PipelineStatus, PromptAffixFields, ProposedChange, PublishListingParams, PublishListingResult, RECAST_SEGMENT_PACKS, RecastSegmentPack, ReduceMeta, ReduceStrategyId, ReportListingResult, SURROUND_DIRECTIONS, SavePostInput, SavedPost, SavedPostSource, SavedPostsLookupResult, SharedListing, SharedVoice, SocialPlatform, SocialPost, SocialPostAuthor, SocialPostMedia, SocialPostMetrics, SocialSearchCount, SocialSearchMode, SocialSearchParams, SocialSearchPeriod, SocialSearchSort, SocialSearchVideoKind, SubGateName, SurroundDirection, TrackedCompetitor, TranscribeLane, TranscribeProvider, Transcript, USAGE_GROUP_BYS, UpdateCardActionInput, UpdateCollectionInput, UpdateCompetitorInput, UpdateSavedPostInput, UsageGroupBy, UsageLogEntry, UsageQuery, UsageReport, UsageReportRow, UsageReportTotals, UsageVarianceRow, VideoCharacterReference, VideoCharacterVoice, VideoDepthColormap, VideoDepthModelSize, VideoDepthProvider, VideoDepthResolution, Voice, VoiceClone, VoiceLibraryParams, VoiceLibraryResponse, WORKSPACE_HEADER, WorkflowExport, WorkflowExportCharacter, WorkflowExportLocation, WorkflowExportObject, WorkspaceMemberView, WorkspaceRole, WorkspaceSettings, WorkspaceSummary, WorkspaceView, nodeStateMayCarryOutput, unwrapEditPlanOutput } from '@nodaro/shared';
4
- import { DirectionFields, SubjectFields, PersonValue, WizardNodeContext, WizardQuestion, WizardSelection, RecommendedModel, FactoryPreset } from '@nodaro/prompts';
5
- export { PEOPLE, PERSON_DIMENSION_LABELS, PERSON_DIMENSION_ORDER, PersonValue, RecommendedModel, WizardNodeContext, WizardOption, WizardQuestion, WizardSelection, buildPersonHints } from '@nodaro/prompts';
1
+ import { GenericNode, GenericEdge, ConnectedReference, DescribedReference, CharacterMotionMetadata } from '@nodaro/shared/types';
2
+ export { ConnectedReference, DescribedReference, GenericEdge, GenericNode } from '@nodaro/shared/types';
3
+ import { WorkflowExport, WorkflowImportReport, ExecutionOutcome, NodeExecutionStateWire, ReduceStrategyId, ReduceMeta } from '@nodaro/shared/workflow';
4
+ export { ExecutionOutcome, NodeExecutionStatus, NodeSkipReason, OUTPUT_BEARING_NODE_STATUSES, ReduceMeta, ReduceStrategyId, WorkflowExport, WorkflowExportCharacter, WorkflowExportLocation, WorkflowExportObject, nodeStateMayCarryOutput } from '@nodaro/shared/workflow';
5
+ import { CollaboratorRole, WorkflowVisibility, OrganizationView, OrgKind, OrgSettings, OrgPage, OrgMemberView, MemberStatus, WorkspaceRole, InvitationDelivery, InvitationState, InvitationView, InvitationPreview, OrgAuditEntry, UsageQuery, UsageReport, UsageLogEntry, WorkspaceSummary, WorkspaceView, WorkspaceSettings, WorkspaceMemberView, JoinCodeView, MeOrganizations } from '@nodaro/shared/organizations';
6
+ export { InvitationDelivery, InvitationPreview, InvitationState, InvitationView, JoinCodeView, MeOrganizations, MemberStatus, OrgAuditEntry, OrgErrorCode, OrgKind, OrgMemberView, OrgPage, OrgRole, OrgSettings, OrgStatus, OrganizationSummary, OrganizationView, USAGE_GROUP_BYS, UsageGroupBy, UsageLogEntry, UsageQuery, UsageReport, UsageReportRow, UsageReportTotals, UsageVarianceRow, WORKSPACE_HEADER, WorkspaceMemberView, WorkspaceRole, WorkspaceSettings, WorkspaceSummary, WorkspaceView } from '@nodaro/shared/organizations';
7
+ import * as _nodaro_shared_scene3d from '@nodaro/shared/scene3d';
8
+ import { Scene3DReference, Scene3DPlan, Scene3DEditOperation, Scene3DV2EditOperation, Pro3DRenderSource, Pro3DRenderEngine, Pro3DRenderQuality, Pro3DRenderStyle, Scene3DJobOutputAny, Pro3DRenderJobOutput as Pro3DRenderJobOutput$1, Pro3DRenderCapabilities, Scene3DPlanV2, Pro3DRenderQuote as Pro3DRenderQuote$1, Scene3DAssetRef } from '@nodaro/shared/scene3d';
9
+ import { SocialSearchParams, SocialPost, SocialPlatform, SocialSearchMode, ListSavedPostsParams, ListSavedPostsResult, SavePostInput, SavedPost, SavedPostsLookupResult, UpdateSavedPostInput, TrackedCompetitor, CompetitorListResult, CompetitorDetail, CompetitorHistory, CompetitorCompareInput, CompetitorCompareResult, CreateCompetitorInput, UpdateCompetitorInput, CompetitorCardsResult, CompetitorLessonsResult, CompetitorActionsResult, CardActionResult, CompetitorDiscovery } from '@nodaro/shared/social';
10
+ export { ActionCard, ActionCardKind, ActionCardPriority, AdviceFamily, AdviceRecord, BrandLesson, BrandLessonKind, BrandLessons, BrandPlatformLessons, CardAction, CardActionResult, CardOutcome, CardOutcomeState, CardSnapshot, CardVerdict, CompetitorAboutPlatform, CompetitorAccountKey, CompetitorAccounts, CompetitorActionsResult, CompetitorBrandTally, CompetitorCardsResult, CompetitorCompareInput, CompetitorCompareResult, CompetitorDetail, CompetitorDiscovery, CompetitorHistory, CompetitorHistoryPlatform, CompetitorHistoryPoint, CompetitorLessonsResult, CompetitorListResult, CompetitorPeriod, CompetitorPeriodFollowers, CompetitorPeriodPlatform, CompetitorPlatformTally, CompetitorPost, CompetitorScan, CompetitorScanCounts, CompetitorScanSummary, CompetitorSchedule, CompetitorSearch, CompetitorSearchKind, CreateCompetitorInput, ListSavedPostsParams, ListSavedPostsResult, MarkCardInput, SavePostInput, SavedPost, SavedPostSource, SavedPostsLookupResult, SocialPlatform, SocialPost, SocialPostAuthor, SocialPostMedia, SocialPostMetrics, SocialSearchCount, SocialSearchMode, SocialSearchParams, SocialSearchPeriod, SocialSearchSort, SocialSearchVideoKind, TrackedCompetitor, UpdateCardActionInput, UpdateCompetitorInput, UpdateSavedPostInput } from '@nodaro/shared/social';
11
+ import { VideoCharacterReference, VideoOverlayRequest } from '@nodaro/shared/video';
12
+ export { VideoCharacterReference, VideoCharacterVoice } from '@nodaro/shared/video';
13
+ import { ModelInputAdjustment } from '@nodaro/shared/model-catalog';
14
+ import { VideoDepthProvider, VideoDepthModelSize, VideoDepthColormap, VideoDepthResolution, AudioFxPreset, OverlayAnchor, VideoMaskRequest, MaskCompositeRequest } from '@nodaro/shared/media';
15
+ export { AudioFxPreset, VideoDepthColormap, VideoDepthModelSize, VideoDepthProvider, VideoDepthResolution } from '@nodaro/shared/media';
16
+ import { DirectionFields, SubjectFields } from '@nodaro/prompts/prompt-builder';
17
+ import { OAuthScope, RecastSegmentPack, BrowseCommunityParams, BrowseCommunityResult, CommunityCard, CommunityFullDetail, CommunityEntityType, CloneListingResult, FavoriteListingResult, CommunityReportReason, ReportListingResult, PublishListingParams, PublishListingResult, SharedListing } from '@nodaro/shared/apps';
18
+ export { BrowseCommunityParams, BrowseCommunityResult, CloneListingResult, CommunityCard, CommunityEntityType, CommunityFullDetail, CommunityReportReason, CommunitySort, FavoriteListingResult, PublishListingParams, PublishListingResult, RECAST_SEGMENT_PACKS, RecastSegmentPack, ReportListingResult, SharedListing } from '@nodaro/shared/apps';
19
+ import { PersonValue } from '@nodaro/prompts/person';
20
+ export { PEOPLE, PERSON_DIMENSION_LABELS, PERSON_DIMENSION_ORDER, PersonValue, buildPersonHints } from '@nodaro/prompts/person';
21
+ import { EntityStyle, CharacterAspectRatio, CharacterAttachColumn, LocationAssetType, LocationAttachColumn, SurroundDirection, ObjectAssetType, ObjectAttachColumn, ObjectAspectRatio, CreatureAttachColumn } from '@nodaro/shared/entities';
22
+ export { CHARACTER_ASPECT_DEFAULTS, CHARACTER_ASPECT_OPTIONS, CHARACTER_STYLES, OBJECT_ASPECT_DEFAULTS as CREATURE_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS as CREATURE_ASPECT_OPTIONS, CREATURE_ATTACH_COLUMNS, CharacterAspectRatio, ObjectAspectRatio as CreatureAspectRatio, CreatureAttachColumn, EntityStyle, LOCATION_ASSET_TYPES, LOCATION_ATTACH_COLUMNS, LocationAssetType, LocationAttachColumn, OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ATTACH_COLUMNS, ObjectAspectRatio, ObjectAssetType, ObjectAttachColumn, SURROUND_DIRECTIONS, SurroundDirection } from '@nodaro/shared/entities';
23
+ import { TtsProvider, DialogueProvider, TranscribeLane, TranscribeProvider } from '@nodaro/shared/models';
24
+ export { GeminiOmniVoicePresetId, TranscribeLane, TranscribeProvider } from '@nodaro/shared/models';
25
+ import { PipelineInput, PipelineStatus, PipelineMode, PipelineStageName, AnimateSubGate, ChatEnabledStage, ProposedChange, Voice, VoiceLibraryParams, VoiceLibraryResponse, VoiceClone } from '@nodaro/shared/pipeline';
26
+ export { AnimateSubGate, ChatEnabledStage, PipelineInput, PipelineMode, PipelineStageName, PipelineStatus, ProposedChange, SharedVoice, SubGateName, Voice, VoiceClone, VoiceLibraryParams, VoiceLibraryResponse } from '@nodaro/shared/pipeline';
27
+ import { WizardNodeContext, WizardQuestion, WizardSelection, RecommendedModel } from '@nodaro/prompts/doctrine';
28
+ export { RecommendedModel, WizardNodeContext, WizardOption, WizardQuestion, WizardSelection } from '@nodaro/prompts/doctrine';
29
+ import { CaptionLookId, SupportedFontName, CaptionStyle } from '@nodaro/shared/captions';
30
+ import { Transcript, Edl, EdlTargetAspect, EditPlanTier, EditPlanMode } from '@nodaro/shared/edl';
31
+ export { ChapterSet, EditPlanMode, EditPlanTier, Edl, EdlClipSet, Transcript, unwrapEditPlanOutput } from '@nodaro/shared/edl';
32
+ import { FactoryPreset } from '@nodaro/prompts/presets';
33
+ import { ListCollectionsResult, Collection, CreateCollectionInput, UpdateCollectionInput, ListCollectionRecordsParams, ListCollectionRecordsResult, CollectionRecord, BulkCollectionRecordsInput, BulkCollectionRecordsResult, CollectionRecordSource, AddCollectionRecordInput, AddCollectionRecordResult, CollectionExportFormat, CollectionUsage } from '@nodaro/shared/nodes';
34
+ export { AddCollectionRecordInput, AddCollectionRecordResult, Collection, CollectionCaps, CollectionDigestFormat, CollectionExportFormat, CollectionFieldValue, CollectionLimits, CollectionMedia, CollectionMediaType, CollectionRecord, CollectionRecordSource, CollectionWriteOutcome, CreateCollectionInput, ListCollectionRecordsParams, ListCollectionRecordsResult, ListCollectionsResult, PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY, PromptAffixFields, UpdateCollectionInput } from '@nodaro/shared/nodes';
6
35
 
7
36
  /**
8
37
  * Auth provides the token used for `Authorization: Bearer <token>` on each request.
@@ -111,7 +140,13 @@ interface RunWorkflowParams {
111
140
  * not used). A run through the API has nobody to review a Preview render, so
112
141
  * a workflow whose Apply EDL render is set to Preview is refused
113
142
  * (`preview_review_required`) unless the run sets it to Final:
114
- * `{ [renderNodeId]: { quality: "final" } }`.
143
+ * `{ [renderNodeId]: { quality: "final" } }`. A Tighten Episode node with
144
+ * Review before render on is refused the same way (turn its review off). A
145
+ * failed execution records what held it — `preview_review_required` /
146
+ * `preview_render_nested` (a render), `…_review_on` (a review-on node) or
147
+ * `…_mixed` (both); match all six with `isPreviewRefusalCode` from
148
+ * `@nodaro/shared`. A review-on Tighten Episode fed by a List is refused
149
+ * with `use_case_review_list_driven`.
115
150
  */
116
151
  inputOverrides?: Record<string, Record<string, unknown>>;
117
152
  /**
@@ -486,7 +521,17 @@ interface Job {
486
521
  * `usage_logs.status`. `null` when there is no usage log to report. Never
487
522
  * changes the meaning of `credits` (the reserved amount) below. */
488
523
  credit_status?: CreditStatus | null;
524
+ /** The credits HELD when the job was accepted. Never changes — a job can
525
+ * settle below it; read {@link Job.credits_charged} for what it cost. */
489
526
  credits: number | null;
527
+ /**
528
+ * What the job actually cost once its hold settled. Can be lower than
529
+ * `credits` (the unused part goes back to the balance), `0` when the hold was
530
+ * refunded, `null` while the job is still running or when it reserved
531
+ * nothing of its own. Sum this — not `credits` — to total spend. Returned by
532
+ * `get()` and `list()`.
533
+ */
534
+ credits_charged?: number | null;
490
535
  job_type: string | null;
491
536
  created_at: string;
492
537
  started_at: string | null;
@@ -500,6 +545,9 @@ interface Job {
500
545
  */
501
546
  source?: string | null;
502
547
  source_detail?: string | null;
548
+ /** The generation session this job was born in (the `sessionId` sent with
549
+ * the generation request), or null. See `client.sessions`. */
550
+ session_id?: string | null;
503
551
  }
504
552
  interface CancelJobResult {
505
553
  success: true;
@@ -583,6 +631,116 @@ declare class JobsResource {
583
631
  delete(id: string): Promise<DeleteJobResult>;
584
632
  }
585
633
 
634
+ /**
635
+ * A generation session: one run of work in a creation tool (Create Image,
636
+ * Video, Music), optionally inside a project. Its project is fixed at
637
+ * creation — to get an item into another project, import it into a session
638
+ * there.
639
+ */
640
+ interface GenerationSession {
641
+ id: string;
642
+ /** Null when the session has no project, or its project was deleted. */
643
+ projectId: string | null;
644
+ /** Null = untitled; a UI may fall back to the first prompt. */
645
+ title: string | null;
646
+ /** The creation tool that owns the session, e.g. `"create-image"`. */
647
+ tool: string;
648
+ createdAt: string;
649
+ /** The latest activity: an item added, or an edit. */
650
+ updatedAt: string;
651
+ archivedAt: string | null;
652
+ itemCount: number;
653
+ /** Up to four image links of the newest completed items. */
654
+ previewUrls: string[];
655
+ }
656
+ interface CreateSessionInput {
657
+ /** One of your projects (on the side of the workspace line you are on). */
658
+ projectId?: string;
659
+ title?: string;
660
+ /** Lowercase letters, digits and dashes, at most 40 — e.g. `"create-image"`. */
661
+ tool: string;
662
+ }
663
+ interface UpdateSessionInput {
664
+ /** `null` makes the session untitled again. */
665
+ title?: string | null;
666
+ archived?: boolean;
667
+ }
668
+ interface ListSessionsParams {
669
+ projectId?: string;
670
+ tool?: string;
671
+ /** Archived sessions are left out unless this is true. */
672
+ includeArchived?: boolean;
673
+ /** Page size, 1–100 (server default 50). */
674
+ limit?: number;
675
+ /** The previous page's `next`. */
676
+ cursor?: string;
677
+ }
678
+ /** One item of a session's feed: a link to one of your jobs. */
679
+ interface SessionItem {
680
+ jobId: string;
681
+ addedAt: string;
682
+ /** True when imported from elsewhere rather than born in this session. */
683
+ imported: boolean;
684
+ importedFrom: {
685
+ sessionId: string;
686
+ title: string | null;
687
+ } | null;
688
+ job: Job;
689
+ }
690
+ interface ListSessionItemsParams {
691
+ limit?: number;
692
+ cursor?: string;
693
+ }
694
+ interface SessionPage<T> {
695
+ data: T[];
696
+ /** Pass back as `cursor` for the next page; `null` on the last one. */
697
+ next: string | null;
698
+ }
699
+ declare class SessionsResource {
700
+ private client;
701
+ constructor(client: NodaroClient);
702
+ /**
703
+ * Create a session. Send its `id` as `sessionId` on a generation request
704
+ * (`nodes.run("generate-image", { sessionId, … })`, video, speech, music) and
705
+ * the job is born in it.
706
+ */
707
+ create(input: CreateSessionInput): Promise<{
708
+ data: GenerationSession;
709
+ }>;
710
+ /** Your sessions, newest first. */
711
+ list(params?: ListSessionsParams): Promise<SessionPage<GenerationSession>>;
712
+ get(id: string): Promise<{
713
+ data: GenerationSession;
714
+ }>;
715
+ /** Rename or archive a session. Its project cannot change. */
716
+ update(id: string, input: UpdateSessionInput): Promise<{
717
+ data: GenerationSession;
718
+ }>;
719
+ /** Delete a session and its links. Its jobs are kept, and stay in every other session holding them. */
720
+ delete(id: string): Promise<{
721
+ success: true;
722
+ }>;
723
+ /** The session's items, born-in and imported, newest first. */
724
+ items(id: string, params?: ListSessionItemsParams): Promise<SessionPage<SessionItem>>;
725
+ /**
726
+ * Import some of your own jobs into a session — a link, not a copy (up to 100
727
+ * a call). All-or-nothing: if any id is not one of your jobs, nothing is
728
+ * imported and the call fails with 404. Items already there are left as they are.
729
+ */
730
+ importItems(id: string, input: {
731
+ jobIds: string[];
732
+ }): Promise<{
733
+ data: {
734
+ imported: number;
735
+ requested: number;
736
+ };
737
+ }>;
738
+ /** Remove one item from a session. Only the link goes: the job, and every other session holding it, stay. */
739
+ removeItem(id: string, jobId: string): Promise<{
740
+ success: true;
741
+ }>;
742
+ }
743
+
586
744
  /**
587
745
  * Generate Video Pro control surface (Cloud edition) — the checkpointed
588
746
  * long-video engine's stop/continue operations. The generation itself is
@@ -853,7 +1011,7 @@ interface Scene3DEngineParams {
853
1011
  /** Structured authoring inputs; reference roles are interpreted by the platform. */
854
1012
  interface GenerateScene3DParams extends Record<string, unknown>, Scene3DEngineParams {
855
1013
  /** Existing GLBs selected by immutable revision/artifact IDs. Requires an import-capable advanced engine. */
856
- inputAssets?: readonly _nodaro_shared.Scene3DInputAsset[];
1014
+ inputAssets?: readonly _nodaro_shared_scene3d.Scene3DInputAsset[];
857
1015
  prompt: string;
858
1016
  durationSeconds?: number;
859
1017
  fps?: number;
@@ -1127,7 +1285,7 @@ interface ReferenceCaptionParams {
1127
1285
  * Typed request body for `nodes.run("text-to-speech", …)` / `runAndWait`.
1128
1286
  * Common fields are typed; any other route field passes through.
1129
1287
  */
1130
- interface TextToSpeechParams {
1288
+ interface TextToSpeechParams extends GenerationSessionParams {
1131
1289
  text: string;
1132
1290
  /** A premade voice NAME (Rachel, George, …) or a library / custom voice id. */
1133
1291
  voice?: string;
@@ -1149,13 +1307,28 @@ interface TextToSpeechParams {
1149
1307
  nextText?: string;
1150
1308
  [k: string]: unknown;
1151
1309
  }
1310
+ /**
1311
+ * Fields every generation request accepts beside its own params.
1312
+ */
1313
+ interface GenerationSessionParams {
1314
+ /** A session from `client.sessions.create()` — the job is born in it and
1315
+ * shows in its feed. Must be one of yours (404 otherwise). */
1316
+ sessionId?: string;
1317
+ /** Your app's slug (`create-image`, …): stored on the job, and what
1318
+ * `jobs.list({ origin })` filters on. Lowercase letters, digits, dashes. */
1319
+ origin?: string;
1320
+ }
1152
1321
  /**
1153
1322
  * Typed request body for `nodes.run("generate-image", …)` / `runAndWait`.
1154
1323
  * Common fields are typed; any other route field passes through via the index
1155
1324
  * signature (the route Zod-validates the full body).
1156
1325
  */
1157
- interface GenerateImageParams extends StructuredReferenceParams {
1326
+ interface GenerateImageParams extends StructuredReferenceParams, GenerationSessionParams {
1158
1327
  prompt?: string;
1328
+ /** Pre & post text wrapped around `prompt` (a preset's words), joined the
1329
+ * same way every AI prompt node joins them. */
1330
+ promptPrefix?: string;
1331
+ promptSuffix?: string;
1159
1332
  provider?: string;
1160
1333
  /** Flat reference image URLs — appended after `connectedReferences`. */
1161
1334
  referenceImageUrls?: string[];
@@ -1166,7 +1339,7 @@ interface GenerateImageParams extends StructuredReferenceParams {
1166
1339
  * Typed request body for `nodes.run("generate-video", …)` / `runAndWait`.
1167
1340
  * Common fields are typed; any other route field passes through.
1168
1341
  */
1169
- interface GenerateVideoParams extends StructuredReferenceParams, ReferenceCaptionParams {
1342
+ interface GenerateVideoParams extends StructuredReferenceParams, ReferenceCaptionParams, GenerationSessionParams {
1170
1343
  prompt?: string;
1171
1344
  provider?: string;
1172
1345
  /** Start-frame image (image-to-video). */
@@ -1217,7 +1390,7 @@ interface GenerateVideoParams extends StructuredReferenceParams, ReferenceCaptio
1217
1390
  *
1218
1391
  * Common fields are typed; any other route field passes through.
1219
1392
  */
1220
- interface TextToVideoParams extends StructuredReferenceParams, ReferenceCaptionParams {
1393
+ interface TextToVideoParams extends StructuredReferenceParams, ReferenceCaptionParams, GenerationSessionParams {
1221
1394
  prompt: string;
1222
1395
  provider?: string;
1223
1396
  duration?: number;
@@ -1818,6 +1991,17 @@ interface PublishedApp {
1818
1991
  * item. 0 or absent when the app has no such input.
1819
1992
  */
1820
1993
  perItemCredits?: number;
1994
+ /**
1995
+ * The listed price is a range: `estimatedCredits` (with `perMinuteCredits` /
1996
+ * `perItemCredits`) is "from" — the app's saved settings — and these are
1997
+ * "up to": the most a run can cost over the choices the app's user has (every
1998
+ * exposed field, at the creator's restricted values where set). Present only
1999
+ * when they differ from "from"; absent on an app published before the range
2000
+ * existed until its next publish.
2001
+ */
2002
+ maxEstimatedCredits?: number;
2003
+ maxPerMinuteCredits?: number;
2004
+ maxPerItemCredits?: number;
1821
2005
  createdAt: string;
1822
2006
  updatedAt: string;
1823
2007
  }
@@ -5753,7 +5937,10 @@ declare class AudioResource {
5753
5937
  * `ratio` (1–20, overrides `amount`), `attackMs` (1–2000, default 20) and
5754
5938
  * `releaseMs` (10–9000, default 500) are optional fine controls. A ducked mix
5755
5939
  * sums its tracks rather than averaging them, so the voice keeps its level;
5756
- * the price is the same with or without a duck.
5940
+ * the price is the same with or without a duck. `endAt` (`"longest"`, the
5941
+ * default, or `"voice"`) says where the mix ends: `"voice"` ends it when the
5942
+ * voice (the `duck.under` track) ends (needs `duck`). A video URL is a track
5943
+ * too: its audio is mixed, and a video with no sound is a silent track.
5757
5944
  */
5758
5945
  mix(input: {
5759
5946
  audioUrls: string[];
@@ -5766,6 +5953,7 @@ declare class AudioResource {
5766
5953
  attackMs?: number;
5767
5954
  releaseMs?: number;
5768
5955
  };
5956
+ endAt?: "longest" | "voice";
5769
5957
  }): Promise<{
5770
5958
  jobId: string;
5771
5959
  }>;
@@ -5909,6 +6097,49 @@ interface SignupGrantClaimResult {
5909
6097
  /** True only when THIS call moved the credits — a repeat is `false` with the same state. */
5910
6098
  granted: boolean;
5911
6099
  }
6100
+ /**
6101
+ * One row of `GET /v1/credits/transactions` — a run's reservation and how it
6102
+ * settled.
6103
+ *
6104
+ * Which amount to read: a run first HOLDS credits and is then settled — charged
6105
+ * all or part of the hold, the rest returned. `credits_charged` is what the run
6106
+ * cost (`null` while the hold is still open, `0` once refunded); sum it for
6107
+ * spend. `credits_reserved` is the hold, which never changes. `credits_used`
6108
+ * is the same hold under its original name, kept for existing integrations.
6109
+ */
6110
+ interface CreditTransaction {
6111
+ id: string;
6112
+ /** ISO-8601. Also the paging cursor: pass the last row's value as `cursor`. */
6113
+ created_at: string;
6114
+ /** Settled charge; `null` while `status` is `"reserved"`, `0` when refunded. */
6115
+ credits_charged: number | null;
6116
+ /** The hold taken when the run was accepted. */
6117
+ credits_reserved: number | null;
6118
+ /** The hold, under its original name. Prefer `credits_charged`. */
6119
+ credits_used: number | null;
6120
+ /** The model or operation the credits were for. */
6121
+ action: string | null;
6122
+ provider: string | null;
6123
+ /** Reservation lifecycle: `"reserved"`, `"committed"` or `"refunded"`. */
6124
+ status: string | null;
6125
+ /** The caller's own billing details for the run (model, which pool paid, …). */
6126
+ metadata: Record<string, unknown>;
6127
+ /** `"workspace"` when a class or team budget paid, not your balance. */
6128
+ payer: "user" | "workspace";
6129
+ workspaceId: string | null;
6130
+ }
6131
+ /** A page of {@link CreditTransaction}s, newest first. */
6132
+ interface CreditTransactionsPage {
6133
+ data: CreditTransaction[];
6134
+ /** Pass as `cursor` for the next page; `null` when there are no more rows. */
6135
+ nextCursor: string | null;
6136
+ }
6137
+ interface CreditTransactionsOptions {
6138
+ /** Rows per page, 1–50 (server default 20). */
6139
+ limit?: number;
6140
+ /** The `nextCursor` of the previous page. */
6141
+ cursor?: string;
6142
+ }
5912
6143
  declare class CreditsResource {
5913
6144
  private client;
5914
6145
  constructor(client: NodaroClient);
@@ -5918,6 +6149,14 @@ declare class CreditsResource {
5918
6149
  * other typed errors on the usual statuses.
5919
6150
  */
5920
6151
  balance(): Promise<UserBalance>;
6152
+ /**
6153
+ * `GET /v1/credits/transactions` → one page of the caller's credit
6154
+ * transactions, newest first, with `nextCursor` for the next page (`null`
6155
+ * at the end). Read `credits_charged` for what each run cost — it can be
6156
+ * below the hold (`credits_reserved`) and is `null` while the hold is open.
6157
+ * Cloud-only route: a self-hosted instance answers 404.
6158
+ */
6159
+ transactions(options?: CreditTransactionsOptions): Promise<CreditTransactionsPage>;
5921
6160
  /**
5922
6161
  * `POST /v1/credits/model-costs` → per-identifier credit cost, for editor
5923
6162
  * cost previews. Capped at the first {@link MODEL_COSTS_LIMIT} identifiers
@@ -8134,6 +8373,13 @@ interface TemplateBrowseCard {
8134
8373
  * 0 or absent when the price does not depend on a recording's length.
8135
8374
  */
8136
8375
  estimatedPerMinuteCredits?: number;
8376
+ /**
8377
+ * The listed price is a range: `estimatedCredits` / `estimatedPerMinuteCredits`
8378
+ * are "from" (the saved settings), these "up to" — the most a run can cost over
8379
+ * the template's exposed fields. Present only when they differ from "from".
8380
+ */
8381
+ maxEstimatedCredits?: number;
8382
+ maxEstimatedPerMinuteCredits?: number;
8137
8383
  category: string;
8138
8384
  outputTypes: string[];
8139
8385
  tags: string[];
@@ -8791,6 +9037,90 @@ interface CameraSwitchInput {
8791
9037
  /** Optionally associate this run with a workflow execution (display only). */
8792
9038
  workflowId?: string;
8793
9039
  }
9040
+ /**
9041
+ * Input for {@link EditResource.tightenEpisode} and
9042
+ * {@link EditResource.estimateTightenEpisode}: one recording in, the tightened
9043
+ * episode out. Only `mediaUrl` is required; every other field left out takes
9044
+ * the node's default.
9045
+ */
9046
+ interface TightenEpisodeInput {
9047
+ /** The recording — a video or audio URL, up to 3 hours. */
9048
+ mediaUrl: string;
9049
+ /** Optional music bed, ducked under the voice and ending with the episode. */
9050
+ musicUrl?: string;
9051
+ /** `"video"` or `"audio"`; an audio recording always makes an audio episode. */
9052
+ output?: "video" | "audio";
9053
+ /**
9054
+ * Frame a video episode with Speaker View: an output aspect and a layout,
9055
+ * over automatic boxes on the speakers on screen. A layout the aspect does
9056
+ * not draw is snapped to one it does. `null` or absent: no framing.
9057
+ */
9058
+ framing?: {
9059
+ aspect: EdlTargetAspect;
9060
+ layout: "auto" | "single" | "side-by-side" | "stacked" | "grid" | "pip";
9061
+ } | null;
9062
+ /** Captions on a video episode (on by default). */
9063
+ captions?: boolean;
9064
+ /** The captions' look. */
9065
+ captionStyle?: CaptionStyle;
9066
+ /**
9067
+ * Stop at a quick preview for a person to review; render the full-quality
9068
+ * episode afterwards with {@link EditResource.continueUseCase}
9069
+ * (`mode: "render-final"`).
9070
+ */
9071
+ reviewBeforeRender?: boolean;
9072
+ /** The planner's tier. */
9073
+ planTier?: EditPlanTier;
9074
+ /** Editing instructions for the planner (up to 4 000 characters). */
9075
+ instructions?: string;
9076
+ /** A style guide for the planner (up to 4 000 characters). */
9077
+ styleGuide?: string;
9078
+ /** How far the music dips under the voice, 0–100 (default 75). */
9079
+ musicDuckAmount?: number;
9080
+ }
9081
+ /** What `tightenEpisode` and `continueUseCase` answer: the run's job to poll. */
9082
+ interface TightenEpisodeJobResult extends EditJobResult {
9083
+ /** The run's execution (absent on a deduplicated retry). */
9084
+ executionId?: string;
9085
+ /** `true` when an `Idempotency-Key` retry found the run already started: `jobId` is that run. */
9086
+ deduped?: boolean;
9087
+ }
9088
+ /**
9089
+ * What a Tighten Episode run is estimated at (`data`). Every credit amount is 0
9090
+ * on an edition without credits; `durationSec` is `null` when the recording's
9091
+ * length could not be read.
9092
+ */
9093
+ interface TightenEpisodeEstimate {
9094
+ /** The whole run: its steps plus the fee. */
9095
+ totalCredits: number;
9096
+ /** The steps at their own rates. */
9097
+ stepsCredits: number;
9098
+ /** The per-run fee. */
9099
+ feeCredits: number;
9100
+ /** The recording's length, in seconds. */
9101
+ durationSec: number | null;
9102
+ }
9103
+ /** Input for {@link EditResource.continueUseCase}. */
9104
+ interface UseCaseContinueInput {
9105
+ /** The run to continue: the job `tightenEpisode` (or an earlier continuation) answered. */
9106
+ jobId: string;
9107
+ /**
9108
+ * `"from-failed"` re-runs what did not finish of a failed run;
9109
+ * `"render-final"` renders the full-quality episode after a review-on preview.
9110
+ */
9111
+ mode: "from-failed" | "render-final";
9112
+ /** Render final only: the reviewer's edit of the plan (an EDL). */
9113
+ editedEdl?: unknown;
9114
+ }
9115
+ /** Per-call options for the Tighten Episode requests. */
9116
+ interface UseCaseRequestOptions {
9117
+ /**
9118
+ * Sent as the `Idempotency-Key` header. Reuse the same value when retrying
9119
+ * the same request and the server answers the run it already started
9120
+ * (`deduped: true`) instead of starting a second one.
9121
+ */
9122
+ idempotencyKey?: string;
9123
+ }
8794
9124
  /**
8795
9125
  * Editorial primitives for podcast / long-form video editing, single-camera
8796
9126
  * and multicam: measure the cameras' offsets ({@link audioSync}), plan the cut
@@ -8803,11 +9133,17 @@ interface CameraSwitchInput {
8803
9133
  * - {@link editPlan} and {@link cameraSwitch} run on nodaro.ai; a self-hosted
8804
9134
  * install relays them once it is connected (a 503
8805
9135
  * `code: "nodaro_connection_required"` otherwise).
9136
+ * - {@link tightenEpisode} runs the whole chain (transcribe, plan, render, and
9137
+ * optionally captions, music and framing) in one call. It is core, but a
9138
+ * self-hosted install needs a nodaro.ai connection for the steps that run
9139
+ * there (a 503 `code: "nodaro_connection_required"` otherwise).
9140
+ * {@link continueUseCase} continues one of its runs.
8806
9141
  * - {@link remapTranscript} is a PURE local transform (no request) — the same
8807
9142
  * remap `applyEdl` performs on its `transcript`, exposed for callers that hold
8808
9143
  * an EDL and a transcript and only want the re-timed transcript.
8809
9144
  *
8810
- * Every request method returns {@link EditJobResult}; poll the `jobId` with
9145
+ * Every request method except {@link estimateTightenEpisode} (a quote,
9146
+ * `{ data }`) returns {@link EditJobResult}; poll the `jobId` with
8811
9147
  * `client.jobs.getStatus(jobId)`.
8812
9148
  */
8813
9149
  declare class EditResource {
@@ -8835,6 +9171,35 @@ declare class EditResource {
8835
9171
  * "invalid_edl"`) before any credits are reserved.
8836
9172
  */
8837
9173
  applyEdl(input: ApplyEdlInput): Promise<EditJobResult>;
9174
+ /**
9175
+ * Tighten Episode (`POST /v1/tighten-episode`): tighten a podcast recording
9176
+ * in one call — transcribe, cut the silences and filler, render, with
9177
+ * optional captions, music and framing. Answers the run's job to poll; its
9178
+ * `output_data` holds the episode. The run is priced as its steps at their own
9179
+ * rates plus the listed per-run fee. Quote it first with
9180
+ * {@link estimateTightenEpisode}.
9181
+ */
9182
+ tightenEpisode(input: TightenEpisodeInput, options?: UseCaseRequestOptions): Promise<TightenEpisodeJobResult>;
9183
+ /**
9184
+ * What a Tighten Episode run is estimated at (`POST /v1/tighten-episode/estimate`):
9185
+ * its steps at their own rates plus its per-run fee. Nothing is created or
9186
+ * charged. The estimate leans high: the render is priced at the recording's
9187
+ * full length, while the charge follows the minutes actually rendered.
9188
+ */
9189
+ estimateTightenEpisode(input: TightenEpisodeInput): Promise<{
9190
+ data: TightenEpisodeEstimate;
9191
+ }>;
9192
+ /**
9193
+ * Continue a Tighten Episode run as a new job (`POST /v1/tighten-episode/continue`):
9194
+ * `"from-failed"` keeps the steps that finished and runs the rest (the fee is
9195
+ * held again; the failed run's was refunded); `"render-final"` renders the
9196
+ * full-quality episode after a review-on preview, with the preview's
9197
+ * settings and no fee. A refusal that names another job
9198
+ * (`already_running`, `continuation_superseded`,
9199
+ * `render_final_already_rendered`) throws a `ContinuationRefusedError`
9200
+ * carrying that `jobId`.
9201
+ */
9202
+ continueUseCase(input: UseCaseContinueInput, options?: UseCaseRequestOptions): Promise<TightenEpisodeJobResult>;
8838
9203
  /**
8839
9204
  * Plan a transcript-driven cut (`POST /v1/edit-plan`). Reads a timed
8840
9205
  * transcript (plus optional silence ranges) and the media sources, and plans
@@ -8944,6 +9309,8 @@ declare class NodaroClient {
8944
9309
  get fetch(): typeof fetch;
8945
9310
  readonly workflows: WorkflowsResource;
8946
9311
  readonly projects: ProjectsResource;
9312
+ /** Generation sessions inside projects (Create Image / Video / Music). */
9313
+ readonly sessions: SessionsResource;
8947
9314
  readonly jobs: JobsResource;
8948
9315
  readonly videoPro: VideoProResource;
8949
9316
  readonly executions: ExecutionsResource;
@@ -9108,6 +9475,24 @@ declare class StudioOpError extends NodaroError {
9108
9475
  /** Zero-based index into the `ops` array that was sent. */
9109
9476
  opIndex: number);
9110
9477
  }
9478
+ /**
9479
+ * A 409 that names the job to turn to instead: continuing a use-case run
9480
+ * (`client.edit.continueUseCase`) answers `already_running` (a continuation is
9481
+ * under way, or one that already completed — follow `jobId`),
9482
+ * `continuation_superseded` (a later continuation failed too — continue
9483
+ * `jobId` instead) or `render_final_already_rendered` (a Render final with this
9484
+ * very edit already completed — `jobId` holds the result). `code` and `status`
9485
+ * are what the server sent. Selected for exactly those three codes when the
9486
+ * answer carries a top-level `jobId`; every other 409 stays a plain
9487
+ * `NodaroError`.
9488
+ */
9489
+ declare class ContinuationRefusedError extends NodaroError {
9490
+ /** The job the refusal names. */
9491
+ readonly jobId: string;
9492
+ constructor(message: string, code: string,
9493
+ /** The job the refusal names. */
9494
+ jobId: string);
9495
+ }
9111
9496
  /**
9112
9497
  * HTTP 422 `job_blocked`. A job policy registered by this deployment refused
9113
9498
  * the generation **before it ran** — no job was created, nothing was reserved
@@ -9263,7 +9648,9 @@ interface ApiErrorBody {
9263
9648
  };
9264
9649
  /** The server framework's own top-level message, e.g. for a route it does not have. */
9265
9650
  message?: unknown;
9651
+ /** A refusal that names another job (see {@link ContinuationRefusedError}). */
9652
+ jobId?: unknown;
9266
9653
  }
9267
9654
  declare function throwFromResponse(status: number, body: ApiErrorBody): never;
9268
9655
 
9269
- export { type AccessTokenResponse, type AddCaptionsInput, type AddCollaboratorInput, type AnalyzeInput, type AnalyzeResult, type AppRun, type AppRunResult, type ApplyChatProposalResult, type ApplyEdlInput, type ApproveCreatureMainImageResult, type ApproveMainImageResult, type ApproveObjectMainImageResult, type ApprovePortraitResult, AppsResource, type AssembleNarratedVideoParams, AudioResource, type AudioSyncInput, type AudioSyncOffset, type AudioSyncResult, type AudioSyncSource, type Auth, type BranchPipelineInput, type BranchPipelineResult, type BrowseTemplatesParams, type BrowseTemplatesResult, CREATURE_ASSET_TYPES, CallbackAuth, type CameraSwitchInput, type CancelExecutionParams, type CancelJobResult, type CaptionEntry, type CaptionLookInput, type CaptionSegmentInput, type CatalogsListResponse, CatalogsResource, type Character, type CharacterDetail, type CharacterUsage, CharactersResource, type ChatStageResult, type ChatTurn, type ClientOptions, type CloneTemplateParams, type CloneTemplateResult, type Collaborator, CollectionsResource, CommunityResource, CompetitorsResource, type ContinueVideoProResult, type CopilotMemorySavedFrameData, type CopilotMessage, type CopilotMessagePart, type CopilotMetadataFrameData, type CopilotModelTier, CopilotResource, type CopilotRunMode, type CopilotRunProposalFrameData, type CopilotRunProposalNode, type CopilotStreamFrame, type CopilotStreamOptions, type CopilotSurface, type CopilotThread, type CopilotThreadWorkflow, type CopilotToolCallFrameData, type CopilotWiredAsset, type CopilotWorkflowCreatedFrameData, type CopilotWorkflowUpdateFrameData, type CreateCopilotThreadInput, type CreateCreatureInput, type CreateDeveloperAppInput, type CreateDeveloperAppResult, type CreateLocationInput, type CreateObjectInput, type CreateOrgInput, type CreateProjectInput, type CreateRecastInput, type CreateShotInput, type CreateWorkflowInput, type CreateWorkspaceInput, type Creature, type CreatureAssetType, type CreatureDetail, type CreatureReferencePhoto, type CreatureReferencePhotoKind, type CreatureVoice, CreaturesResource, type CreditStatus, CreditsResource, type DeleteAppRunResult, type DeleteJobResult, type DeveloperApp, type DeveloperAppKind, type DeveloperAppScope, type DeveloperAppStatus, DeveloperAppsResource, type DownloadVideoProgress, type DroppedCollaborator, type DubbingInput, type DuplicateCharacterInput, type EditJobResult, type EditPlanInput, type EditPlanSource, EditResource, type EditScene3DParams, type EnhanceInput, type EstimateRecastInput, type EstimateRecastRescoreInput, type ExchangeCodeInput, type ExecutionStatus, type ExecutionTriggerType, ExecutionsResource, type FactoryPresetsResult, ForbiddenError, type GenerateAssetInput, type GenerateCharacterInput, type GenerateCharacterResult, type GenerateCreatureAssetInput, type GenerateCreatureAssetResult, type GenerateCreatureInput, type GenerateCreatureMotionInput, type GenerateCreatureMotionResult, type GenerateCreatureResult, type GenerateImageParams, type GenerateInput, type GenerateLocationAssetInput, type GenerateLocationInput, type GenerateLocationMotionInput, type GenerateLocationResult, type GenerateMotionInput, type GenerateObjectAssetInput, type GenerateObjectAssetResult, type GenerateObjectInput, type GenerateObjectMotionInput, type GenerateObjectMotionResult, type GenerateObjectResult, type GenerateScene3DParams, type GenerateSurroundContinuationInput, type GenerateVideoParams, type GetCharacterOptions, type GetPickerCatalogOptions, type GetProductionOptions, InsufficientCreditsError, type InviteInput, type Job, JobAbortedError, JobBlockedError, type JobErrorHint, JobFailedError, JobHeldError, type JobStatus, type JobStatusResult, JobTimeoutError, JobsResource, type LibraryAsset, LibraryResource, type ListAppRunsParams, type ListAppsParams, type ListAppsResult, type ListCharactersParams, type ListCharactersResult, type ListCreaturesParams, type ListExecutionsForWorkflowParams, type ListExecutionsPage, type ListInvitationsOptions, type ListJobsPage, type ListJobsParams, type ListLibraryParams, type ListLibraryResult, type ListLocationsParams, type ListModelsOptions, type ListObjectsParams, type ListStudioProductionsOptions, type ListWorkflowsParams, LlmResource, type LlmStructuredInput, type LlmStructuredJobInput, type LlmStructuredJobOutput, type LlmStructuredResult, type Location, type LocationDetail, type LocationReferencePhoto, type LocationReferencePhotoKind, LocationsResource, type MediaProcessInput, type MediaProcessResult, MediaResource, type ModelCostsResult, type ModelFamilyGroup, type ModelSummary, type ModelsListResult, ModelsResource, NodaroClient, NodaroError, type NodeCategory, type NodeDescriptor, type NodeExecutionState, type NodeInputField, type NodeInputSchema, type NodeJobOutput, type NodePreset, type NodePresetGroup, NodesResource, NotFoundError, type OAuthAppInfo, OAuthResource, type Object$1 as Object, type ObjectCategory, type ObjectDetail, type ObjectReferencePhoto, type ObjectReferencePhotoKind, ObjectsResource, OrganizationsResource, type OutputType, type OverlayPlacement, type PendingApproval, type PickerCatalog, type PickerCatalogSection, type PickerCatalogSummary, PickerCatalogsResource, type PickerDimension, type PickerOption, type PipelineRecord, type PipelineTimeline, PipelinesResource, type PolicyBlockHint, PresetsResource, type Pro3DRenderJobOutput, type Pro3DRenderParams, type Pro3DRenderQuote, type Pro3DRenderRunOptions, type Pro3DRenderRunParams, type Project, type ProjectedCatalog, type ProjectedCatalogDimension, type ProjectedCatalogOption, type ProjectedCatalogSection, ProjectsResource, PromptHelperResource, type PromptResult, type PublishedApp, type PublishedAppDetail, RateLimitedError, type RecaptionCreatureResult, type RecaptionLocationResult, type RecaptionObjectResult, type RecaptionResult, type RecastAudioLayerName, type RecastAudioManifestV1, type RecastAudioMix, type RecastAudioMixControl, type RecastAudioSectionReplacement, type RecastEstimate, type RecastRescoreOperation, type RecastRescoreQuote, type RecastRescoreReplacement, type RecastRescoreRequestV2, type RecastRescoreResponse, RecastResource, type RecastRunSnapshot, type RecastScriptImportResult, type RecastScriptValidation, type RecastScriptValidationError, type ReduceInput, ReduceResource, type ReduceResult, type ReferenceCaptionParams, type ReferencePhoto, type ReferencePhotoKind, type RenderFinalParams, type RenderFinalQuote, type RenderScene3DParams, type ResolveRecastGateInput, type RetainedScene3DEditParams, type RetainedScene3DEditResult, type RotateSecretResult, type RunAndWaitOptions, type RunAppOptions, type RunManyResult, type RunNodeAdjustment, type RunNodeOptions, type RunNodeResult, type RunWorkflowParams, type RunWorkflowResult, SCENE3D_DELIVERY_ASSET_USAGE, type SafetyBlockHint, SavedPostsResource, type Scene3DAuthoringEngine, type Scene3DCapabilities, type Scene3DDelivery, type Scene3DDeliveryAsset, type Scene3DDeliveryAssetKind, type Scene3DJobOutput, Scene3DResource, type SharedWorkflow, type Shot, type ShotEntityRef, type ShotMode, ShotsResource, type SignupGrantClaimResult, type SignupKeys, type SilenceDetectInput, type SilenceRanges, type SocialSearchJobOutput, type SplitMediaInput, type SplitMediaOutput, StaticTokenAuth, type StopVideoProResult, StorageExceededError, type StructuredReferenceParams, type StudioClientRequestId, type StudioCloneRequest, type StudioCreateProductionRequest, type StudioDescribeRequest, type StudioDocumentJson, type StudioEditInput, type StudioExportPlanOptions, type StudioExportPlanResponse, type StudioExportStep, type StudioFrameRequest, type StudioGenerateEstimate, type StudioGenerateOptions, type StudioGenerateRequest, type StudioGenerateResponse, type StudioGenerateResult, type StudioGenerationReply, type StudioImportSummary, type StudioJobStartedResponse, type StudioKeyframeAcceptanceInput, type StudioKeyframeGenerationInput, type StudioKeyframeRecord, type StudioListProductionsResponse, type StudioMediaResponse, type StudioMusicRequest, type StudioOpClass, StudioOpError, type StudioOpsDryRunReceipt, type StudioOpsDryRunResponse, type StudioOpsImpact, type StudioOpsReceipt, type StudioOpsRequest, type StudioOpsResponse, type StudioPlanIssue, StudioPreviewAppliedError, StudioPreviewUnavailable, type StudioProduction, type StudioProductionCapabilities, type StudioProductionDetail, type StudioProductionRecord, type StudioProductionReply, type StudioProductionResponse, StudioProductionsResource, type StudioReconcileResponse, StudioResource, type StudioRevoiceRequest, type StudioShotGenerationInput, type StudioSkillResponse, type StudioValidatePlanResponse, type StudioVideoLane, type StudioVoiceRequest, type Template, type TemplateBrowseCard, type TemplateSort, TemplatesResource, type TextToPickerParams, type TextToPickerResult, type TextToSpeechParams, type TextToVideoParams, type TranscribeJobOutput, type TranscribeWord, type TutorialCategory, type TutorialFlowItem, type TutorialVideoItem, TutorialsResource, UnauthorizedError, type UpdateCreatureInput, type UpdateCreatureResult, type UpdateDeveloperAppInput, type UpdateLocationInput, type UpdateLocationResult, type UpdateObjectInput, type UpdateObjectResult, type UpdateProjectInput, type UpdateShotInput, type UpdateWorkflowInput, type UploadResult, UploadsResource, type UpsertCharacterInput, type UpsertCharacterResult, type UpsertCreatureInput, type UpsertCreatureResult, type UpsertObjectInput, type UpsertObjectResult, type UserBalance, type UserIdentity, type VcpAnalysis, type VcpAnalysisSpeaker, type VcpAnalyzeInput, type VcpExportInput, type VcpExportTrack, type VideoDepthParams, type VideoMetadata, VideoProResource, type VideoUpscaleParams, type VoiceChangerProInput, type VoiceChangerProVoice, type VoiceDesignInput, type VoiceRemixInput, VoicesResource, type Workflow, type WorkflowConflictCode, WorkflowConflictError, type WorkflowExecution, type WorkflowExecutionSummary, WorkflowsResource, WorkspacesResource, buildPersonSeedPrompt, createClient, isStudioGenerateEstimate, supabaseAuth, throwFromResponse };
9656
+ export { type AccessTokenResponse, type AddCaptionsInput, type AddCollaboratorInput, type AnalyzeInput, type AnalyzeResult, type AppRun, type AppRunResult, type ApplyChatProposalResult, type ApplyEdlInput, type ApproveCreatureMainImageResult, type ApproveMainImageResult, type ApproveObjectMainImageResult, type ApprovePortraitResult, AppsResource, type AssembleNarratedVideoParams, AudioResource, type AudioSyncInput, type AudioSyncOffset, type AudioSyncResult, type AudioSyncSource, type Auth, type BranchPipelineInput, type BranchPipelineResult, type BrowseTemplatesParams, type BrowseTemplatesResult, CREATURE_ASSET_TYPES, CallbackAuth, type CameraSwitchInput, type CancelExecutionParams, type CancelJobResult, type CaptionEntry, type CaptionLookInput, type CaptionSegmentInput, type CatalogsListResponse, CatalogsResource, type Character, type CharacterDetail, type CharacterUsage, CharactersResource, type ChatStageResult, type ChatTurn, type ClientOptions, type CloneTemplateParams, type CloneTemplateResult, type Collaborator, CollectionsResource, CommunityResource, CompetitorsResource, ContinuationRefusedError, type ContinueVideoProResult, type CopilotMemorySavedFrameData, type CopilotMessage, type CopilotMessagePart, type CopilotMetadataFrameData, type CopilotModelTier, CopilotResource, type CopilotRunMode, type CopilotRunProposalFrameData, type CopilotRunProposalNode, type CopilotStreamFrame, type CopilotStreamOptions, type CopilotSurface, type CopilotThread, type CopilotThreadWorkflow, type CopilotToolCallFrameData, type CopilotWiredAsset, type CopilotWorkflowCreatedFrameData, type CopilotWorkflowUpdateFrameData, type CreateCopilotThreadInput, type CreateCreatureInput, type CreateDeveloperAppInput, type CreateDeveloperAppResult, type CreateLocationInput, type CreateObjectInput, type CreateOrgInput, type CreateProjectInput, type CreateRecastInput, type CreateSessionInput, type CreateShotInput, type CreateWorkflowInput, type CreateWorkspaceInput, type Creature, type CreatureAssetType, type CreatureDetail, type CreatureReferencePhoto, type CreatureReferencePhotoKind, type CreatureVoice, CreaturesResource, type CreditStatus, type CreditTransaction, type CreditTransactionsOptions, type CreditTransactionsPage, CreditsResource, type DeleteAppRunResult, type DeleteJobResult, type DeveloperApp, type DeveloperAppKind, type DeveloperAppScope, type DeveloperAppStatus, DeveloperAppsResource, type DownloadVideoProgress, type DroppedCollaborator, type DubbingInput, type DuplicateCharacterInput, type EditJobResult, type EditPlanInput, type EditPlanSource, EditResource, type EditScene3DParams, type EnhanceInput, type EstimateRecastInput, type EstimateRecastRescoreInput, type ExchangeCodeInput, type ExecutionStatus, type ExecutionTriggerType, ExecutionsResource, type FactoryPresetsResult, ForbiddenError, type GenerateAssetInput, type GenerateCharacterInput, type GenerateCharacterResult, type GenerateCreatureAssetInput, type GenerateCreatureAssetResult, type GenerateCreatureInput, type GenerateCreatureMotionInput, type GenerateCreatureMotionResult, type GenerateCreatureResult, type GenerateImageParams, type GenerateInput, type GenerateLocationAssetInput, type GenerateLocationInput, type GenerateLocationMotionInput, type GenerateLocationResult, type GenerateMotionInput, type GenerateObjectAssetInput, type GenerateObjectAssetResult, type GenerateObjectInput, type GenerateObjectMotionInput, type GenerateObjectMotionResult, type GenerateObjectResult, type GenerateScene3DParams, type GenerateSurroundContinuationInput, type GenerateVideoParams, type GenerationSession, type GenerationSessionParams, type GetCharacterOptions, type GetPickerCatalogOptions, type GetProductionOptions, InsufficientCreditsError, type InviteInput, type Job, JobAbortedError, JobBlockedError, type JobErrorHint, JobFailedError, JobHeldError, type JobStatus, type JobStatusResult, JobTimeoutError, JobsResource, type LibraryAsset, LibraryResource, type ListAppRunsParams, type ListAppsParams, type ListAppsResult, type ListCharactersParams, type ListCharactersResult, type ListCreaturesParams, type ListExecutionsForWorkflowParams, type ListExecutionsPage, type ListInvitationsOptions, type ListJobsPage, type ListJobsParams, type ListLibraryParams, type ListLibraryResult, type ListLocationsParams, type ListModelsOptions, type ListObjectsParams, type ListSessionItemsParams, type ListSessionsParams, type ListStudioProductionsOptions, type ListWorkflowsParams, LlmResource, type LlmStructuredInput, type LlmStructuredJobInput, type LlmStructuredJobOutput, type LlmStructuredResult, type Location, type LocationDetail, type LocationReferencePhoto, type LocationReferencePhotoKind, LocationsResource, type MediaProcessInput, type MediaProcessResult, MediaResource, type ModelCostsResult, type ModelFamilyGroup, type ModelSummary, type ModelsListResult, ModelsResource, NodaroClient, NodaroError, type NodeCategory, type NodeDescriptor, type NodeExecutionState, type NodeInputField, type NodeInputSchema, type NodeJobOutput, type NodePreset, type NodePresetGroup, NodesResource, NotFoundError, type OAuthAppInfo, OAuthResource, type Object$1 as Object, type ObjectCategory, type ObjectDetail, type ObjectReferencePhoto, type ObjectReferencePhotoKind, ObjectsResource, OrganizationsResource, type OutputType, type OverlayPlacement, type PendingApproval, type PickerCatalog, type PickerCatalogSection, type PickerCatalogSummary, PickerCatalogsResource, type PickerDimension, type PickerOption, type PipelineRecord, type PipelineTimeline, PipelinesResource, type PolicyBlockHint, PresetsResource, type Pro3DRenderJobOutput, type Pro3DRenderParams, type Pro3DRenderQuote, type Pro3DRenderRunOptions, type Pro3DRenderRunParams, type Project, type ProjectedCatalog, type ProjectedCatalogDimension, type ProjectedCatalogOption, type ProjectedCatalogSection, ProjectsResource, PromptHelperResource, type PromptResult, type PublishedApp, type PublishedAppDetail, RateLimitedError, type RecaptionCreatureResult, type RecaptionLocationResult, type RecaptionObjectResult, type RecaptionResult, type RecastAudioLayerName, type RecastAudioManifestV1, type RecastAudioMix, type RecastAudioMixControl, type RecastAudioSectionReplacement, type RecastEstimate, type RecastRescoreOperation, type RecastRescoreQuote, type RecastRescoreReplacement, type RecastRescoreRequestV2, type RecastRescoreResponse, RecastResource, type RecastRunSnapshot, type RecastScriptImportResult, type RecastScriptValidation, type RecastScriptValidationError, type ReduceInput, ReduceResource, type ReduceResult, type ReferenceCaptionParams, type ReferencePhoto, type ReferencePhotoKind, type RenderFinalParams, type RenderFinalQuote, type RenderScene3DParams, type ResolveRecastGateInput, type RetainedScene3DEditParams, type RetainedScene3DEditResult, type RotateSecretResult, type RunAndWaitOptions, type RunAppOptions, type RunManyResult, type RunNodeAdjustment, type RunNodeOptions, type RunNodeResult, type RunWorkflowParams, type RunWorkflowResult, SCENE3D_DELIVERY_ASSET_USAGE, type SafetyBlockHint, SavedPostsResource, type Scene3DAuthoringEngine, type Scene3DCapabilities, type Scene3DDelivery, type Scene3DDeliveryAsset, type Scene3DDeliveryAssetKind, type Scene3DJobOutput, Scene3DResource, type SessionItem, type SessionPage, SessionsResource, type SharedWorkflow, type Shot, type ShotEntityRef, type ShotMode, ShotsResource, type SignupGrantClaimResult, type SignupKeys, type SilenceDetectInput, type SilenceRanges, type SocialSearchJobOutput, type SplitMediaInput, type SplitMediaOutput, StaticTokenAuth, type StopVideoProResult, StorageExceededError, type StructuredReferenceParams, type StudioClientRequestId, type StudioCloneRequest, type StudioCreateProductionRequest, type StudioDescribeRequest, type StudioDocumentJson, type StudioEditInput, type StudioExportPlanOptions, type StudioExportPlanResponse, type StudioExportStep, type StudioFrameRequest, type StudioGenerateEstimate, type StudioGenerateOptions, type StudioGenerateRequest, type StudioGenerateResponse, type StudioGenerateResult, type StudioGenerationReply, type StudioImportSummary, type StudioJobStartedResponse, type StudioKeyframeAcceptanceInput, type StudioKeyframeGenerationInput, type StudioKeyframeRecord, type StudioListProductionsResponse, type StudioMediaResponse, type StudioMusicRequest, type StudioOpClass, StudioOpError, type StudioOpsDryRunReceipt, type StudioOpsDryRunResponse, type StudioOpsImpact, type StudioOpsReceipt, type StudioOpsRequest, type StudioOpsResponse, type StudioPlanIssue, StudioPreviewAppliedError, StudioPreviewUnavailable, type StudioProduction, type StudioProductionCapabilities, type StudioProductionDetail, type StudioProductionRecord, type StudioProductionReply, type StudioProductionResponse, StudioProductionsResource, type StudioReconcileResponse, StudioResource, type StudioRevoiceRequest, type StudioShotGenerationInput, type StudioSkillResponse, type StudioValidatePlanResponse, type StudioVideoLane, type StudioVoiceRequest, type Template, type TemplateBrowseCard, type TemplateSort, TemplatesResource, type TextToPickerParams, type TextToPickerResult, type TextToSpeechParams, type TextToVideoParams, type TightenEpisodeEstimate, type TightenEpisodeInput, type TightenEpisodeJobResult, type TranscribeJobOutput, type TranscribeWord, type TutorialCategory, type TutorialFlowItem, type TutorialVideoItem, TutorialsResource, UnauthorizedError, type UpdateCreatureInput, type UpdateCreatureResult, type UpdateDeveloperAppInput, type UpdateLocationInput, type UpdateLocationResult, type UpdateObjectInput, type UpdateObjectResult, type UpdateProjectInput, type UpdateSessionInput, type UpdateShotInput, type UpdateWorkflowInput, type UploadResult, UploadsResource, type UpsertCharacterInput, type UpsertCharacterResult, type UpsertCreatureInput, type UpsertCreatureResult, type UpsertObjectInput, type UpsertObjectResult, type UseCaseContinueInput, type UseCaseRequestOptions, type UserBalance, type UserIdentity, type VcpAnalysis, type VcpAnalysisSpeaker, type VcpAnalyzeInput, type VcpExportInput, type VcpExportTrack, type VideoDepthParams, type VideoMetadata, VideoProResource, type VideoUpscaleParams, type VoiceChangerProInput, type VoiceChangerProVoice, type VoiceDesignInput, type VoiceRemixInput, VoicesResource, type Workflow, type WorkflowConflictCode, WorkflowConflictError, type WorkflowExecution, type WorkflowExecutionSummary, WorkflowsResource, WorkspacesResource, buildPersonSeedPrompt, createClient, isStudioGenerateEstimate, supabaseAuth, throwFromResponse };