@nodaro/sdk 2.8.0 → 2.10.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.cjs +8 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +56 -6
- package/dist/index.d.ts +56 -6
- package/dist/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -671,8 +671,21 @@ interface Scene3DDeliveryAsset {
|
|
|
671
671
|
/** Export evidence is retained separately from the immutable scene it rendered. */
|
|
672
672
|
interface Scene3DDelivery {
|
|
673
673
|
deliveryId: string;
|
|
674
|
-
|
|
675
|
-
|
|
674
|
+
/**
|
|
675
|
+
* Null on a `refused-authoring` delivery and on that alone.
|
|
676
|
+
*
|
|
677
|
+
* A Pro run whose recipe the compiler refused on every pass still retains the refusal
|
|
678
|
+
* report, but nothing was ever compiled, so no scene revision was published. The field is
|
|
679
|
+
* null rather than absent so the shape stays one shape; read `sourceKind` to tell why.
|
|
680
|
+
*/
|
|
681
|
+
sceneRevisionId: string | null;
|
|
682
|
+
/**
|
|
683
|
+
* What this delivery was made from. Absent when read from a deployment that predates the
|
|
684
|
+
* refused lane, where every delivery necessarily had a scene behind it.
|
|
685
|
+
*/
|
|
686
|
+
sourceKind?: "retained-revision" | "job-output" | "refused-authoring";
|
|
687
|
+
/** Null when there is no plan to hash — see `sceneRevisionId`. */
|
|
688
|
+
sourcePlanSha256: string | null;
|
|
676
689
|
sourceContentHash: string | null;
|
|
677
690
|
sourceJobId: string | null;
|
|
678
691
|
workflowId: string | null;
|
|
@@ -796,7 +809,15 @@ interface Pro3DRenderRunOptions {
|
|
|
796
809
|
*/
|
|
797
810
|
idempotencyKey?: string;
|
|
798
811
|
}
|
|
799
|
-
/**
|
|
812
|
+
/**
|
|
813
|
+
* Render the exact scene revision through the existing render-video node.
|
|
814
|
+
*
|
|
815
|
+
* The price follows the plan's OWN `width`/`height`, not any node setting: a
|
|
816
|
+
* frame up to 1920 px on its longest side settles under `render-video`, a
|
|
817
|
+
* larger one under `render-video:3d-large` (1.5x) or, above 5.12 megapixels,
|
|
818
|
+
* `render-video:3d-xlarge` (2.5x). Read the current numbers from the
|
|
819
|
+
* model-cost API for those three identifiers.
|
|
820
|
+
*/
|
|
800
821
|
interface RenderScene3DParams extends Record<string, unknown> {
|
|
801
822
|
planType: "3d-scene";
|
|
802
823
|
plan: Scene3DPlan;
|
|
@@ -1207,7 +1228,11 @@ declare class Scene3DResource {
|
|
|
1207
1228
|
* authoring.
|
|
1208
1229
|
*/
|
|
1209
1230
|
renderProAndWait(params: Pro3DRenderParams | Pro3DRenderRunParams, options?: RunAndWaitOptions & Pro3DRenderRunOptions): Promise<Pro3DRenderJobOutput>;
|
|
1210
|
-
/**
|
|
1231
|
+
/**
|
|
1232
|
+
* Uses the supplied immutable revision; never starts authoring or a rebuild.
|
|
1233
|
+
*
|
|
1234
|
+
* Priced by the plan's frame size — see {@link RenderScene3DParams}.
|
|
1235
|
+
*/
|
|
1211
1236
|
render(params: RenderScene3DParams): Promise<RunNodeResult>;
|
|
1212
1237
|
renderAndWait(params: RenderScene3DParams, options?: RunAndWaitOptions): Promise<NodeJobOutput>;
|
|
1213
1238
|
}
|
|
@@ -1218,6 +1243,13 @@ declare class Scene3DResource {
|
|
|
1218
1243
|
*/
|
|
1219
1244
|
type DeveloperAppScope = "workflows:read" | "workflows:write" | "workflows:execute" | "jobs:read" | "assets:read" | "assets:write" | "credits:read" | "apps:read" | "pipelines:read" | "pipelines:execute" | "pipelines:approve";
|
|
1220
1245
|
type DeveloperAppStatus = "active" | "suspended" | "pending_review";
|
|
1246
|
+
/**
|
|
1247
|
+
* How the app came to exist. `user` is an app someone registered by hand in
|
|
1248
|
+
* the dashboard; the others register themselves (MCP clients via Dynamic
|
|
1249
|
+
* Client Registration, first-party MCP, a connected community instance).
|
|
1250
|
+
* Only `user` apps count toward the per-user registration cap.
|
|
1251
|
+
*/
|
|
1252
|
+
type DeveloperAppKind = "user" | "dynamic_mcp" | "first_party_mcp" | "community_instance";
|
|
1221
1253
|
interface DeveloperApp {
|
|
1222
1254
|
id: string;
|
|
1223
1255
|
name: string;
|
|
@@ -1229,6 +1261,8 @@ interface DeveloperApp {
|
|
|
1229
1261
|
scopesRequested: DeveloperAppScope[];
|
|
1230
1262
|
clientId: string;
|
|
1231
1263
|
status: DeveloperAppStatus;
|
|
1264
|
+
/** Absent from servers older than this field; treat missing as `"user"`. */
|
|
1265
|
+
kind?: DeveloperAppKind | (string & {});
|
|
1232
1266
|
createdAt: string;
|
|
1233
1267
|
updatedAt: string;
|
|
1234
1268
|
}
|
|
@@ -1331,6 +1365,12 @@ interface OAuthAppInfo {
|
|
|
1331
1365
|
logoUrl: string | null;
|
|
1332
1366
|
homepageUrl: string | null;
|
|
1333
1367
|
scopesRequested: DeveloperAppScope[];
|
|
1368
|
+
/**
|
|
1369
|
+
* Present when `getAppInfo` was given a `redirectUri`: whether that exact
|
|
1370
|
+
* URI is registered for the app. `null` when none was given. Lets a consent
|
|
1371
|
+
* screen refuse to redirect anywhere unregistered without exposing the list.
|
|
1372
|
+
*/
|
|
1373
|
+
redirectUriRegistered?: boolean | null;
|
|
1334
1374
|
}
|
|
1335
1375
|
declare class OAuthResource {
|
|
1336
1376
|
private client;
|
|
@@ -1353,7 +1393,7 @@ declare class OAuthResource {
|
|
|
1353
1393
|
* Get public app metadata for a consent screen.
|
|
1354
1394
|
* `GET /v1/oauth/app-info?client_id=<id>`. Public route — no auth needed.
|
|
1355
1395
|
*/
|
|
1356
|
-
getAppInfo(clientId: string): Promise<OAuthAppInfo>;
|
|
1396
|
+
getAppInfo(clientId: string, redirectUri?: string): Promise<OAuthAppInfo>;
|
|
1357
1397
|
}
|
|
1358
1398
|
|
|
1359
1399
|
/**
|
|
@@ -4559,6 +4599,16 @@ interface LlmStructuredJobInput extends LlmStructuredInput {
|
|
|
4559
4599
|
llmModel?: string;
|
|
4560
4600
|
selectionMode?: "choose" | "combine";
|
|
4561
4601
|
};
|
|
4602
|
+
/** Draft from THIS finished `video-analysis` job of yours instead of
|
|
4603
|
+
* analyzing `videoUrl` again: no second analysis, no second analysis
|
|
4604
|
+
* charge — a retry after a failed draft, another model, different
|
|
4605
|
+
* notes. `videoUrl` may still ride beside it as the record of the source.
|
|
4606
|
+
* 422 when the job is not yours, does not exist, or is not a finished,
|
|
4607
|
+
* readable video analysis (`analysis_not_found` / `not_analysis` /
|
|
4608
|
+
* `analysis_failed` / `analysis_not_ready` / `invalid_analysis` — never a
|
|
4609
|
+
* 404, which means the route itself is absent). Not combinable with
|
|
4610
|
+
* `videoAnalysis`. */
|
|
4611
|
+
analysisJobId?: string;
|
|
4562
4612
|
}
|
|
4563
4613
|
/** `output_data` of an `llm-structured` job as it progresses: `stage` while
|
|
4564
4614
|
* running (`analyzing` only for movie runs), then the result. */
|
|
@@ -7817,4 +7867,4 @@ interface ApiErrorBody {
|
|
|
7817
7867
|
}
|
|
7818
7868
|
declare function throwFromResponse(status: number, body: ApiErrorBody): never;
|
|
7819
7869
|
|
|
7820
|
-
export { type AccessTokenResponse, type AnalyzeInput, type AnalyzeResult, type AppRun, type AppRunResult, type ApplyChatProposalResult, type ApproveCreatureMainImageResult, type ApproveMainImageResult, type ApproveObjectMainImageResult, type ApprovePortraitResult, AppsResource, AudioResource, type Auth, type BranchPipelineInput, type BranchPipelineResult, type BrowseTemplatesParams, type BrowseTemplatesResult, CREATURE_ASSET_TYPES, CallbackAuth, type CancelExecutionParams, type CancelJobResult, CatalogsResource, type Character, type CharacterDetail, type CharacterUsage, CharactersResource, type ChatStageResult, type ChatTurn, type ClientOptions, type CloneTemplateParams, type CloneTemplateResult, CommunityResource, 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, CreaturesResource, type CreditStatus, CreditsResource, type DeleteAppRunResult, type DeleteJobResult, type DeveloperApp, type DeveloperAppScope, type DeveloperAppStatus, DeveloperAppsResource, type DownloadVideoProgress, type DubbingInput, type DuplicateCharacterInput, 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 GenerateLocationResult, type GenerateMotionInput, type GenerateObjectAssetInput, type GenerateObjectAssetResult, type GenerateObjectInput, type GenerateObjectMotionInput, type GenerateObjectMotionResult, type GenerateObjectResult, type GenerateScene3DParams, type GenerateSurroundContinuationInput, type GenerateVideoParams, 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 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 PickerCatalog, type PickerCatalogSummary, PickerCatalogsResource, type PickerDimension, type PickerOption, PipelinesResource, type PolicyBlockHint, PresetsResource, type Project, type ProjectedCatalog, type ProjectedCatalogDimension, type ProjectedCatalogOption, 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 ReferencePhoto, type ReferencePhotoKind, type RenderScene3DParams, type ResolveRecastGateInput, type RetainedScene3DEditParams, type RetainedScene3DEditResult, type RotateSecretResult, type RunAndWaitOptions, type RunAppOptions, type RunManyResult, type RunNodeAdjustment, type RunNodeResult, type RunWorkflowParams, type RunWorkflowResult, type SafetyBlockHint, type Scene3DAuthoringEngine, type Scene3DCapabilities, type Scene3DDelivery, type Scene3DDeliveryAsset, type Scene3DJobOutput, Scene3DResource, type Shot, type ShotEntityRef, type ShotMode, ShotsResource, 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 TextToVideoParams, 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 VideoMetadata, VideoProResource, 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 };
|
|
7870
|
+
export { type AccessTokenResponse, type AnalyzeInput, type AnalyzeResult, type AppRun, type AppRunResult, type ApplyChatProposalResult, type ApproveCreatureMainImageResult, type ApproveMainImageResult, type ApproveObjectMainImageResult, type ApprovePortraitResult, AppsResource, AudioResource, type Auth, type BranchPipelineInput, type BranchPipelineResult, type BrowseTemplatesParams, type BrowseTemplatesResult, CREATURE_ASSET_TYPES, CallbackAuth, type CancelExecutionParams, type CancelJobResult, CatalogsResource, type Character, type CharacterDetail, type CharacterUsage, CharactersResource, type ChatStageResult, type ChatTurn, type ClientOptions, type CloneTemplateParams, type CloneTemplateResult, CommunityResource, 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, CreaturesResource, type CreditStatus, CreditsResource, type DeleteAppRunResult, type DeleteJobResult, type DeveloperApp, type DeveloperAppKind, type DeveloperAppScope, type DeveloperAppStatus, DeveloperAppsResource, type DownloadVideoProgress, type DubbingInput, type DuplicateCharacterInput, 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 GenerateLocationResult, type GenerateMotionInput, type GenerateObjectAssetInput, type GenerateObjectAssetResult, type GenerateObjectInput, type GenerateObjectMotionInput, type GenerateObjectMotionResult, type GenerateObjectResult, type GenerateScene3DParams, type GenerateSurroundContinuationInput, type GenerateVideoParams, 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 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 PickerCatalog, type PickerCatalogSummary, PickerCatalogsResource, type PickerDimension, type PickerOption, PipelinesResource, type PolicyBlockHint, PresetsResource, type Project, type ProjectedCatalog, type ProjectedCatalogDimension, type ProjectedCatalogOption, 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 ReferencePhoto, type ReferencePhotoKind, type RenderScene3DParams, type ResolveRecastGateInput, type RetainedScene3DEditParams, type RetainedScene3DEditResult, type RotateSecretResult, type RunAndWaitOptions, type RunAppOptions, type RunManyResult, type RunNodeAdjustment, type RunNodeResult, type RunWorkflowParams, type RunWorkflowResult, type SafetyBlockHint, type Scene3DAuthoringEngine, type Scene3DCapabilities, type Scene3DDelivery, type Scene3DDeliveryAsset, type Scene3DJobOutput, Scene3DResource, type Shot, type ShotEntityRef, type ShotMode, ShotsResource, 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 TextToVideoParams, 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 VideoMetadata, VideoProResource, 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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -671,8 +671,21 @@ interface Scene3DDeliveryAsset {
|
|
|
671
671
|
/** Export evidence is retained separately from the immutable scene it rendered. */
|
|
672
672
|
interface Scene3DDelivery {
|
|
673
673
|
deliveryId: string;
|
|
674
|
-
|
|
675
|
-
|
|
674
|
+
/**
|
|
675
|
+
* Null on a `refused-authoring` delivery and on that alone.
|
|
676
|
+
*
|
|
677
|
+
* A Pro run whose recipe the compiler refused on every pass still retains the refusal
|
|
678
|
+
* report, but nothing was ever compiled, so no scene revision was published. The field is
|
|
679
|
+
* null rather than absent so the shape stays one shape; read `sourceKind` to tell why.
|
|
680
|
+
*/
|
|
681
|
+
sceneRevisionId: string | null;
|
|
682
|
+
/**
|
|
683
|
+
* What this delivery was made from. Absent when read from a deployment that predates the
|
|
684
|
+
* refused lane, where every delivery necessarily had a scene behind it.
|
|
685
|
+
*/
|
|
686
|
+
sourceKind?: "retained-revision" | "job-output" | "refused-authoring";
|
|
687
|
+
/** Null when there is no plan to hash — see `sceneRevisionId`. */
|
|
688
|
+
sourcePlanSha256: string | null;
|
|
676
689
|
sourceContentHash: string | null;
|
|
677
690
|
sourceJobId: string | null;
|
|
678
691
|
workflowId: string | null;
|
|
@@ -796,7 +809,15 @@ interface Pro3DRenderRunOptions {
|
|
|
796
809
|
*/
|
|
797
810
|
idempotencyKey?: string;
|
|
798
811
|
}
|
|
799
|
-
/**
|
|
812
|
+
/**
|
|
813
|
+
* Render the exact scene revision through the existing render-video node.
|
|
814
|
+
*
|
|
815
|
+
* The price follows the plan's OWN `width`/`height`, not any node setting: a
|
|
816
|
+
* frame up to 1920 px on its longest side settles under `render-video`, a
|
|
817
|
+
* larger one under `render-video:3d-large` (1.5x) or, above 5.12 megapixels,
|
|
818
|
+
* `render-video:3d-xlarge` (2.5x). Read the current numbers from the
|
|
819
|
+
* model-cost API for those three identifiers.
|
|
820
|
+
*/
|
|
800
821
|
interface RenderScene3DParams extends Record<string, unknown> {
|
|
801
822
|
planType: "3d-scene";
|
|
802
823
|
plan: Scene3DPlan;
|
|
@@ -1207,7 +1228,11 @@ declare class Scene3DResource {
|
|
|
1207
1228
|
* authoring.
|
|
1208
1229
|
*/
|
|
1209
1230
|
renderProAndWait(params: Pro3DRenderParams | Pro3DRenderRunParams, options?: RunAndWaitOptions & Pro3DRenderRunOptions): Promise<Pro3DRenderJobOutput>;
|
|
1210
|
-
/**
|
|
1231
|
+
/**
|
|
1232
|
+
* Uses the supplied immutable revision; never starts authoring or a rebuild.
|
|
1233
|
+
*
|
|
1234
|
+
* Priced by the plan's frame size — see {@link RenderScene3DParams}.
|
|
1235
|
+
*/
|
|
1211
1236
|
render(params: RenderScene3DParams): Promise<RunNodeResult>;
|
|
1212
1237
|
renderAndWait(params: RenderScene3DParams, options?: RunAndWaitOptions): Promise<NodeJobOutput>;
|
|
1213
1238
|
}
|
|
@@ -1218,6 +1243,13 @@ declare class Scene3DResource {
|
|
|
1218
1243
|
*/
|
|
1219
1244
|
type DeveloperAppScope = "workflows:read" | "workflows:write" | "workflows:execute" | "jobs:read" | "assets:read" | "assets:write" | "credits:read" | "apps:read" | "pipelines:read" | "pipelines:execute" | "pipelines:approve";
|
|
1220
1245
|
type DeveloperAppStatus = "active" | "suspended" | "pending_review";
|
|
1246
|
+
/**
|
|
1247
|
+
* How the app came to exist. `user` is an app someone registered by hand in
|
|
1248
|
+
* the dashboard; the others register themselves (MCP clients via Dynamic
|
|
1249
|
+
* Client Registration, first-party MCP, a connected community instance).
|
|
1250
|
+
* Only `user` apps count toward the per-user registration cap.
|
|
1251
|
+
*/
|
|
1252
|
+
type DeveloperAppKind = "user" | "dynamic_mcp" | "first_party_mcp" | "community_instance";
|
|
1221
1253
|
interface DeveloperApp {
|
|
1222
1254
|
id: string;
|
|
1223
1255
|
name: string;
|
|
@@ -1229,6 +1261,8 @@ interface DeveloperApp {
|
|
|
1229
1261
|
scopesRequested: DeveloperAppScope[];
|
|
1230
1262
|
clientId: string;
|
|
1231
1263
|
status: DeveloperAppStatus;
|
|
1264
|
+
/** Absent from servers older than this field; treat missing as `"user"`. */
|
|
1265
|
+
kind?: DeveloperAppKind | (string & {});
|
|
1232
1266
|
createdAt: string;
|
|
1233
1267
|
updatedAt: string;
|
|
1234
1268
|
}
|
|
@@ -1331,6 +1365,12 @@ interface OAuthAppInfo {
|
|
|
1331
1365
|
logoUrl: string | null;
|
|
1332
1366
|
homepageUrl: string | null;
|
|
1333
1367
|
scopesRequested: DeveloperAppScope[];
|
|
1368
|
+
/**
|
|
1369
|
+
* Present when `getAppInfo` was given a `redirectUri`: whether that exact
|
|
1370
|
+
* URI is registered for the app. `null` when none was given. Lets a consent
|
|
1371
|
+
* screen refuse to redirect anywhere unregistered without exposing the list.
|
|
1372
|
+
*/
|
|
1373
|
+
redirectUriRegistered?: boolean | null;
|
|
1334
1374
|
}
|
|
1335
1375
|
declare class OAuthResource {
|
|
1336
1376
|
private client;
|
|
@@ -1353,7 +1393,7 @@ declare class OAuthResource {
|
|
|
1353
1393
|
* Get public app metadata for a consent screen.
|
|
1354
1394
|
* `GET /v1/oauth/app-info?client_id=<id>`. Public route — no auth needed.
|
|
1355
1395
|
*/
|
|
1356
|
-
getAppInfo(clientId: string): Promise<OAuthAppInfo>;
|
|
1396
|
+
getAppInfo(clientId: string, redirectUri?: string): Promise<OAuthAppInfo>;
|
|
1357
1397
|
}
|
|
1358
1398
|
|
|
1359
1399
|
/**
|
|
@@ -4559,6 +4599,16 @@ interface LlmStructuredJobInput extends LlmStructuredInput {
|
|
|
4559
4599
|
llmModel?: string;
|
|
4560
4600
|
selectionMode?: "choose" | "combine";
|
|
4561
4601
|
};
|
|
4602
|
+
/** Draft from THIS finished `video-analysis` job of yours instead of
|
|
4603
|
+
* analyzing `videoUrl` again: no second analysis, no second analysis
|
|
4604
|
+
* charge — a retry after a failed draft, another model, different
|
|
4605
|
+
* notes. `videoUrl` may still ride beside it as the record of the source.
|
|
4606
|
+
* 422 when the job is not yours, does not exist, or is not a finished,
|
|
4607
|
+
* readable video analysis (`analysis_not_found` / `not_analysis` /
|
|
4608
|
+
* `analysis_failed` / `analysis_not_ready` / `invalid_analysis` — never a
|
|
4609
|
+
* 404, which means the route itself is absent). Not combinable with
|
|
4610
|
+
* `videoAnalysis`. */
|
|
4611
|
+
analysisJobId?: string;
|
|
4562
4612
|
}
|
|
4563
4613
|
/** `output_data` of an `llm-structured` job as it progresses: `stage` while
|
|
4564
4614
|
* running (`analyzing` only for movie runs), then the result. */
|
|
@@ -7817,4 +7867,4 @@ interface ApiErrorBody {
|
|
|
7817
7867
|
}
|
|
7818
7868
|
declare function throwFromResponse(status: number, body: ApiErrorBody): never;
|
|
7819
7869
|
|
|
7820
|
-
export { type AccessTokenResponse, type AnalyzeInput, type AnalyzeResult, type AppRun, type AppRunResult, type ApplyChatProposalResult, type ApproveCreatureMainImageResult, type ApproveMainImageResult, type ApproveObjectMainImageResult, type ApprovePortraitResult, AppsResource, AudioResource, type Auth, type BranchPipelineInput, type BranchPipelineResult, type BrowseTemplatesParams, type BrowseTemplatesResult, CREATURE_ASSET_TYPES, CallbackAuth, type CancelExecutionParams, type CancelJobResult, CatalogsResource, type Character, type CharacterDetail, type CharacterUsage, CharactersResource, type ChatStageResult, type ChatTurn, type ClientOptions, type CloneTemplateParams, type CloneTemplateResult, CommunityResource, 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, CreaturesResource, type CreditStatus, CreditsResource, type DeleteAppRunResult, type DeleteJobResult, type DeveloperApp, type DeveloperAppScope, type DeveloperAppStatus, DeveloperAppsResource, type DownloadVideoProgress, type DubbingInput, type DuplicateCharacterInput, 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 GenerateLocationResult, type GenerateMotionInput, type GenerateObjectAssetInput, type GenerateObjectAssetResult, type GenerateObjectInput, type GenerateObjectMotionInput, type GenerateObjectMotionResult, type GenerateObjectResult, type GenerateScene3DParams, type GenerateSurroundContinuationInput, type GenerateVideoParams, 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 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 PickerCatalog, type PickerCatalogSummary, PickerCatalogsResource, type PickerDimension, type PickerOption, PipelinesResource, type PolicyBlockHint, PresetsResource, type Project, type ProjectedCatalog, type ProjectedCatalogDimension, type ProjectedCatalogOption, 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 ReferencePhoto, type ReferencePhotoKind, type RenderScene3DParams, type ResolveRecastGateInput, type RetainedScene3DEditParams, type RetainedScene3DEditResult, type RotateSecretResult, type RunAndWaitOptions, type RunAppOptions, type RunManyResult, type RunNodeAdjustment, type RunNodeResult, type RunWorkflowParams, type RunWorkflowResult, type SafetyBlockHint, type Scene3DAuthoringEngine, type Scene3DCapabilities, type Scene3DDelivery, type Scene3DDeliveryAsset, type Scene3DJobOutput, Scene3DResource, type Shot, type ShotEntityRef, type ShotMode, ShotsResource, 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 TextToVideoParams, 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 VideoMetadata, VideoProResource, 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 };
|
|
7870
|
+
export { type AccessTokenResponse, type AnalyzeInput, type AnalyzeResult, type AppRun, type AppRunResult, type ApplyChatProposalResult, type ApproveCreatureMainImageResult, type ApproveMainImageResult, type ApproveObjectMainImageResult, type ApprovePortraitResult, AppsResource, AudioResource, type Auth, type BranchPipelineInput, type BranchPipelineResult, type BrowseTemplatesParams, type BrowseTemplatesResult, CREATURE_ASSET_TYPES, CallbackAuth, type CancelExecutionParams, type CancelJobResult, CatalogsResource, type Character, type CharacterDetail, type CharacterUsage, CharactersResource, type ChatStageResult, type ChatTurn, type ClientOptions, type CloneTemplateParams, type CloneTemplateResult, CommunityResource, 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, CreaturesResource, type CreditStatus, CreditsResource, type DeleteAppRunResult, type DeleteJobResult, type DeveloperApp, type DeveloperAppKind, type DeveloperAppScope, type DeveloperAppStatus, DeveloperAppsResource, type DownloadVideoProgress, type DubbingInput, type DuplicateCharacterInput, 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 GenerateLocationResult, type GenerateMotionInput, type GenerateObjectAssetInput, type GenerateObjectAssetResult, type GenerateObjectInput, type GenerateObjectMotionInput, type GenerateObjectMotionResult, type GenerateObjectResult, type GenerateScene3DParams, type GenerateSurroundContinuationInput, type GenerateVideoParams, 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 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 PickerCatalog, type PickerCatalogSummary, PickerCatalogsResource, type PickerDimension, type PickerOption, PipelinesResource, type PolicyBlockHint, PresetsResource, type Project, type ProjectedCatalog, type ProjectedCatalogDimension, type ProjectedCatalogOption, 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 ReferencePhoto, type ReferencePhotoKind, type RenderScene3DParams, type ResolveRecastGateInput, type RetainedScene3DEditParams, type RetainedScene3DEditResult, type RotateSecretResult, type RunAndWaitOptions, type RunAppOptions, type RunManyResult, type RunNodeAdjustment, type RunNodeResult, type RunWorkflowParams, type RunWorkflowResult, type SafetyBlockHint, type Scene3DAuthoringEngine, type Scene3DCapabilities, type Scene3DDelivery, type Scene3DDeliveryAsset, type Scene3DJobOutput, Scene3DResource, type Shot, type ShotEntityRef, type ShotMode, ShotsResource, 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 TextToVideoParams, 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 VideoMetadata, VideoProResource, 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 };
|
package/dist/index.js
CHANGED
|
@@ -736,7 +736,11 @@ var Scene3DResource = class {
|
|
|
736
736
|
idempotencyKey: options?.idempotencyKey ?? newIdempotencyKey()
|
|
737
737
|
});
|
|
738
738
|
}
|
|
739
|
-
/**
|
|
739
|
+
/**
|
|
740
|
+
* Uses the supplied immutable revision; never starts authoring or a rebuild.
|
|
741
|
+
*
|
|
742
|
+
* Priced by the plan's frame size — see {@link RenderScene3DParams}.
|
|
743
|
+
*/
|
|
740
744
|
render(params) {
|
|
741
745
|
return this.client.nodes.run("render-video", params);
|
|
742
746
|
}
|
|
@@ -822,9 +826,9 @@ var OAuthResource = class {
|
|
|
822
826
|
* Get public app metadata for a consent screen.
|
|
823
827
|
* `GET /v1/oauth/app-info?client_id=<id>`. Public route — no auth needed.
|
|
824
828
|
*/
|
|
825
|
-
getAppInfo(clientId) {
|
|
829
|
+
getAppInfo(clientId, redirectUri) {
|
|
826
830
|
return this.client.request("GET", "/v1/oauth/app-info", {
|
|
827
|
-
query: { client_id: clientId }
|
|
831
|
+
query: redirectUri ? { client_id: clientId, redirect_uri: redirectUri } : { client_id: clientId }
|
|
828
832
|
});
|
|
829
833
|
}
|
|
830
834
|
};
|
|
@@ -3397,7 +3401,7 @@ var WorkspacesResource = class {
|
|
|
3397
3401
|
return this.client.requestText("GET", `/v1/workspaces/${encodeURIComponent(id)}/usage`, { query: { ...opts, format: "csv" } });
|
|
3398
3402
|
}
|
|
3399
3403
|
};
|
|
3400
|
-
var SDK_VERSION = "2.
|
|
3404
|
+
var SDK_VERSION = "2.10.0" ;
|
|
3401
3405
|
var CLIENT_HEADER = "X-Nodaro-Client";
|
|
3402
3406
|
var isBrowser = () => typeof window !== "undefined" && typeof window.document !== "undefined";
|
|
3403
3407
|
var NodaroClient = class _NodaroClient {
|