@nodaro/sdk 2.7.0 → 2.9.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 +81 -13
- package/dist/index.d.ts +81 -13
- package/dist/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -796,7 +796,15 @@ interface Pro3DRenderRunOptions {
|
|
|
796
796
|
*/
|
|
797
797
|
idempotencyKey?: string;
|
|
798
798
|
}
|
|
799
|
-
/**
|
|
799
|
+
/**
|
|
800
|
+
* Render the exact scene revision through the existing render-video node.
|
|
801
|
+
*
|
|
802
|
+
* The price follows the plan's OWN `width`/`height`, not any node setting: a
|
|
803
|
+
* frame up to 1920 px on its longest side settles under `render-video`, a
|
|
804
|
+
* larger one under `render-video:3d-large` (1.5x) or, above 5.12 megapixels,
|
|
805
|
+
* `render-video:3d-xlarge` (2.5x). Read the current numbers from the
|
|
806
|
+
* model-cost API for those three identifiers.
|
|
807
|
+
*/
|
|
800
808
|
interface RenderScene3DParams extends Record<string, unknown> {
|
|
801
809
|
planType: "3d-scene";
|
|
802
810
|
plan: Scene3DPlan;
|
|
@@ -1207,7 +1215,11 @@ declare class Scene3DResource {
|
|
|
1207
1215
|
* authoring.
|
|
1208
1216
|
*/
|
|
1209
1217
|
renderProAndWait(params: Pro3DRenderParams | Pro3DRenderRunParams, options?: RunAndWaitOptions & Pro3DRenderRunOptions): Promise<Pro3DRenderJobOutput>;
|
|
1210
|
-
/**
|
|
1218
|
+
/**
|
|
1219
|
+
* Uses the supplied immutable revision; never starts authoring or a rebuild.
|
|
1220
|
+
*
|
|
1221
|
+
* Priced by the plan's frame size — see {@link RenderScene3DParams}.
|
|
1222
|
+
*/
|
|
1211
1223
|
render(params: RenderScene3DParams): Promise<RunNodeResult>;
|
|
1212
1224
|
renderAndWait(params: RenderScene3DParams, options?: RunAndWaitOptions): Promise<NodeJobOutput>;
|
|
1213
1225
|
}
|
|
@@ -1218,6 +1230,13 @@ declare class Scene3DResource {
|
|
|
1218
1230
|
*/
|
|
1219
1231
|
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
1232
|
type DeveloperAppStatus = "active" | "suspended" | "pending_review";
|
|
1233
|
+
/**
|
|
1234
|
+
* How the app came to exist. `user` is an app someone registered by hand in
|
|
1235
|
+
* the dashboard; the others register themselves (MCP clients via Dynamic
|
|
1236
|
+
* Client Registration, first-party MCP, a connected community instance).
|
|
1237
|
+
* Only `user` apps count toward the per-user registration cap.
|
|
1238
|
+
*/
|
|
1239
|
+
type DeveloperAppKind = "user" | "dynamic_mcp" | "first_party_mcp" | "community_instance";
|
|
1221
1240
|
interface DeveloperApp {
|
|
1222
1241
|
id: string;
|
|
1223
1242
|
name: string;
|
|
@@ -1229,6 +1248,8 @@ interface DeveloperApp {
|
|
|
1229
1248
|
scopesRequested: DeveloperAppScope[];
|
|
1230
1249
|
clientId: string;
|
|
1231
1250
|
status: DeveloperAppStatus;
|
|
1251
|
+
/** Absent from servers older than this field; treat missing as `"user"`. */
|
|
1252
|
+
kind?: DeveloperAppKind | (string & {});
|
|
1232
1253
|
createdAt: string;
|
|
1233
1254
|
updatedAt: string;
|
|
1234
1255
|
}
|
|
@@ -1331,6 +1352,12 @@ interface OAuthAppInfo {
|
|
|
1331
1352
|
logoUrl: string | null;
|
|
1332
1353
|
homepageUrl: string | null;
|
|
1333
1354
|
scopesRequested: DeveloperAppScope[];
|
|
1355
|
+
/**
|
|
1356
|
+
* Present when `getAppInfo` was given a `redirectUri`: whether that exact
|
|
1357
|
+
* URI is registered for the app. `null` when none was given. Lets a consent
|
|
1358
|
+
* screen refuse to redirect anywhere unregistered without exposing the list.
|
|
1359
|
+
*/
|
|
1360
|
+
redirectUriRegistered?: boolean | null;
|
|
1334
1361
|
}
|
|
1335
1362
|
declare class OAuthResource {
|
|
1336
1363
|
private client;
|
|
@@ -1353,7 +1380,7 @@ declare class OAuthResource {
|
|
|
1353
1380
|
* Get public app metadata for a consent screen.
|
|
1354
1381
|
* `GET /v1/oauth/app-info?client_id=<id>`. Public route — no auth needed.
|
|
1355
1382
|
*/
|
|
1356
|
-
getAppInfo(clientId: string): Promise<OAuthAppInfo>;
|
|
1383
|
+
getAppInfo(clientId: string, redirectUri?: string): Promise<OAuthAppInfo>;
|
|
1357
1384
|
}
|
|
1358
1385
|
|
|
1359
1386
|
/**
|
|
@@ -5924,6 +5951,21 @@ interface StudioOpsRequest {
|
|
|
5924
5951
|
/** Your own token for this batch, so a transport retry is not applied twice. */
|
|
5925
5952
|
clientRequestId?: StudioClientRequestId;
|
|
5926
5953
|
}
|
|
5954
|
+
/**
|
|
5955
|
+
* What else an operation touched — the work that now has to follow it.
|
|
5956
|
+
*
|
|
5957
|
+
* Reported by the operations whose effect reaches past the thing they name: a
|
|
5958
|
+
* frame review re-opens every frame derived from it and every shot bound to
|
|
5959
|
+
* those, a sequence fork mints a whole parallel set. Both lists are always
|
|
5960
|
+
* present and either may be empty; ids, never counts, because the caller's job
|
|
5961
|
+
* is to go and refresh THOSE.
|
|
5962
|
+
*/
|
|
5963
|
+
interface StudioOpsImpact {
|
|
5964
|
+
/** Planned frames the operation reaches, the named one first. */
|
|
5965
|
+
keyframeIds: string[];
|
|
5966
|
+
/** Shots bound to any of those frames. */
|
|
5967
|
+
shotIds: string[];
|
|
5968
|
+
}
|
|
5927
5969
|
/**
|
|
5928
5970
|
* One line of what an operation did, in the words a change log would use.
|
|
5929
5971
|
*
|
|
@@ -5937,6 +5979,12 @@ interface StudioOpsReceipt {
|
|
|
5937
5979
|
summary: string;
|
|
5938
5980
|
/** Ids the operation MINTED — never ids the caller supplied. */
|
|
5939
5981
|
ids?: string[];
|
|
5982
|
+
/**
|
|
5983
|
+
* The dependency scope, where the operation reports one — absent for the
|
|
5984
|
+
* many that touch only what they name. The route projects a receipt ONCE for
|
|
5985
|
+
* both answers, so this reads the same on an apply and on a preview.
|
|
5986
|
+
*/
|
|
5987
|
+
impact?: StudioOpsImpact;
|
|
5940
5988
|
}
|
|
5941
5989
|
/** What a batch produced. Adopt `production` whole; do not merge into it. */
|
|
5942
5990
|
interface StudioOpsResponse {
|
|
@@ -5955,19 +6003,39 @@ interface StudioOpsResponse {
|
|
|
5955
6003
|
*/
|
|
5956
6004
|
warnings: string[];
|
|
5957
6005
|
}
|
|
6006
|
+
/**
|
|
6007
|
+
* An operation's confirmation class — the vocabulary's own four letters.
|
|
6008
|
+
*
|
|
6009
|
+
* `S` safe · `D` delete · `P` changes who can reach the work · `$` spends
|
|
6010
|
+
* credits. The table that assigns them ships with the production codec and is
|
|
6011
|
+
* pinned complete over the operation union there; this is the wire's spelling
|
|
6012
|
+
* of its values, not a second table.
|
|
6013
|
+
*/
|
|
6014
|
+
type StudioOpClass = "S" | "D" | "P" | "$";
|
|
5958
6015
|
/**
|
|
5959
6016
|
* One line of what an operation WOULD do, for a person deciding whether to let
|
|
5960
|
-
* it. Everything {@link StudioOpsReceipt} says
|
|
5961
|
-
* the
|
|
5962
|
-
*
|
|
6017
|
+
* it. Everything {@link StudioOpsReceipt} says — the same summary, the same ids
|
|
6018
|
+
* and the same {@link StudioOpsImpact}, read in the conditional — plus the two
|
|
6019
|
+
* things the decision turns on and only a preview needs: which kind of change
|
|
6020
|
+
* it is, and whether it can be taken back.
|
|
5963
6021
|
*/
|
|
5964
6022
|
interface StudioOpsDryRunReceipt extends StudioOpsReceipt {
|
|
5965
|
-
/**
|
|
5966
|
-
|
|
5967
|
-
|
|
5968
|
-
|
|
5969
|
-
|
|
5970
|
-
|
|
6023
|
+
/**
|
|
6024
|
+
* The confirmation class, read out of the operation vocabulary's own table:
|
|
6025
|
+
* `S` safe, `D` deletes, `P` changes who can reach the work, `$` spends
|
|
6026
|
+
* credits. Narrow rather than open, because it is what a caller branches on
|
|
6027
|
+
* — a rule like "never a `D` without asking" is only writable if the
|
|
6028
|
+
* compiler knows the letters.
|
|
6029
|
+
*/
|
|
6030
|
+
class: StudioOpClass;
|
|
6031
|
+
/**
|
|
6032
|
+
* Present, and always `true`, when this operation put something in the bin
|
|
6033
|
+
* that can be brought back. ABSENT is the honest answer for everything else,
|
|
6034
|
+
* including a delete that destroys: there is no entry to name, so there is no
|
|
6035
|
+
* promise to make. Read it as `restorable ?? false`, never as `!restorable`
|
|
6036
|
+
* meaning "kept".
|
|
6037
|
+
*/
|
|
6038
|
+
restorable?: true;
|
|
5971
6039
|
}
|
|
5972
6040
|
/**
|
|
5973
6041
|
* What a batch WOULD do. Nothing was written: there is no production here and
|
|
@@ -7776,4 +7844,4 @@ interface ApiErrorBody {
|
|
|
7776
7844
|
}
|
|
7777
7845
|
declare function throwFromResponse(status: number, body: ApiErrorBody): never;
|
|
7778
7846
|
|
|
7779
|
-
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, StudioOpError, type StudioOpsDryRunReceipt, type StudioOpsDryRunResponse, 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 };
|
|
7847
|
+
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
|
@@ -796,7 +796,15 @@ interface Pro3DRenderRunOptions {
|
|
|
796
796
|
*/
|
|
797
797
|
idempotencyKey?: string;
|
|
798
798
|
}
|
|
799
|
-
/**
|
|
799
|
+
/**
|
|
800
|
+
* Render the exact scene revision through the existing render-video node.
|
|
801
|
+
*
|
|
802
|
+
* The price follows the plan's OWN `width`/`height`, not any node setting: a
|
|
803
|
+
* frame up to 1920 px on its longest side settles under `render-video`, a
|
|
804
|
+
* larger one under `render-video:3d-large` (1.5x) or, above 5.12 megapixels,
|
|
805
|
+
* `render-video:3d-xlarge` (2.5x). Read the current numbers from the
|
|
806
|
+
* model-cost API for those three identifiers.
|
|
807
|
+
*/
|
|
800
808
|
interface RenderScene3DParams extends Record<string, unknown> {
|
|
801
809
|
planType: "3d-scene";
|
|
802
810
|
plan: Scene3DPlan;
|
|
@@ -1207,7 +1215,11 @@ declare class Scene3DResource {
|
|
|
1207
1215
|
* authoring.
|
|
1208
1216
|
*/
|
|
1209
1217
|
renderProAndWait(params: Pro3DRenderParams | Pro3DRenderRunParams, options?: RunAndWaitOptions & Pro3DRenderRunOptions): Promise<Pro3DRenderJobOutput>;
|
|
1210
|
-
/**
|
|
1218
|
+
/**
|
|
1219
|
+
* Uses the supplied immutable revision; never starts authoring or a rebuild.
|
|
1220
|
+
*
|
|
1221
|
+
* Priced by the plan's frame size — see {@link RenderScene3DParams}.
|
|
1222
|
+
*/
|
|
1211
1223
|
render(params: RenderScene3DParams): Promise<RunNodeResult>;
|
|
1212
1224
|
renderAndWait(params: RenderScene3DParams, options?: RunAndWaitOptions): Promise<NodeJobOutput>;
|
|
1213
1225
|
}
|
|
@@ -1218,6 +1230,13 @@ declare class Scene3DResource {
|
|
|
1218
1230
|
*/
|
|
1219
1231
|
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
1232
|
type DeveloperAppStatus = "active" | "suspended" | "pending_review";
|
|
1233
|
+
/**
|
|
1234
|
+
* How the app came to exist. `user` is an app someone registered by hand in
|
|
1235
|
+
* the dashboard; the others register themselves (MCP clients via Dynamic
|
|
1236
|
+
* Client Registration, first-party MCP, a connected community instance).
|
|
1237
|
+
* Only `user` apps count toward the per-user registration cap.
|
|
1238
|
+
*/
|
|
1239
|
+
type DeveloperAppKind = "user" | "dynamic_mcp" | "first_party_mcp" | "community_instance";
|
|
1221
1240
|
interface DeveloperApp {
|
|
1222
1241
|
id: string;
|
|
1223
1242
|
name: string;
|
|
@@ -1229,6 +1248,8 @@ interface DeveloperApp {
|
|
|
1229
1248
|
scopesRequested: DeveloperAppScope[];
|
|
1230
1249
|
clientId: string;
|
|
1231
1250
|
status: DeveloperAppStatus;
|
|
1251
|
+
/** Absent from servers older than this field; treat missing as `"user"`. */
|
|
1252
|
+
kind?: DeveloperAppKind | (string & {});
|
|
1232
1253
|
createdAt: string;
|
|
1233
1254
|
updatedAt: string;
|
|
1234
1255
|
}
|
|
@@ -1331,6 +1352,12 @@ interface OAuthAppInfo {
|
|
|
1331
1352
|
logoUrl: string | null;
|
|
1332
1353
|
homepageUrl: string | null;
|
|
1333
1354
|
scopesRequested: DeveloperAppScope[];
|
|
1355
|
+
/**
|
|
1356
|
+
* Present when `getAppInfo` was given a `redirectUri`: whether that exact
|
|
1357
|
+
* URI is registered for the app. `null` when none was given. Lets a consent
|
|
1358
|
+
* screen refuse to redirect anywhere unregistered without exposing the list.
|
|
1359
|
+
*/
|
|
1360
|
+
redirectUriRegistered?: boolean | null;
|
|
1334
1361
|
}
|
|
1335
1362
|
declare class OAuthResource {
|
|
1336
1363
|
private client;
|
|
@@ -1353,7 +1380,7 @@ declare class OAuthResource {
|
|
|
1353
1380
|
* Get public app metadata for a consent screen.
|
|
1354
1381
|
* `GET /v1/oauth/app-info?client_id=<id>`. Public route — no auth needed.
|
|
1355
1382
|
*/
|
|
1356
|
-
getAppInfo(clientId: string): Promise<OAuthAppInfo>;
|
|
1383
|
+
getAppInfo(clientId: string, redirectUri?: string): Promise<OAuthAppInfo>;
|
|
1357
1384
|
}
|
|
1358
1385
|
|
|
1359
1386
|
/**
|
|
@@ -5924,6 +5951,21 @@ interface StudioOpsRequest {
|
|
|
5924
5951
|
/** Your own token for this batch, so a transport retry is not applied twice. */
|
|
5925
5952
|
clientRequestId?: StudioClientRequestId;
|
|
5926
5953
|
}
|
|
5954
|
+
/**
|
|
5955
|
+
* What else an operation touched — the work that now has to follow it.
|
|
5956
|
+
*
|
|
5957
|
+
* Reported by the operations whose effect reaches past the thing they name: a
|
|
5958
|
+
* frame review re-opens every frame derived from it and every shot bound to
|
|
5959
|
+
* those, a sequence fork mints a whole parallel set. Both lists are always
|
|
5960
|
+
* present and either may be empty; ids, never counts, because the caller's job
|
|
5961
|
+
* is to go and refresh THOSE.
|
|
5962
|
+
*/
|
|
5963
|
+
interface StudioOpsImpact {
|
|
5964
|
+
/** Planned frames the operation reaches, the named one first. */
|
|
5965
|
+
keyframeIds: string[];
|
|
5966
|
+
/** Shots bound to any of those frames. */
|
|
5967
|
+
shotIds: string[];
|
|
5968
|
+
}
|
|
5927
5969
|
/**
|
|
5928
5970
|
* One line of what an operation did, in the words a change log would use.
|
|
5929
5971
|
*
|
|
@@ -5937,6 +5979,12 @@ interface StudioOpsReceipt {
|
|
|
5937
5979
|
summary: string;
|
|
5938
5980
|
/** Ids the operation MINTED — never ids the caller supplied. */
|
|
5939
5981
|
ids?: string[];
|
|
5982
|
+
/**
|
|
5983
|
+
* The dependency scope, where the operation reports one — absent for the
|
|
5984
|
+
* many that touch only what they name. The route projects a receipt ONCE for
|
|
5985
|
+
* both answers, so this reads the same on an apply and on a preview.
|
|
5986
|
+
*/
|
|
5987
|
+
impact?: StudioOpsImpact;
|
|
5940
5988
|
}
|
|
5941
5989
|
/** What a batch produced. Adopt `production` whole; do not merge into it. */
|
|
5942
5990
|
interface StudioOpsResponse {
|
|
@@ -5955,19 +6003,39 @@ interface StudioOpsResponse {
|
|
|
5955
6003
|
*/
|
|
5956
6004
|
warnings: string[];
|
|
5957
6005
|
}
|
|
6006
|
+
/**
|
|
6007
|
+
* An operation's confirmation class — the vocabulary's own four letters.
|
|
6008
|
+
*
|
|
6009
|
+
* `S` safe · `D` delete · `P` changes who can reach the work · `$` spends
|
|
6010
|
+
* credits. The table that assigns them ships with the production codec and is
|
|
6011
|
+
* pinned complete over the operation union there; this is the wire's spelling
|
|
6012
|
+
* of its values, not a second table.
|
|
6013
|
+
*/
|
|
6014
|
+
type StudioOpClass = "S" | "D" | "P" | "$";
|
|
5958
6015
|
/**
|
|
5959
6016
|
* One line of what an operation WOULD do, for a person deciding whether to let
|
|
5960
|
-
* it. Everything {@link StudioOpsReceipt} says
|
|
5961
|
-
* the
|
|
5962
|
-
*
|
|
6017
|
+
* it. Everything {@link StudioOpsReceipt} says — the same summary, the same ids
|
|
6018
|
+
* and the same {@link StudioOpsImpact}, read in the conditional — plus the two
|
|
6019
|
+
* things the decision turns on and only a preview needs: which kind of change
|
|
6020
|
+
* it is, and whether it can be taken back.
|
|
5963
6021
|
*/
|
|
5964
6022
|
interface StudioOpsDryRunReceipt extends StudioOpsReceipt {
|
|
5965
|
-
/**
|
|
5966
|
-
|
|
5967
|
-
|
|
5968
|
-
|
|
5969
|
-
|
|
5970
|
-
|
|
6023
|
+
/**
|
|
6024
|
+
* The confirmation class, read out of the operation vocabulary's own table:
|
|
6025
|
+
* `S` safe, `D` deletes, `P` changes who can reach the work, `$` spends
|
|
6026
|
+
* credits. Narrow rather than open, because it is what a caller branches on
|
|
6027
|
+
* — a rule like "never a `D` without asking" is only writable if the
|
|
6028
|
+
* compiler knows the letters.
|
|
6029
|
+
*/
|
|
6030
|
+
class: StudioOpClass;
|
|
6031
|
+
/**
|
|
6032
|
+
* Present, and always `true`, when this operation put something in the bin
|
|
6033
|
+
* that can be brought back. ABSENT is the honest answer for everything else,
|
|
6034
|
+
* including a delete that destroys: there is no entry to name, so there is no
|
|
6035
|
+
* promise to make. Read it as `restorable ?? false`, never as `!restorable`
|
|
6036
|
+
* meaning "kept".
|
|
6037
|
+
*/
|
|
6038
|
+
restorable?: true;
|
|
5971
6039
|
}
|
|
5972
6040
|
/**
|
|
5973
6041
|
* What a batch WOULD do. Nothing was written: there is no production here and
|
|
@@ -7776,4 +7844,4 @@ interface ApiErrorBody {
|
|
|
7776
7844
|
}
|
|
7777
7845
|
declare function throwFromResponse(status: number, body: ApiErrorBody): never;
|
|
7778
7846
|
|
|
7779
|
-
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, StudioOpError, type StudioOpsDryRunReceipt, type StudioOpsDryRunResponse, 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 };
|
|
7847
|
+
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.9.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 {
|