@nodaro/sdk 1.25.0 → 1.26.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 +119 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +199 -3
- package/dist/index.d.ts +199 -3
- package/dist/index.js +116 -6
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CollaboratorRole, GenericNode, GenericEdge, WorkflowExport, WorkflowImportReport, WorkflowVisibility, ConnectedReference, TtsProvider, EntityStyle, CharacterAspectRatio, CharacterAttachColumn, LocationAssetType, LocationAttachColumn, SurroundDirection, ObjectAssetType, ObjectAttachColumn, ObjectAspectRatio, CreatureAttachColumn, PipelineInput, PipelineStatus, PipelineMode, PipelineStageName, SubGateName, ChatEnabledStage, ProposedChange, ReduceStrategyId, ReduceMeta, Voice, VoiceLibraryParams, VoiceLibraryResponse, VoiceClone, AudioFxPreset, BrowseCommunityParams, BrowseCommunityResult, CommunityCard, CommunityFullDetail, CommunityEntityType, CloneListingResult, FavoriteListingResult, CommunityReportReason, ReportListingResult, PublishListingParams, PublishListingResult, SharedListing, OrganizationView, OrgKind, OrgSettings, OrgPage, OrgMemberView, MemberStatus, WorkspaceRole, InvitationDelivery, InvitationState, InvitationView, InvitationPreview, OrgAuditEntry, WorkspaceSummary, WorkspaceView, WorkspaceSettings, WorkspaceMemberView, JoinCodeView, MeOrganizations } from '@nodaro/shared';
|
|
2
|
-
export { AudioFxPreset, BrowseCommunityParams, BrowseCommunityResult, CHARACTER_ASPECT_DEFAULTS, CHARACTER_ASPECT_OPTIONS, CHARACTER_STYLES, OBJECT_ASPECT_DEFAULTS as CREATURE_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS as CREATURE_ASPECT_OPTIONS, CREATURE_ATTACH_COLUMNS, CharacterAspectRatio, CloneListingResult, CommunityCard, CommunityEntityType, CommunityReportReason, CommunitySort, ConnectedReference, ObjectAspectRatio as CreatureAspectRatio, CreatureAttachColumn, EntityStyle, FavoriteListingResult, GenericEdge, GenericNode, InvitationDelivery, InvitationPreview, InvitationState, InvitationView, JoinCodeView, LOCATION_ASSET_TYPES, LOCATION_ATTACH_COLUMNS, LocationAssetType, LocationAttachColumn, MeOrganizations, MemberStatus, OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ATTACH_COLUMNS, ObjectAspectRatio, ObjectAssetType, ObjectAttachColumn, OrgAuditEntry, OrgErrorCode, OrgKind, OrgMemberView, OrgPage, OrgRole, OrgSettings, OrgStatus, OrganizationSummary, OrganizationView, PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY, PipelineStageName, PromptAffixFields, PublishListingParams, PublishListingResult, ReduceMeta, ReduceStrategyId, ReportListingResult, SURROUND_DIRECTIONS, SharedListing, SharedVoice, SurroundDirection, Voice, VoiceClone, VoiceLibraryParams, VoiceLibraryResponse, WORKSPACE_HEADER, WorkflowExport, WorkflowExportCharacter, WorkflowExportLocation, WorkflowExportObject, WorkspaceMemberView, WorkspaceRole, WorkspaceSettings, WorkspaceSummary, WorkspaceView } from '@nodaro/shared';
|
|
1
|
+
import { CollaboratorRole, GenericNode, GenericEdge, WorkflowExport, WorkflowImportReport, WorkflowVisibility, ConnectedReference, ModelInputAdjustment, TtsProvider, EntityStyle, CharacterAspectRatio, CharacterAttachColumn, LocationAssetType, LocationAttachColumn, SurroundDirection, ObjectAssetType, ObjectAttachColumn, ObjectAspectRatio, CreatureAttachColumn, PipelineInput, PipelineStatus, PipelineMode, PipelineStageName, SubGateName, ChatEnabledStage, ProposedChange, ReduceStrategyId, ReduceMeta, Voice, VoiceLibraryParams, VoiceLibraryResponse, VoiceClone, AudioFxPreset, BrowseCommunityParams, BrowseCommunityResult, CommunityCard, CommunityFullDetail, CommunityEntityType, CloneListingResult, FavoriteListingResult, CommunityReportReason, ReportListingResult, PublishListingParams, PublishListingResult, SharedListing, OrganizationView, OrgKind, OrgSettings, OrgPage, OrgMemberView, MemberStatus, WorkspaceRole, InvitationDelivery, InvitationState, InvitationView, InvitationPreview, OrgAuditEntry, UsageQuery, UsageReport, UsageLogEntry, WorkspaceSummary, WorkspaceView, WorkspaceSettings, WorkspaceMemberView, JoinCodeView, MeOrganizations } from '@nodaro/shared';
|
|
2
|
+
export { AudioFxPreset, BrowseCommunityParams, BrowseCommunityResult, CHARACTER_ASPECT_DEFAULTS, CHARACTER_ASPECT_OPTIONS, CHARACTER_STYLES, OBJECT_ASPECT_DEFAULTS as CREATURE_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS as CREATURE_ASPECT_OPTIONS, CREATURE_ATTACH_COLUMNS, CharacterAspectRatio, CloneListingResult, CommunityCard, CommunityEntityType, CommunityReportReason, CommunitySort, ConnectedReference, ObjectAspectRatio as CreatureAspectRatio, CreatureAttachColumn, EntityStyle, FavoriteListingResult, GenericEdge, GenericNode, InvitationDelivery, InvitationPreview, InvitationState, InvitationView, JoinCodeView, LOCATION_ASSET_TYPES, LOCATION_ATTACH_COLUMNS, LocationAssetType, LocationAttachColumn, MeOrganizations, MemberStatus, OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ATTACH_COLUMNS, ObjectAspectRatio, ObjectAssetType, ObjectAttachColumn, OrgAuditEntry, OrgErrorCode, OrgKind, OrgMemberView, OrgPage, OrgRole, OrgSettings, OrgStatus, OrganizationSummary, OrganizationView, PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY, PipelineStageName, PromptAffixFields, PublishListingParams, PublishListingResult, ReduceMeta, ReduceStrategyId, ReportListingResult, SURROUND_DIRECTIONS, SharedListing, SharedVoice, SurroundDirection, USAGE_GROUP_BYS, UsageGroupBy, UsageLogEntry, UsageQuery, UsageReport, UsageReportRow, UsageReportTotals, UsageVarianceRow, Voice, VoiceClone, VoiceLibraryParams, VoiceLibraryResponse, WORKSPACE_HEADER, WorkflowExport, WorkflowExportCharacter, WorkflowExportLocation, WorkflowExportObject, WorkspaceMemberView, WorkspaceRole, WorkspaceSettings, WorkspaceSummary, WorkspaceView } from '@nodaro/shared';
|
|
3
3
|
import { PersonValue, WizardNodeContext, WizardQuestion, WizardSelection, RecommendedModel, FactoryPreset } from '@nodaro/prompts';
|
|
4
4
|
export { PEOPLE, PERSON_DIMENSION_LABELS, PERSON_DIMENSION_ORDER, PersonValue, RecommendedModel, WizardNodeContext, WizardOption, WizardQuestion, WizardSelection, buildPersonHints } from '@nodaro/prompts';
|
|
5
5
|
|
|
@@ -354,6 +354,22 @@ interface CancelJobResult {
|
|
|
354
354
|
success: true;
|
|
355
355
|
cancelled: number;
|
|
356
356
|
}
|
|
357
|
+
interface ListJobsParams {
|
|
358
|
+
/** Exact match on `input_data.type` — the route that created the job
|
|
359
|
+
* (`"llm-structured"`, `"video-analysis"`, …). */
|
|
360
|
+
type?: string;
|
|
361
|
+
/** Exact match on `input_data.origin` — the client app that sent it. */
|
|
362
|
+
origin?: string;
|
|
363
|
+
/** Page size, 1–100 (server default 50). */
|
|
364
|
+
limit?: number;
|
|
365
|
+
/** The previous page's `next`. */
|
|
366
|
+
cursor?: string;
|
|
367
|
+
}
|
|
368
|
+
interface ListJobsPage {
|
|
369
|
+
data: Job[];
|
|
370
|
+
/** Pass back as `cursor` for the next page; `null` on the last one. */
|
|
371
|
+
next: string | null;
|
|
372
|
+
}
|
|
357
373
|
/**
|
|
358
374
|
* Lean job status returned by `GET /v1/jobs/:id/status`. Skips the
|
|
359
375
|
* `input_data` JSONB and cost/timestamp columns. Its `output_data` still goes
|
|
@@ -374,6 +390,12 @@ declare class JobsResource {
|
|
|
374
390
|
get(id: string): Promise<{
|
|
375
391
|
data: Job;
|
|
376
392
|
}>;
|
|
393
|
+
/**
|
|
394
|
+
* Your jobs, newest first (`GET /v1/jobs`), cursor-paginated. `type` and
|
|
395
|
+
* `origin` filter on the job's own `input_data`, which every job carries —
|
|
396
|
+
* a client app lists its runs with `{ type: "llm-structured", origin: "studio" }`.
|
|
397
|
+
*/
|
|
398
|
+
list(params?: ListJobsParams): Promise<ListJobsPage>;
|
|
377
399
|
/**
|
|
378
400
|
* Get the lean status of a single job (poll-loop friendly).
|
|
379
401
|
* Hits `GET /v1/jobs/:id/status` — returns only id/status/progress/
|
|
@@ -591,9 +613,22 @@ interface NodeDescriptor {
|
|
|
591
613
|
* result body. The shape is route-specific; consumers should branch on the
|
|
592
614
|
* presence of `jobId`.
|
|
593
615
|
*/
|
|
616
|
+
/**
|
|
617
|
+
* One parameter the server corrected because the chosen model does not accept
|
|
618
|
+
* the value you sent (e.g. `gpt-image-2` has no 3:2 aspect ratio). The run
|
|
619
|
+
* proceeds with the corrected value rather than failing — this is how you find
|
|
620
|
+
* out what it actually used.
|
|
621
|
+
*
|
|
622
|
+
* Re-exports `@nodaro/shared`'s `ModelInputAdjustment` — the same shape the
|
|
623
|
+
* server's `normalizeModelInput` / `resolveNormalizedImageGen` populate — under
|
|
624
|
+
* the SDK's naming convention, rather than declaring a second copy of the
|
|
625
|
+
* fields.
|
|
626
|
+
*/
|
|
627
|
+
type RunNodeAdjustment = ModelInputAdjustment;
|
|
594
628
|
type RunNodeResult = {
|
|
595
629
|
jobId: string;
|
|
596
630
|
usageLogId?: string;
|
|
631
|
+
adjustments?: RunNodeAdjustment[];
|
|
597
632
|
[k: string]: unknown;
|
|
598
633
|
} | Record<string, unknown>;
|
|
599
634
|
/**
|
|
@@ -4079,6 +4114,89 @@ interface DubbingInput {
|
|
|
4079
4114
|
watermark?: boolean;
|
|
4080
4115
|
}
|
|
4081
4116
|
|
|
4117
|
+
/**
|
|
4118
|
+
* Structured LLM output — `POST /v1/llm/structured` and its asynchronous
|
|
4119
|
+
* twin. The platform supplies the model lane, forced JSON-Schema output with
|
|
4120
|
+
* validation and error-fed retries, the job row and the credit lifecycle; the
|
|
4121
|
+
* caller supplies its own system prompt and schema (an app-owned vocabulary
|
|
4122
|
+
* the platform cannot know — Nodaro Studio's production plan is the first).
|
|
4123
|
+
*/
|
|
4124
|
+
interface LlmStructuredInput {
|
|
4125
|
+
/** The system prompt (≤ 100,000 chars). */
|
|
4126
|
+
system: string;
|
|
4127
|
+
/** The user turn (1–100,000 chars). */
|
|
4128
|
+
input: string;
|
|
4129
|
+
/** A JSON Schema OBJECT (`type: "object"`, ≤ 64 KB, ≤ 20 levels) in the
|
|
4130
|
+
* keyword subset the server converts — see the API guide. */
|
|
4131
|
+
jsonSchema: Record<string, unknown>;
|
|
4132
|
+
/** Names the forced-output tool the provider sees (≤ 64 chars). */
|
|
4133
|
+
schemaName?: string;
|
|
4134
|
+
llmModel?: string;
|
|
4135
|
+
reasoningEffort?: string;
|
|
4136
|
+
/** Invalid answers fed back with their error before the call fails (0–3, default 2). */
|
|
4137
|
+
maxRetries?: number;
|
|
4138
|
+
/** Your app's slug — attribution only; `jobs.list({ origin })` finds the rows. */
|
|
4139
|
+
origin?: string;
|
|
4140
|
+
advancedMode?: boolean;
|
|
4141
|
+
temperature?: number;
|
|
4142
|
+
maxTokens?: number;
|
|
4143
|
+
}
|
|
4144
|
+
interface LlmStructuredResult<T = unknown> {
|
|
4145
|
+
jobId: string;
|
|
4146
|
+
output: T;
|
|
4147
|
+
usage: {
|
|
4148
|
+
inputTokens: number;
|
|
4149
|
+
outputTokens: number;
|
|
4150
|
+
};
|
|
4151
|
+
}
|
|
4152
|
+
interface LlmStructuredJobInput extends LlmStructuredInput {
|
|
4153
|
+
/** Display label stored on the job (≤ 120 chars) — a run list's row title. */
|
|
4154
|
+
label?: string;
|
|
4155
|
+
/** Draft FROM this video: the platform analyzes it first (`POST
|
|
4156
|
+
* /v1/video-analysis`, a separate job you own) and appends the analysis
|
|
4157
|
+
* to `input` before the LLM call. */
|
|
4158
|
+
videoUrl?: string;
|
|
4159
|
+
/** Analysis options, handed to the analysis route unchanged (its tiers). */
|
|
4160
|
+
videoAnalysis?: {
|
|
4161
|
+
llmModel?: string;
|
|
4162
|
+
selectionMode?: "choose" | "combine";
|
|
4163
|
+
};
|
|
4164
|
+
}
|
|
4165
|
+
/** `output_data` of an `llm-structured` job as it progresses: `stage` while
|
|
4166
|
+
* running (`analyzing` only for movie runs), then the result. */
|
|
4167
|
+
interface LlmStructuredJobOutput<T = unknown> {
|
|
4168
|
+
stage?: "analyzing" | "drafting";
|
|
4169
|
+
output?: T;
|
|
4170
|
+
inputTokens?: number;
|
|
4171
|
+
outputTokens?: number;
|
|
4172
|
+
analysisJobId?: string;
|
|
4173
|
+
analysisCredits?: number;
|
|
4174
|
+
}
|
|
4175
|
+
declare class LlmResource {
|
|
4176
|
+
private client;
|
|
4177
|
+
constructor(client: NodaroClient);
|
|
4178
|
+
/**
|
|
4179
|
+
* Synchronous forced-schema completion (`POST /v1/llm/structured`). A call
|
|
4180
|
+
* can run several minutes — longer than the client's default 60 s
|
|
4181
|
+
* `timeoutMs`; construct the client with a larger `timeoutMs` for this
|
|
4182
|
+
* call, or use {@link LlmResource.structuredJob}.
|
|
4183
|
+
*/
|
|
4184
|
+
structured<T = unknown>(input: LlmStructuredInput): Promise<LlmStructuredResult<T>>;
|
|
4185
|
+
/**
|
|
4186
|
+
* The same call as a job (`POST /v1/llm/structured/jobs`): answers `{ jobId }`
|
|
4187
|
+
* at once. Poll `jobs.getStatus(jobId)` — `output_data` is an
|
|
4188
|
+
* {@link LlmStructuredJobOutput}; `error_message` says why a run failed.
|
|
4189
|
+
* `jobs.list({ type: "llm-structured", origin })` finds every run later.
|
|
4190
|
+
* Throws `NotFoundError` on a platform that predates the route. An instance
|
|
4191
|
+
* that proxies its LLM calls to nodaro.ai answers `503 provider_unavailable`
|
|
4192
|
+
* permanently — the SDK surfaces that as a generic `NodaroError` with the
|
|
4193
|
+
* same code; treat it as unavailable here, not as transient.
|
|
4194
|
+
*/
|
|
4195
|
+
structuredJob(input: LlmStructuredJobInput): Promise<{
|
|
4196
|
+
jobId: string;
|
|
4197
|
+
}>;
|
|
4198
|
+
}
|
|
4199
|
+
|
|
4082
4200
|
/**
|
|
4083
4201
|
* Media ingestion + trimming — the source-preparation steps a Voice Changer Pro
|
|
4084
4202
|
* flow (or any pipeline) needs before it has a clip to work on: pull a social
|
|
@@ -4251,6 +4369,16 @@ declare class MediaResource {
|
|
|
4251
4369
|
videoMetadata(input: {
|
|
4252
4370
|
url: string;
|
|
4253
4371
|
}): Promise<VideoMetadata>;
|
|
4372
|
+
/**
|
|
4373
|
+
* Cut or crop a stored file (`POST /v1/media/process`) — synchronous and
|
|
4374
|
+
* free, the source-preparation sibling of the priced `trimVideo` node.
|
|
4375
|
+
* `trim` is `[startTime, endTime]` in seconds; `deleteSource: true` removes
|
|
4376
|
+
* the source object afterwards when it is yours and nothing else references
|
|
4377
|
+
* it ("the cut replaces the original"). Answers the stored file.
|
|
4378
|
+
*/
|
|
4379
|
+
process(input: MediaProcessInput): Promise<{
|
|
4380
|
+
data: MediaProcessResult;
|
|
4381
|
+
}>;
|
|
4254
4382
|
}
|
|
4255
4383
|
/**
|
|
4256
4384
|
* One event from {@link MediaResource.downloadVideoProgress}. The stream ends
|
|
@@ -4277,6 +4405,30 @@ interface VideoMetadata {
|
|
|
4277
4405
|
isLive?: boolean;
|
|
4278
4406
|
[key: string]: unknown;
|
|
4279
4407
|
}
|
|
4408
|
+
interface MediaProcessInput {
|
|
4409
|
+
sourceUrl: string;
|
|
4410
|
+
type: "video" | "audio";
|
|
4411
|
+
trim?: {
|
|
4412
|
+
startTime: number;
|
|
4413
|
+
endTime: number;
|
|
4414
|
+
};
|
|
4415
|
+
crop?: {
|
|
4416
|
+
x: number;
|
|
4417
|
+
y: number;
|
|
4418
|
+
width: number;
|
|
4419
|
+
height: number;
|
|
4420
|
+
};
|
|
4421
|
+
format?: "mp4" | "webm" | "mp3" | "wav" | "m4a" | "aac";
|
|
4422
|
+
deleteSource?: boolean;
|
|
4423
|
+
}
|
|
4424
|
+
interface MediaProcessResult {
|
|
4425
|
+
url: string;
|
|
4426
|
+
thumbnailUrl: string | null;
|
|
4427
|
+
assetId: string | null;
|
|
4428
|
+
sizeBytes: number;
|
|
4429
|
+
mimeType: string;
|
|
4430
|
+
metadata: Record<string, unknown>;
|
|
4431
|
+
}
|
|
4280
4432
|
|
|
4281
4433
|
/**
|
|
4282
4434
|
* Audio primitives — the building blocks Voice Changer Pro composes internally
|
|
@@ -5504,6 +5656,20 @@ declare class OrganizationsResource {
|
|
|
5504
5656
|
cursor?: string;
|
|
5505
5657
|
limit?: number;
|
|
5506
5658
|
}): Promise<OrgPage<OrgAuditEntry>>;
|
|
5659
|
+
/**
|
|
5660
|
+
* Credits by workspace, member, model or day. Owner and org admins only.
|
|
5661
|
+
* Inclusive dates (`from`/`to`), IANA `tz` (default UTC), ≤ 366 days
|
|
5662
|
+
* (default last 30).
|
|
5663
|
+
*/
|
|
5664
|
+
usage(orgId: string, opts?: Omit<UsageQuery, "cursor" | "limit" | "groupBy"> & {
|
|
5665
|
+
groupBy?: "workspace" | "member" | "model" | "day";
|
|
5666
|
+
}): Promise<{
|
|
5667
|
+
data: UsageReport;
|
|
5668
|
+
}>;
|
|
5669
|
+
/** The individual runs behind a report, newest first, cursor-paged. */
|
|
5670
|
+
usageRows(orgId: string, opts?: Omit<UsageQuery, "groupBy">): Promise<OrgPage<UsageLogEntry>>;
|
|
5671
|
+
/** The same report (or the rows, with `groupBy: "none"`) as CSV text. */
|
|
5672
|
+
usageCsv(orgId: string, opts?: Omit<UsageQuery, "cursor" | "limit">): Promise<string>;
|
|
5507
5673
|
}
|
|
5508
5674
|
|
|
5509
5675
|
/**
|
|
@@ -5608,6 +5774,21 @@ declare class WorkspacesResource {
|
|
|
5608
5774
|
workspaceId: string;
|
|
5609
5775
|
};
|
|
5610
5776
|
}>;
|
|
5777
|
+
/**
|
|
5778
|
+
* Credits by member, model or day for this workspace. A plain member sees
|
|
5779
|
+
* their OWN runs (the report is self-narrowed and `groupBy: "member"` is
|
|
5780
|
+
* refused); a workspace admin sees everyone and may filter `userId`.
|
|
5781
|
+
* Inclusive dates, IANA `tz` (default UTC), ≤ 366 days (default last 30).
|
|
5782
|
+
*/
|
|
5783
|
+
usage(id: string, opts?: Omit<UsageQuery, "cursor" | "limit" | "workspaceId" | "groupBy"> & {
|
|
5784
|
+
groupBy?: "member" | "model" | "day";
|
|
5785
|
+
}): Promise<{
|
|
5786
|
+
data: UsageReport;
|
|
5787
|
+
}>;
|
|
5788
|
+
/** The individual runs behind a report, newest first, cursor-paged. */
|
|
5789
|
+
usageRows(id: string, opts?: Omit<UsageQuery, "groupBy" | "workspaceId">): Promise<OrgPage<UsageLogEntry>>;
|
|
5790
|
+
/** The same report (or the rows, with `groupBy: "none"`) as CSV text. */
|
|
5791
|
+
usageCsv(id: string, opts?: Omit<UsageQuery, "cursor" | "limit" | "workspaceId">): Promise<string>;
|
|
5611
5792
|
}
|
|
5612
5793
|
|
|
5613
5794
|
interface ClientOptions {
|
|
@@ -5703,6 +5884,7 @@ declare class NodaroClient {
|
|
|
5703
5884
|
readonly reduce: ReduceResource;
|
|
5704
5885
|
readonly promptHelper: PromptHelperResource;
|
|
5705
5886
|
readonly voices: VoicesResource;
|
|
5887
|
+
readonly llm: LlmResource;
|
|
5706
5888
|
readonly media: MediaResource;
|
|
5707
5889
|
readonly audio: AudioResource;
|
|
5708
5890
|
readonly credits: CreditsResource;
|
|
@@ -5734,7 +5916,21 @@ declare class NodaroClient {
|
|
|
5734
5916
|
* Pass `null` for the personal space.
|
|
5735
5917
|
*/
|
|
5736
5918
|
withWorkspace(workspaceId: string | null): NodaroClient;
|
|
5919
|
+
/**
|
|
5920
|
+
* The transport: build the request, send it, throw the typed error on a
|
|
5921
|
+
* non-2xx via {@link throwFromResponse}, then read the body via `read` — all
|
|
5922
|
+
* inside the abort timer, so `timeoutMs` bounds the body download too (a
|
|
5923
|
+
* stalled CSV stream aborts, it does not hang forever). Both the JSON path
|
|
5924
|
+
* ({@link request}) and the text path ({@link requestText}) go through here.
|
|
5925
|
+
*/
|
|
5926
|
+
private send;
|
|
5737
5927
|
request<T>(method: string, path: string, options?: RequestOptions): Promise<T>;
|
|
5928
|
+
/**
|
|
5929
|
+
* Like {@link request}, for endpoints that answer text (CSV exports). Errors
|
|
5930
|
+
* are still the JSON envelope and throw the same typed errors, and the read is
|
|
5931
|
+
* bounded by the same timeout as the request.
|
|
5932
|
+
*/
|
|
5933
|
+
requestText(method: string, path: string, options?: RequestOptions): Promise<string>;
|
|
5738
5934
|
/**
|
|
5739
5935
|
* `GET /v1/me` → the authenticated user's identity (see {@link UserIdentity}).
|
|
5740
5936
|
* Unwraps the `{ data }` envelope. Throws `UnauthorizedError` (401) when the
|
|
@@ -5842,4 +6038,4 @@ interface ApiErrorBody {
|
|
|
5842
6038
|
}
|
|
5843
6039
|
declare function throwFromResponse(status: number, body: ApiErrorBody): never;
|
|
5844
6040
|
|
|
5845
|
-
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 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, CreditsResource, type DeleteAppRunResult, type DeveloperApp, type DeveloperAppScope, type DeveloperAppStatus, DeveloperAppsResource, type DownloadVideoProgress, type DubbingInput, type DuplicateCharacterInput, 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 GenerateSurroundContinuationInput, type GenerateVideoParams, type GetPickerCatalogOptions, InsufficientCreditsError, type InviteInput, type Job, JobAbortedError, JobFailedError, 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 ListLibraryParams, type ListLibraryResult, type ListLocationsParams, type ListModelsOptions, type ListObjectsParams, type ListWorkflowsParams, type Location, type LocationDetail, type LocationReferencePhoto, type LocationReferencePhotoKind, LocationsResource, 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 PickerCatalog, type PickerCatalogSummary, PickerCatalogsResource, type PickerDimension, type PickerOption, PipelinesResource, 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 ResolveRecastGateInput, type RotateSecretResult, type RunAndWaitOptions, type RunAppOptions, type RunManyResult, type RunNodeResult, type RunWorkflowParams, type RunWorkflowResult, type Shot, type ShotEntityRef, type ShotMode, ShotsResource, StaticTokenAuth, type StopVideoProResult, StorageExceededError, type StructuredReferenceParams, type Template, type TemplateBrowseCard, type TemplateSort, TemplatesResource, 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, WorkflowConflictError, type WorkflowExecution, type WorkflowExecutionSummary, WorkflowsResource, WorkspacesResource, buildPersonSeedPrompt, createClient, supabaseAuth, throwFromResponse };
|
|
6041
|
+
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 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, CreditsResource, type DeleteAppRunResult, type DeveloperApp, type DeveloperAppScope, type DeveloperAppStatus, DeveloperAppsResource, type DownloadVideoProgress, type DubbingInput, type DuplicateCharacterInput, 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 GenerateSurroundContinuationInput, type GenerateVideoParams, type GetPickerCatalogOptions, InsufficientCreditsError, type InviteInput, type Job, JobAbortedError, JobFailedError, 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 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 PickerCatalog, type PickerCatalogSummary, PickerCatalogsResource, type PickerDimension, type PickerOption, PipelinesResource, 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 ResolveRecastGateInput, type RotateSecretResult, type RunAndWaitOptions, type RunAppOptions, type RunManyResult, type RunNodeAdjustment, type RunNodeResult, type RunWorkflowParams, type RunWorkflowResult, type Shot, type ShotEntityRef, type ShotMode, ShotsResource, StaticTokenAuth, type StopVideoProResult, StorageExceededError, type StructuredReferenceParams, type Template, type TemplateBrowseCard, type TemplateSort, TemplatesResource, 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, WorkflowConflictError, type WorkflowExecution, type WorkflowExecutionSummary, WorkflowsResource, WorkspacesResource, buildPersonSeedPrompt, createClient, supabaseAuth, throwFromResponse };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CollaboratorRole, GenericNode, GenericEdge, WorkflowExport, WorkflowImportReport, WorkflowVisibility, ConnectedReference, TtsProvider, EntityStyle, CharacterAspectRatio, CharacterAttachColumn, LocationAssetType, LocationAttachColumn, SurroundDirection, ObjectAssetType, ObjectAttachColumn, ObjectAspectRatio, CreatureAttachColumn, PipelineInput, PipelineStatus, PipelineMode, PipelineStageName, SubGateName, ChatEnabledStage, ProposedChange, ReduceStrategyId, ReduceMeta, Voice, VoiceLibraryParams, VoiceLibraryResponse, VoiceClone, AudioFxPreset, BrowseCommunityParams, BrowseCommunityResult, CommunityCard, CommunityFullDetail, CommunityEntityType, CloneListingResult, FavoriteListingResult, CommunityReportReason, ReportListingResult, PublishListingParams, PublishListingResult, SharedListing, OrganizationView, OrgKind, OrgSettings, OrgPage, OrgMemberView, MemberStatus, WorkspaceRole, InvitationDelivery, InvitationState, InvitationView, InvitationPreview, OrgAuditEntry, WorkspaceSummary, WorkspaceView, WorkspaceSettings, WorkspaceMemberView, JoinCodeView, MeOrganizations } from '@nodaro/shared';
|
|
2
|
-
export { AudioFxPreset, BrowseCommunityParams, BrowseCommunityResult, CHARACTER_ASPECT_DEFAULTS, CHARACTER_ASPECT_OPTIONS, CHARACTER_STYLES, OBJECT_ASPECT_DEFAULTS as CREATURE_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS as CREATURE_ASPECT_OPTIONS, CREATURE_ATTACH_COLUMNS, CharacterAspectRatio, CloneListingResult, CommunityCard, CommunityEntityType, CommunityReportReason, CommunitySort, ConnectedReference, ObjectAspectRatio as CreatureAspectRatio, CreatureAttachColumn, EntityStyle, FavoriteListingResult, GenericEdge, GenericNode, InvitationDelivery, InvitationPreview, InvitationState, InvitationView, JoinCodeView, LOCATION_ASSET_TYPES, LOCATION_ATTACH_COLUMNS, LocationAssetType, LocationAttachColumn, MeOrganizations, MemberStatus, OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ATTACH_COLUMNS, ObjectAspectRatio, ObjectAssetType, ObjectAttachColumn, OrgAuditEntry, OrgErrorCode, OrgKind, OrgMemberView, OrgPage, OrgRole, OrgSettings, OrgStatus, OrganizationSummary, OrganizationView, PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY, PipelineStageName, PromptAffixFields, PublishListingParams, PublishListingResult, ReduceMeta, ReduceStrategyId, ReportListingResult, SURROUND_DIRECTIONS, SharedListing, SharedVoice, SurroundDirection, Voice, VoiceClone, VoiceLibraryParams, VoiceLibraryResponse, WORKSPACE_HEADER, WorkflowExport, WorkflowExportCharacter, WorkflowExportLocation, WorkflowExportObject, WorkspaceMemberView, WorkspaceRole, WorkspaceSettings, WorkspaceSummary, WorkspaceView } from '@nodaro/shared';
|
|
1
|
+
import { CollaboratorRole, GenericNode, GenericEdge, WorkflowExport, WorkflowImportReport, WorkflowVisibility, ConnectedReference, ModelInputAdjustment, TtsProvider, EntityStyle, CharacterAspectRatio, CharacterAttachColumn, LocationAssetType, LocationAttachColumn, SurroundDirection, ObjectAssetType, ObjectAttachColumn, ObjectAspectRatio, CreatureAttachColumn, PipelineInput, PipelineStatus, PipelineMode, PipelineStageName, SubGateName, ChatEnabledStage, ProposedChange, ReduceStrategyId, ReduceMeta, Voice, VoiceLibraryParams, VoiceLibraryResponse, VoiceClone, AudioFxPreset, BrowseCommunityParams, BrowseCommunityResult, CommunityCard, CommunityFullDetail, CommunityEntityType, CloneListingResult, FavoriteListingResult, CommunityReportReason, ReportListingResult, PublishListingParams, PublishListingResult, SharedListing, OrganizationView, OrgKind, OrgSettings, OrgPage, OrgMemberView, MemberStatus, WorkspaceRole, InvitationDelivery, InvitationState, InvitationView, InvitationPreview, OrgAuditEntry, UsageQuery, UsageReport, UsageLogEntry, WorkspaceSummary, WorkspaceView, WorkspaceSettings, WorkspaceMemberView, JoinCodeView, MeOrganizations } from '@nodaro/shared';
|
|
2
|
+
export { AudioFxPreset, BrowseCommunityParams, BrowseCommunityResult, CHARACTER_ASPECT_DEFAULTS, CHARACTER_ASPECT_OPTIONS, CHARACTER_STYLES, OBJECT_ASPECT_DEFAULTS as CREATURE_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS as CREATURE_ASPECT_OPTIONS, CREATURE_ATTACH_COLUMNS, CharacterAspectRatio, CloneListingResult, CommunityCard, CommunityEntityType, CommunityReportReason, CommunitySort, ConnectedReference, ObjectAspectRatio as CreatureAspectRatio, CreatureAttachColumn, EntityStyle, FavoriteListingResult, GenericEdge, GenericNode, InvitationDelivery, InvitationPreview, InvitationState, InvitationView, JoinCodeView, LOCATION_ASSET_TYPES, LOCATION_ATTACH_COLUMNS, LocationAssetType, LocationAttachColumn, MeOrganizations, MemberStatus, OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ATTACH_COLUMNS, ObjectAspectRatio, ObjectAssetType, ObjectAttachColumn, OrgAuditEntry, OrgErrorCode, OrgKind, OrgMemberView, OrgPage, OrgRole, OrgSettings, OrgStatus, OrganizationSummary, OrganizationView, PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY, PipelineStageName, PromptAffixFields, PublishListingParams, PublishListingResult, ReduceMeta, ReduceStrategyId, ReportListingResult, SURROUND_DIRECTIONS, SharedListing, SharedVoice, SurroundDirection, USAGE_GROUP_BYS, UsageGroupBy, UsageLogEntry, UsageQuery, UsageReport, UsageReportRow, UsageReportTotals, UsageVarianceRow, Voice, VoiceClone, VoiceLibraryParams, VoiceLibraryResponse, WORKSPACE_HEADER, WorkflowExport, WorkflowExportCharacter, WorkflowExportLocation, WorkflowExportObject, WorkspaceMemberView, WorkspaceRole, WorkspaceSettings, WorkspaceSummary, WorkspaceView } from '@nodaro/shared';
|
|
3
3
|
import { PersonValue, WizardNodeContext, WizardQuestion, WizardSelection, RecommendedModel, FactoryPreset } from '@nodaro/prompts';
|
|
4
4
|
export { PEOPLE, PERSON_DIMENSION_LABELS, PERSON_DIMENSION_ORDER, PersonValue, RecommendedModel, WizardNodeContext, WizardOption, WizardQuestion, WizardSelection, buildPersonHints } from '@nodaro/prompts';
|
|
5
5
|
|
|
@@ -354,6 +354,22 @@ interface CancelJobResult {
|
|
|
354
354
|
success: true;
|
|
355
355
|
cancelled: number;
|
|
356
356
|
}
|
|
357
|
+
interface ListJobsParams {
|
|
358
|
+
/** Exact match on `input_data.type` — the route that created the job
|
|
359
|
+
* (`"llm-structured"`, `"video-analysis"`, …). */
|
|
360
|
+
type?: string;
|
|
361
|
+
/** Exact match on `input_data.origin` — the client app that sent it. */
|
|
362
|
+
origin?: string;
|
|
363
|
+
/** Page size, 1–100 (server default 50). */
|
|
364
|
+
limit?: number;
|
|
365
|
+
/** The previous page's `next`. */
|
|
366
|
+
cursor?: string;
|
|
367
|
+
}
|
|
368
|
+
interface ListJobsPage {
|
|
369
|
+
data: Job[];
|
|
370
|
+
/** Pass back as `cursor` for the next page; `null` on the last one. */
|
|
371
|
+
next: string | null;
|
|
372
|
+
}
|
|
357
373
|
/**
|
|
358
374
|
* Lean job status returned by `GET /v1/jobs/:id/status`. Skips the
|
|
359
375
|
* `input_data` JSONB and cost/timestamp columns. Its `output_data` still goes
|
|
@@ -374,6 +390,12 @@ declare class JobsResource {
|
|
|
374
390
|
get(id: string): Promise<{
|
|
375
391
|
data: Job;
|
|
376
392
|
}>;
|
|
393
|
+
/**
|
|
394
|
+
* Your jobs, newest first (`GET /v1/jobs`), cursor-paginated. `type` and
|
|
395
|
+
* `origin` filter on the job's own `input_data`, which every job carries —
|
|
396
|
+
* a client app lists its runs with `{ type: "llm-structured", origin: "studio" }`.
|
|
397
|
+
*/
|
|
398
|
+
list(params?: ListJobsParams): Promise<ListJobsPage>;
|
|
377
399
|
/**
|
|
378
400
|
* Get the lean status of a single job (poll-loop friendly).
|
|
379
401
|
* Hits `GET /v1/jobs/:id/status` — returns only id/status/progress/
|
|
@@ -591,9 +613,22 @@ interface NodeDescriptor {
|
|
|
591
613
|
* result body. The shape is route-specific; consumers should branch on the
|
|
592
614
|
* presence of `jobId`.
|
|
593
615
|
*/
|
|
616
|
+
/**
|
|
617
|
+
* One parameter the server corrected because the chosen model does not accept
|
|
618
|
+
* the value you sent (e.g. `gpt-image-2` has no 3:2 aspect ratio). The run
|
|
619
|
+
* proceeds with the corrected value rather than failing — this is how you find
|
|
620
|
+
* out what it actually used.
|
|
621
|
+
*
|
|
622
|
+
* Re-exports `@nodaro/shared`'s `ModelInputAdjustment` — the same shape the
|
|
623
|
+
* server's `normalizeModelInput` / `resolveNormalizedImageGen` populate — under
|
|
624
|
+
* the SDK's naming convention, rather than declaring a second copy of the
|
|
625
|
+
* fields.
|
|
626
|
+
*/
|
|
627
|
+
type RunNodeAdjustment = ModelInputAdjustment;
|
|
594
628
|
type RunNodeResult = {
|
|
595
629
|
jobId: string;
|
|
596
630
|
usageLogId?: string;
|
|
631
|
+
adjustments?: RunNodeAdjustment[];
|
|
597
632
|
[k: string]: unknown;
|
|
598
633
|
} | Record<string, unknown>;
|
|
599
634
|
/**
|
|
@@ -4079,6 +4114,89 @@ interface DubbingInput {
|
|
|
4079
4114
|
watermark?: boolean;
|
|
4080
4115
|
}
|
|
4081
4116
|
|
|
4117
|
+
/**
|
|
4118
|
+
* Structured LLM output — `POST /v1/llm/structured` and its asynchronous
|
|
4119
|
+
* twin. The platform supplies the model lane, forced JSON-Schema output with
|
|
4120
|
+
* validation and error-fed retries, the job row and the credit lifecycle; the
|
|
4121
|
+
* caller supplies its own system prompt and schema (an app-owned vocabulary
|
|
4122
|
+
* the platform cannot know — Nodaro Studio's production plan is the first).
|
|
4123
|
+
*/
|
|
4124
|
+
interface LlmStructuredInput {
|
|
4125
|
+
/** The system prompt (≤ 100,000 chars). */
|
|
4126
|
+
system: string;
|
|
4127
|
+
/** The user turn (1–100,000 chars). */
|
|
4128
|
+
input: string;
|
|
4129
|
+
/** A JSON Schema OBJECT (`type: "object"`, ≤ 64 KB, ≤ 20 levels) in the
|
|
4130
|
+
* keyword subset the server converts — see the API guide. */
|
|
4131
|
+
jsonSchema: Record<string, unknown>;
|
|
4132
|
+
/** Names the forced-output tool the provider sees (≤ 64 chars). */
|
|
4133
|
+
schemaName?: string;
|
|
4134
|
+
llmModel?: string;
|
|
4135
|
+
reasoningEffort?: string;
|
|
4136
|
+
/** Invalid answers fed back with their error before the call fails (0–3, default 2). */
|
|
4137
|
+
maxRetries?: number;
|
|
4138
|
+
/** Your app's slug — attribution only; `jobs.list({ origin })` finds the rows. */
|
|
4139
|
+
origin?: string;
|
|
4140
|
+
advancedMode?: boolean;
|
|
4141
|
+
temperature?: number;
|
|
4142
|
+
maxTokens?: number;
|
|
4143
|
+
}
|
|
4144
|
+
interface LlmStructuredResult<T = unknown> {
|
|
4145
|
+
jobId: string;
|
|
4146
|
+
output: T;
|
|
4147
|
+
usage: {
|
|
4148
|
+
inputTokens: number;
|
|
4149
|
+
outputTokens: number;
|
|
4150
|
+
};
|
|
4151
|
+
}
|
|
4152
|
+
interface LlmStructuredJobInput extends LlmStructuredInput {
|
|
4153
|
+
/** Display label stored on the job (≤ 120 chars) — a run list's row title. */
|
|
4154
|
+
label?: string;
|
|
4155
|
+
/** Draft FROM this video: the platform analyzes it first (`POST
|
|
4156
|
+
* /v1/video-analysis`, a separate job you own) and appends the analysis
|
|
4157
|
+
* to `input` before the LLM call. */
|
|
4158
|
+
videoUrl?: string;
|
|
4159
|
+
/** Analysis options, handed to the analysis route unchanged (its tiers). */
|
|
4160
|
+
videoAnalysis?: {
|
|
4161
|
+
llmModel?: string;
|
|
4162
|
+
selectionMode?: "choose" | "combine";
|
|
4163
|
+
};
|
|
4164
|
+
}
|
|
4165
|
+
/** `output_data` of an `llm-structured` job as it progresses: `stage` while
|
|
4166
|
+
* running (`analyzing` only for movie runs), then the result. */
|
|
4167
|
+
interface LlmStructuredJobOutput<T = unknown> {
|
|
4168
|
+
stage?: "analyzing" | "drafting";
|
|
4169
|
+
output?: T;
|
|
4170
|
+
inputTokens?: number;
|
|
4171
|
+
outputTokens?: number;
|
|
4172
|
+
analysisJobId?: string;
|
|
4173
|
+
analysisCredits?: number;
|
|
4174
|
+
}
|
|
4175
|
+
declare class LlmResource {
|
|
4176
|
+
private client;
|
|
4177
|
+
constructor(client: NodaroClient);
|
|
4178
|
+
/**
|
|
4179
|
+
* Synchronous forced-schema completion (`POST /v1/llm/structured`). A call
|
|
4180
|
+
* can run several minutes — longer than the client's default 60 s
|
|
4181
|
+
* `timeoutMs`; construct the client with a larger `timeoutMs` for this
|
|
4182
|
+
* call, or use {@link LlmResource.structuredJob}.
|
|
4183
|
+
*/
|
|
4184
|
+
structured<T = unknown>(input: LlmStructuredInput): Promise<LlmStructuredResult<T>>;
|
|
4185
|
+
/**
|
|
4186
|
+
* The same call as a job (`POST /v1/llm/structured/jobs`): answers `{ jobId }`
|
|
4187
|
+
* at once. Poll `jobs.getStatus(jobId)` — `output_data` is an
|
|
4188
|
+
* {@link LlmStructuredJobOutput}; `error_message` says why a run failed.
|
|
4189
|
+
* `jobs.list({ type: "llm-structured", origin })` finds every run later.
|
|
4190
|
+
* Throws `NotFoundError` on a platform that predates the route. An instance
|
|
4191
|
+
* that proxies its LLM calls to nodaro.ai answers `503 provider_unavailable`
|
|
4192
|
+
* permanently — the SDK surfaces that as a generic `NodaroError` with the
|
|
4193
|
+
* same code; treat it as unavailable here, not as transient.
|
|
4194
|
+
*/
|
|
4195
|
+
structuredJob(input: LlmStructuredJobInput): Promise<{
|
|
4196
|
+
jobId: string;
|
|
4197
|
+
}>;
|
|
4198
|
+
}
|
|
4199
|
+
|
|
4082
4200
|
/**
|
|
4083
4201
|
* Media ingestion + trimming — the source-preparation steps a Voice Changer Pro
|
|
4084
4202
|
* flow (or any pipeline) needs before it has a clip to work on: pull a social
|
|
@@ -4251,6 +4369,16 @@ declare class MediaResource {
|
|
|
4251
4369
|
videoMetadata(input: {
|
|
4252
4370
|
url: string;
|
|
4253
4371
|
}): Promise<VideoMetadata>;
|
|
4372
|
+
/**
|
|
4373
|
+
* Cut or crop a stored file (`POST /v1/media/process`) — synchronous and
|
|
4374
|
+
* free, the source-preparation sibling of the priced `trimVideo` node.
|
|
4375
|
+
* `trim` is `[startTime, endTime]` in seconds; `deleteSource: true` removes
|
|
4376
|
+
* the source object afterwards when it is yours and nothing else references
|
|
4377
|
+
* it ("the cut replaces the original"). Answers the stored file.
|
|
4378
|
+
*/
|
|
4379
|
+
process(input: MediaProcessInput): Promise<{
|
|
4380
|
+
data: MediaProcessResult;
|
|
4381
|
+
}>;
|
|
4254
4382
|
}
|
|
4255
4383
|
/**
|
|
4256
4384
|
* One event from {@link MediaResource.downloadVideoProgress}. The stream ends
|
|
@@ -4277,6 +4405,30 @@ interface VideoMetadata {
|
|
|
4277
4405
|
isLive?: boolean;
|
|
4278
4406
|
[key: string]: unknown;
|
|
4279
4407
|
}
|
|
4408
|
+
interface MediaProcessInput {
|
|
4409
|
+
sourceUrl: string;
|
|
4410
|
+
type: "video" | "audio";
|
|
4411
|
+
trim?: {
|
|
4412
|
+
startTime: number;
|
|
4413
|
+
endTime: number;
|
|
4414
|
+
};
|
|
4415
|
+
crop?: {
|
|
4416
|
+
x: number;
|
|
4417
|
+
y: number;
|
|
4418
|
+
width: number;
|
|
4419
|
+
height: number;
|
|
4420
|
+
};
|
|
4421
|
+
format?: "mp4" | "webm" | "mp3" | "wav" | "m4a" | "aac";
|
|
4422
|
+
deleteSource?: boolean;
|
|
4423
|
+
}
|
|
4424
|
+
interface MediaProcessResult {
|
|
4425
|
+
url: string;
|
|
4426
|
+
thumbnailUrl: string | null;
|
|
4427
|
+
assetId: string | null;
|
|
4428
|
+
sizeBytes: number;
|
|
4429
|
+
mimeType: string;
|
|
4430
|
+
metadata: Record<string, unknown>;
|
|
4431
|
+
}
|
|
4280
4432
|
|
|
4281
4433
|
/**
|
|
4282
4434
|
* Audio primitives — the building blocks Voice Changer Pro composes internally
|
|
@@ -5504,6 +5656,20 @@ declare class OrganizationsResource {
|
|
|
5504
5656
|
cursor?: string;
|
|
5505
5657
|
limit?: number;
|
|
5506
5658
|
}): Promise<OrgPage<OrgAuditEntry>>;
|
|
5659
|
+
/**
|
|
5660
|
+
* Credits by workspace, member, model or day. Owner and org admins only.
|
|
5661
|
+
* Inclusive dates (`from`/`to`), IANA `tz` (default UTC), ≤ 366 days
|
|
5662
|
+
* (default last 30).
|
|
5663
|
+
*/
|
|
5664
|
+
usage(orgId: string, opts?: Omit<UsageQuery, "cursor" | "limit" | "groupBy"> & {
|
|
5665
|
+
groupBy?: "workspace" | "member" | "model" | "day";
|
|
5666
|
+
}): Promise<{
|
|
5667
|
+
data: UsageReport;
|
|
5668
|
+
}>;
|
|
5669
|
+
/** The individual runs behind a report, newest first, cursor-paged. */
|
|
5670
|
+
usageRows(orgId: string, opts?: Omit<UsageQuery, "groupBy">): Promise<OrgPage<UsageLogEntry>>;
|
|
5671
|
+
/** The same report (or the rows, with `groupBy: "none"`) as CSV text. */
|
|
5672
|
+
usageCsv(orgId: string, opts?: Omit<UsageQuery, "cursor" | "limit">): Promise<string>;
|
|
5507
5673
|
}
|
|
5508
5674
|
|
|
5509
5675
|
/**
|
|
@@ -5608,6 +5774,21 @@ declare class WorkspacesResource {
|
|
|
5608
5774
|
workspaceId: string;
|
|
5609
5775
|
};
|
|
5610
5776
|
}>;
|
|
5777
|
+
/**
|
|
5778
|
+
* Credits by member, model or day for this workspace. A plain member sees
|
|
5779
|
+
* their OWN runs (the report is self-narrowed and `groupBy: "member"` is
|
|
5780
|
+
* refused); a workspace admin sees everyone and may filter `userId`.
|
|
5781
|
+
* Inclusive dates, IANA `tz` (default UTC), ≤ 366 days (default last 30).
|
|
5782
|
+
*/
|
|
5783
|
+
usage(id: string, opts?: Omit<UsageQuery, "cursor" | "limit" | "workspaceId" | "groupBy"> & {
|
|
5784
|
+
groupBy?: "member" | "model" | "day";
|
|
5785
|
+
}): Promise<{
|
|
5786
|
+
data: UsageReport;
|
|
5787
|
+
}>;
|
|
5788
|
+
/** The individual runs behind a report, newest first, cursor-paged. */
|
|
5789
|
+
usageRows(id: string, opts?: Omit<UsageQuery, "groupBy" | "workspaceId">): Promise<OrgPage<UsageLogEntry>>;
|
|
5790
|
+
/** The same report (or the rows, with `groupBy: "none"`) as CSV text. */
|
|
5791
|
+
usageCsv(id: string, opts?: Omit<UsageQuery, "cursor" | "limit" | "workspaceId">): Promise<string>;
|
|
5611
5792
|
}
|
|
5612
5793
|
|
|
5613
5794
|
interface ClientOptions {
|
|
@@ -5703,6 +5884,7 @@ declare class NodaroClient {
|
|
|
5703
5884
|
readonly reduce: ReduceResource;
|
|
5704
5885
|
readonly promptHelper: PromptHelperResource;
|
|
5705
5886
|
readonly voices: VoicesResource;
|
|
5887
|
+
readonly llm: LlmResource;
|
|
5706
5888
|
readonly media: MediaResource;
|
|
5707
5889
|
readonly audio: AudioResource;
|
|
5708
5890
|
readonly credits: CreditsResource;
|
|
@@ -5734,7 +5916,21 @@ declare class NodaroClient {
|
|
|
5734
5916
|
* Pass `null` for the personal space.
|
|
5735
5917
|
*/
|
|
5736
5918
|
withWorkspace(workspaceId: string | null): NodaroClient;
|
|
5919
|
+
/**
|
|
5920
|
+
* The transport: build the request, send it, throw the typed error on a
|
|
5921
|
+
* non-2xx via {@link throwFromResponse}, then read the body via `read` — all
|
|
5922
|
+
* inside the abort timer, so `timeoutMs` bounds the body download too (a
|
|
5923
|
+
* stalled CSV stream aborts, it does not hang forever). Both the JSON path
|
|
5924
|
+
* ({@link request}) and the text path ({@link requestText}) go through here.
|
|
5925
|
+
*/
|
|
5926
|
+
private send;
|
|
5737
5927
|
request<T>(method: string, path: string, options?: RequestOptions): Promise<T>;
|
|
5928
|
+
/**
|
|
5929
|
+
* Like {@link request}, for endpoints that answer text (CSV exports). Errors
|
|
5930
|
+
* are still the JSON envelope and throw the same typed errors, and the read is
|
|
5931
|
+
* bounded by the same timeout as the request.
|
|
5932
|
+
*/
|
|
5933
|
+
requestText(method: string, path: string, options?: RequestOptions): Promise<string>;
|
|
5738
5934
|
/**
|
|
5739
5935
|
* `GET /v1/me` → the authenticated user's identity (see {@link UserIdentity}).
|
|
5740
5936
|
* Unwraps the `{ data }` envelope. Throws `UnauthorizedError` (401) when the
|
|
@@ -5842,4 +6038,4 @@ interface ApiErrorBody {
|
|
|
5842
6038
|
}
|
|
5843
6039
|
declare function throwFromResponse(status: number, body: ApiErrorBody): never;
|
|
5844
6040
|
|
|
5845
|
-
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 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, CreditsResource, type DeleteAppRunResult, type DeveloperApp, type DeveloperAppScope, type DeveloperAppStatus, DeveloperAppsResource, type DownloadVideoProgress, type DubbingInput, type DuplicateCharacterInput, 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 GenerateSurroundContinuationInput, type GenerateVideoParams, type GetPickerCatalogOptions, InsufficientCreditsError, type InviteInput, type Job, JobAbortedError, JobFailedError, 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 ListLibraryParams, type ListLibraryResult, type ListLocationsParams, type ListModelsOptions, type ListObjectsParams, type ListWorkflowsParams, type Location, type LocationDetail, type LocationReferencePhoto, type LocationReferencePhotoKind, LocationsResource, 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 PickerCatalog, type PickerCatalogSummary, PickerCatalogsResource, type PickerDimension, type PickerOption, PipelinesResource, 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 ResolveRecastGateInput, type RotateSecretResult, type RunAndWaitOptions, type RunAppOptions, type RunManyResult, type RunNodeResult, type RunWorkflowParams, type RunWorkflowResult, type Shot, type ShotEntityRef, type ShotMode, ShotsResource, StaticTokenAuth, type StopVideoProResult, StorageExceededError, type StructuredReferenceParams, type Template, type TemplateBrowseCard, type TemplateSort, TemplatesResource, 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, WorkflowConflictError, type WorkflowExecution, type WorkflowExecutionSummary, WorkflowsResource, WorkspacesResource, buildPersonSeedPrompt, createClient, supabaseAuth, throwFromResponse };
|
|
6041
|
+
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 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, CreditsResource, type DeleteAppRunResult, type DeveloperApp, type DeveloperAppScope, type DeveloperAppStatus, DeveloperAppsResource, type DownloadVideoProgress, type DubbingInput, type DuplicateCharacterInput, 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 GenerateSurroundContinuationInput, type GenerateVideoParams, type GetPickerCatalogOptions, InsufficientCreditsError, type InviteInput, type Job, JobAbortedError, JobFailedError, 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 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 PickerCatalog, type PickerCatalogSummary, PickerCatalogsResource, type PickerDimension, type PickerOption, PipelinesResource, 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 ResolveRecastGateInput, type RotateSecretResult, type RunAndWaitOptions, type RunAppOptions, type RunManyResult, type RunNodeAdjustment, type RunNodeResult, type RunWorkflowParams, type RunWorkflowResult, type Shot, type ShotEntityRef, type ShotMode, ShotsResource, StaticTokenAuth, type StopVideoProResult, StorageExceededError, type StructuredReferenceParams, type Template, type TemplateBrowseCard, type TemplateSort, TemplatesResource, 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, WorkflowConflictError, type WorkflowExecution, type WorkflowExecutionSummary, WorkflowsResource, WorkspacesResource, buildPersonSeedPrompt, createClient, supabaseAuth, throwFromResponse };
|