@nodaro/sdk 1.27.0 → 1.29.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 +40 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +170 -16
- package/dist/index.d.ts +170 -16
- package/dist/index.js +39 -5
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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
|
-
import { PersonValue, WizardNodeContext, WizardQuestion, WizardSelection, RecommendedModel, FactoryPreset } from '@nodaro/prompts';
|
|
1
|
+
import { CollaboratorRole, GenericNode, GenericEdge, WorkflowExport, WorkflowImportReport, WorkflowVisibility, ConnectedReference, DescribedReference, 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, DescribedReference, 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
|
+
import { DirectionFields, SubjectFields, 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
|
|
|
6
6
|
/**
|
|
@@ -316,11 +316,23 @@ declare class ProjectsResource {
|
|
|
316
316
|
}>;
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
type JobStatus = "pending" | "queued" | "processing" | "completed" | "failed" | "cancelled";
|
|
320
319
|
/**
|
|
321
|
-
* A job's
|
|
322
|
-
*
|
|
323
|
-
*
|
|
320
|
+
* A job's lifecycle status. Hand-copied mirror of `JOB_STATUSES` in the
|
|
321
|
+
* platform's `backend/src/lib/job-status.ts` — nothing links the two at build
|
|
322
|
+
* time, so a new member has to be added here in the same change.
|
|
323
|
+
*
|
|
324
|
+
* `pending_review` is IN-FLIGHT, NOT TERMINAL: a job policy registered by the
|
|
325
|
+
* deployment held the output for a human reviewer. Treat it like `processing`
|
|
326
|
+
* in a `switch` — keep waiting, do not re-run — and it resolves to `completed`
|
|
327
|
+
* (approved), `failed` (rejected, carrying an `error_hint` with
|
|
328
|
+
* `kind: "policy-block"`) or `cancelled` (a held job is cancellable like any
|
|
329
|
+
* in-flight job). `credit_status` reads `"reserved"` for the whole hold. Only
|
|
330
|
+
* appears on deployments that register a job policy; `runAndWait` throws
|
|
331
|
+
* {@link JobHeldError} on the first held tick rather than waiting it out.
|
|
332
|
+
*/
|
|
333
|
+
type JobStatus = "pending" | "queued" | "processing" | "pending_review" | "completed" | "failed" | "cancelled";
|
|
334
|
+
/**
|
|
335
|
+
* A PROVIDER's verdict: the model's own safety filter refused the output.
|
|
324
336
|
* `class` distinguishes a deterministic block (copyright/likeness — retrying
|
|
325
337
|
* the same request never helps) from `safety`, whose filter is known to be
|
|
326
338
|
* non-deterministic for some models: `retried` says whether the worker
|
|
@@ -328,12 +340,42 @@ type JobStatus = "pending" | "queued" | "processing" | "completed" | "failed" |
|
|
|
328
340
|
* only when the catalog declares a fallback for the model that failed — is a
|
|
329
341
|
* real model id the SAME prompt/references can be retried on.
|
|
330
342
|
*/
|
|
331
|
-
|
|
343
|
+
type SafetyBlockHint = {
|
|
332
344
|
kind: "safety-block";
|
|
333
345
|
class: "copyright" | "likeness" | "safety";
|
|
334
346
|
retried: boolean;
|
|
335
347
|
suggestedProvider?: string;
|
|
336
|
-
}
|
|
348
|
+
};
|
|
349
|
+
/**
|
|
350
|
+
* A NODARO-side verdict, not a provider's: a job policy registered by the
|
|
351
|
+
* deployment rejected the request (`hookPoint: "request"` — nothing ran, and
|
|
352
|
+
* the call itself failed with {@link JobBlockedError}) or the finished output
|
|
353
|
+
* (`hookPoint: "result"` — the result was blocked and never published).
|
|
354
|
+
*
|
|
355
|
+
* `reason` is USER-SAFE BY CONTRACT — the platform guarantees the policy's
|
|
356
|
+
* machine text (scores, labels) never reaches it — so show it to the person
|
|
357
|
+
* who made the request as-is. `policyId` identifies the deployment's policy,
|
|
358
|
+
* not a Nodaro product feature. Only occurs on deployments that register a
|
|
359
|
+
* job policy.
|
|
360
|
+
*/
|
|
361
|
+
type PolicyBlockHint = {
|
|
362
|
+
kind: "policy-block";
|
|
363
|
+
policyId: string;
|
|
364
|
+
reason: string;
|
|
365
|
+
hookPoint: "request" | "result";
|
|
366
|
+
};
|
|
367
|
+
/**
|
|
368
|
+
* A job's `jobs.error_hint` (migration 376) — a user-safe, machine-readable
|
|
369
|
+
* failure verdict, so a caller can act on it without parsing `error_message`
|
|
370
|
+
* prose. One column, two verdict sources; `kind` is the discriminant.
|
|
371
|
+
*
|
|
372
|
+
* HAND-COPIED MIRROR of `ErrorHint` in the platform's
|
|
373
|
+
* `backend/src/lib/safety-block.ts` (which names this file in its own
|
|
374
|
+
* comment). Nothing links the two at build time: a new arm there has to be
|
|
375
|
+
* pasted here verbatim in the same change, with a changeset.
|
|
376
|
+
* `packages/client/dist/index.d.ts` is REBUILT, never hand-edited.
|
|
377
|
+
*/
|
|
378
|
+
type JobErrorHint = SafetyBlockHint | PolicyBlockHint;
|
|
337
379
|
/**
|
|
338
380
|
* The billing lifecycle of a job's credit reservation — `usage_logs.status`
|
|
339
381
|
* for the job's `usage_log_id`. `null` when the job has no usage log (e.g. a
|
|
@@ -358,8 +400,10 @@ interface Job {
|
|
|
358
400
|
input_data: unknown;
|
|
359
401
|
output_data: unknown;
|
|
360
402
|
error_message: string | null;
|
|
361
|
-
/**
|
|
362
|
-
* block
|
|
403
|
+
/** Present on a failed job the worker classified as a provider
|
|
404
|
+
* content-policy block (`kind: "safety-block"`) or that a deployment's job
|
|
405
|
+
* policy rejected (`kind: "policy-block"`); absent/null otherwise.
|
|
406
|
+
* User-safe by construction — narrow on `kind` before reading the rest. */
|
|
363
407
|
error_hint?: JobErrorHint | null;
|
|
364
408
|
/** PR9: the job's credit reservation lifecycle, derived server-side from
|
|
365
409
|
* `usage_logs.status`. `null` when there is no usage log to report. Never
|
|
@@ -384,6 +428,9 @@ interface CancelJobResult {
|
|
|
384
428
|
success: true;
|
|
385
429
|
cancelled: number;
|
|
386
430
|
}
|
|
431
|
+
interface DeleteJobResult {
|
|
432
|
+
success: true;
|
|
433
|
+
}
|
|
387
434
|
interface ListJobsParams {
|
|
388
435
|
/** Exact match on `input_data.type` — the route that created the job
|
|
389
436
|
* (`"llm-structured"`, `"video-analysis"`, …). */
|
|
@@ -396,6 +443,10 @@ interface ListJobsParams {
|
|
|
396
443
|
cursor?: string;
|
|
397
444
|
}
|
|
398
445
|
interface ListJobsPage {
|
|
446
|
+
/**
|
|
447
|
+
* A page may hold fewer than `limit` rows — even none — and still carry a
|
|
448
|
+
* `next`. Page on `next`, never on `data.length`.
|
|
449
|
+
*/
|
|
399
450
|
data: Job[];
|
|
400
451
|
/** Pass back as `cursor` for the next page; `null` on the last one. */
|
|
401
452
|
next: string | null;
|
|
@@ -444,6 +495,13 @@ declare class JobsResource {
|
|
|
444
495
|
* Refunds any reserved credit holds.
|
|
445
496
|
*/
|
|
446
497
|
cancel(id: string): Promise<CancelJobResult>;
|
|
498
|
+
/**
|
|
499
|
+
* Delete a job and the private media it produced. Server route is
|
|
500
|
+
* `DELETE /v1/jobs/:jobId`. Only the job's owner (or an admin) may delete it;
|
|
501
|
+
* a job that is still running is deleted as-is — cancel it first when its
|
|
502
|
+
* worker should stop ({@link cancel}).
|
|
503
|
+
*/
|
|
504
|
+
delete(id: string): Promise<DeleteJobResult>;
|
|
447
505
|
}
|
|
448
506
|
|
|
449
507
|
/**
|
|
@@ -676,9 +734,29 @@ type RunNodeResult = {
|
|
|
676
734
|
interface StructuredReferenceParams {
|
|
677
735
|
/** Wired references assembled server-side (deduped + capped per provider). */
|
|
678
736
|
connectedReferences?: ConnectedReference[];
|
|
737
|
+
/**
|
|
738
|
+
* References you can NAME and DESCRIBE but have no media for — a cast role no
|
|
739
|
+
* entity is bound to yet, a character that exists only in the script. They
|
|
740
|
+
* carry no url, so nothing is attached and no `@image_N` seat is used: each
|
|
741
|
+
* becomes a `<Name> — <description>.` line, and a name left in the prompt
|
|
742
|
+
* prose reaches the model as a real, described subject. Up to 10.
|
|
743
|
+
*/
|
|
744
|
+
describedReferences?: DescribedReference[];
|
|
679
745
|
/** Reorder the assembled reference list by stable ref ids; renumbers `@image_N`. */
|
|
680
746
|
referenceOrder?: string[];
|
|
681
747
|
}
|
|
748
|
+
/**
|
|
749
|
+
* Captions for a node's video / audio rail references — INDEX-ALIGNED with
|
|
750
|
+
* `referenceVideoUrls` / `referenceAudioUrls`, so `referenceVideoCaptions[0]`
|
|
751
|
+
* describes `referenceVideoUrls[0]`. Each renders as `@video_N: <caption>.` /
|
|
752
|
+
* `@audio_N: <caption>.` in the assembled prompt and is bounded by the number of
|
|
753
|
+
* rail references that actually ship, so a caption can never bind a slot the
|
|
754
|
+
* payload dropped. A blank entry is a hole in the alignment, not a line.
|
|
755
|
+
*/
|
|
756
|
+
interface ReferenceCaptionParams {
|
|
757
|
+
referenceVideoCaptions?: string[];
|
|
758
|
+
referenceAudioCaptions?: string[];
|
|
759
|
+
}
|
|
682
760
|
/**
|
|
683
761
|
* Typed request body for `nodes.run("generate-image", …)` / `runAndWait`.
|
|
684
762
|
* Common fields are typed; any other route field passes through via the index
|
|
@@ -696,7 +774,7 @@ interface GenerateImageParams extends StructuredReferenceParams {
|
|
|
696
774
|
* Typed request body for `nodes.run("generate-video", …)` / `runAndWait`.
|
|
697
775
|
* Common fields are typed; any other route field passes through.
|
|
698
776
|
*/
|
|
699
|
-
interface GenerateVideoParams extends StructuredReferenceParams {
|
|
777
|
+
interface GenerateVideoParams extends StructuredReferenceParams, ReferenceCaptionParams {
|
|
700
778
|
prompt?: string;
|
|
701
779
|
provider?: string;
|
|
702
780
|
/** Start-frame image (image-to-video). */
|
|
@@ -706,6 +784,37 @@ interface GenerateVideoParams extends StructuredReferenceParams {
|
|
|
706
784
|
referenceAudioUrls?: string[];
|
|
707
785
|
[k: string]: unknown;
|
|
708
786
|
}
|
|
787
|
+
/**
|
|
788
|
+
* Typed request body for `nodes.run("text-to-video", …)` / `runAndWait` — the
|
|
789
|
+
* PROMPT-ONLY video lane (`POST /v1/text-to-video`).
|
|
790
|
+
*
|
|
791
|
+
* Which lane takes what: `text-to-video` renders from text (plus optional
|
|
792
|
+
* references) and `prompt` is REQUIRED; frames belong to `generate-video`
|
|
793
|
+
* alone, which is the image-to-video lane (`imageUrl` start frame, `endFrameUrl`
|
|
794
|
+
* closing frame) and where a prompt is optional. A model with no text-to-video
|
|
795
|
+
* mode answers this lane with a `400 image_required` naming itself.
|
|
796
|
+
*
|
|
797
|
+
* Common fields are typed; any other route field passes through.
|
|
798
|
+
*/
|
|
799
|
+
interface TextToVideoParams extends StructuredReferenceParams, ReferenceCaptionParams {
|
|
800
|
+
prompt: string;
|
|
801
|
+
provider?: string;
|
|
802
|
+
duration?: number;
|
|
803
|
+
/** Native audio toggle, on the models that render sound. */
|
|
804
|
+
sound?: boolean;
|
|
805
|
+
negativePrompt?: string;
|
|
806
|
+
aspectRatio?: string;
|
|
807
|
+
resolution?: string;
|
|
808
|
+
seed?: number;
|
|
809
|
+
referenceImageUrls?: string[];
|
|
810
|
+
referenceVideoUrls?: string[];
|
|
811
|
+
referenceAudioUrls?: string[];
|
|
812
|
+
/** Cinematic direction as catalog IDS — the route renders the wording. */
|
|
813
|
+
direction?: DirectionFields;
|
|
814
|
+
/** SUBJECT ids (who is in the shot), folded ahead of the direction clauses. */
|
|
815
|
+
subject?: SubjectFields;
|
|
816
|
+
[k: string]: unknown;
|
|
817
|
+
}
|
|
709
818
|
/**
|
|
710
819
|
* Typed request body for `nodes.run("assemble-narrated-video", …)` / `runAndWait`.
|
|
711
820
|
* Assembles blocks of video with audio narration into a single composed video.
|
|
@@ -803,6 +912,7 @@ declare class NodesResource {
|
|
|
803
912
|
*/
|
|
804
913
|
run(type: "generate-image", params?: GenerateImageParams): Promise<RunNodeResult>;
|
|
805
914
|
run(type: "generate-video", params?: GenerateVideoParams): Promise<RunNodeResult>;
|
|
915
|
+
run(type: "text-to-video", params: TextToVideoParams): Promise<RunNodeResult>;
|
|
806
916
|
run(type: "assemble-narrated-video", params?: AssembleNarratedVideoParams): Promise<RunNodeResult>;
|
|
807
917
|
run(type: string, params?: Record<string, unknown>): Promise<RunNodeResult>;
|
|
808
918
|
/**
|
|
@@ -819,6 +929,11 @@ declare class NodesResource {
|
|
|
819
929
|
* - {@link JobTimeoutError} — `maxMs` deadline exceeded before terminal.
|
|
820
930
|
* - {@link JobAbortedError} — `signal` fired (or was already aborted);
|
|
821
931
|
* polling stops immediately.
|
|
932
|
+
* - {@link JobHeldError} — the job entered `pending_review` on a deployment
|
|
933
|
+
* that registers a job policy. Ends the poll on the FIRST held tick (that
|
|
934
|
+
* status waits on a human, not on the job) and does NOT cancel it.
|
|
935
|
+
* - {@link JobBlockedError} — a 422 from {@link run} before any poll: the
|
|
936
|
+
* deployment's job policy refused the request outright.
|
|
822
937
|
*
|
|
823
938
|
* Polling is fully client-side (no server function blocks) — the same model
|
|
824
939
|
* thin clients use, lifted out of their hand-rolled run→poll loops.
|
|
@@ -829,6 +944,7 @@ declare class NodesResource {
|
|
|
829
944
|
*/
|
|
830
945
|
runAndWait(type: "generate-image", params?: GenerateImageParams, opts?: RunAndWaitOptions): Promise<NodeJobOutput>;
|
|
831
946
|
runAndWait(type: "generate-video", params?: GenerateVideoParams, opts?: RunAndWaitOptions): Promise<NodeJobOutput>;
|
|
947
|
+
runAndWait(type: "text-to-video", params: TextToVideoParams, opts?: RunAndWaitOptions): Promise<NodeJobOutput>;
|
|
832
948
|
runAndWait(type: "assemble-narrated-video", params?: AssembleNarratedVideoParams, opts?: RunAndWaitOptions): Promise<NodeJobOutput>;
|
|
833
949
|
runAndWait(type: string, params?: Record<string, unknown>, opts?: RunAndWaitOptions): Promise<NodeJobOutput>;
|
|
834
950
|
/**
|
|
@@ -836,15 +952,19 @@ declare class NodesResource {
|
|
|
836
952
|
* the candidate-grid path (generate N stills/clips in parallel). Each runs
|
|
837
953
|
* via {@link runAndWait}; resolves once ALL settle, to an array of
|
|
838
954
|
* `{ jobId, output }` in input order. Rejects (and the rejection wins) if any
|
|
839
|
-
* single run rejects — same typed errors as {@link runAndWait}
|
|
840
|
-
*
|
|
955
|
+
* single run rejects — same typed errors as {@link runAndWait}, including
|
|
956
|
+
* {@link JobHeldError} when one candidate is held for review while the
|
|
957
|
+
* others complete. A shared `signal` aborts the whole batch.
|
|
841
958
|
*
|
|
842
959
|
* @param type Node type slug, applied to every entry.
|
|
843
960
|
* @param paramsList One request body per candidate.
|
|
844
961
|
* @param opts Shared `signal` / `onProgress` / `pollMs` / `maxMs`.
|
|
845
962
|
*/
|
|
846
963
|
runMany(type: string, paramsList: Record<string, unknown>[], opts?: RunAndWaitOptions): Promise<RunManyResult[]>;
|
|
847
|
-
/** Poll an already-kicked job id until
|
|
964
|
+
/** Poll an already-kicked job id until it stops moving; resolve output_data
|
|
965
|
+
* or throw. Two non-terminal statuses end the loop: an abort, and
|
|
966
|
+
* `pending_review` (a job policy held the output for a human — see
|
|
967
|
+
* {@link JobHeldError}). */
|
|
848
968
|
private pollJob;
|
|
849
969
|
}
|
|
850
970
|
|
|
@@ -6024,6 +6144,20 @@ declare class WorkflowConflictError extends NodaroError {
|
|
|
6024
6144
|
readonly currentRecord?: Record<string, unknown> | undefined;
|
|
6025
6145
|
constructor(message?: string, currentUpdatedAt?: string | undefined, currentVersion?: number | undefined, currentRecord?: Record<string, unknown> | undefined);
|
|
6026
6146
|
}
|
|
6147
|
+
/**
|
|
6148
|
+
* HTTP 422 `job_blocked`. A job policy registered by this deployment refused
|
|
6149
|
+
* the generation **before it ran** — no job was created, nothing was reserved
|
|
6150
|
+
* and nothing was charged. `message` is the policy's user-safe text: show it
|
|
6151
|
+
* as-is. Do not retry the identical request; whether the same input would be
|
|
6152
|
+
* judged differently is the deployment's policy's business.
|
|
6153
|
+
*
|
|
6154
|
+
* Only occurs on deployments that register a job policy. Selected by `code`,
|
|
6155
|
+
* not by status, the same way `workflow_conflict` narrows a 409 above — any
|
|
6156
|
+
* other 422 stays a plain `NodaroError`.
|
|
6157
|
+
*/
|
|
6158
|
+
declare class JobBlockedError extends NodaroError {
|
|
6159
|
+
constructor(message?: string);
|
|
6160
|
+
}
|
|
6027
6161
|
/**
|
|
6028
6162
|
* A job reached a terminal `failed`/`cancelled` status while being awaited by
|
|
6029
6163
|
* `nodes.runAndWait` / `nodes.runMany`. Not an HTTP-level error (the polls
|
|
@@ -6059,6 +6193,26 @@ declare class JobAbortedError extends NodaroError {
|
|
|
6059
6193
|
readonly jobId?: string | undefined;
|
|
6060
6194
|
constructor(message?: string, jobId?: string | undefined);
|
|
6061
6195
|
}
|
|
6196
|
+
/**
|
|
6197
|
+
* The awaited job entered `pending_review`: a job policy registered by this
|
|
6198
|
+
* deployment held its output for a human reviewer. `pending_review` is
|
|
6199
|
+
* IN-FLIGHT, not terminal, so `nodes.runAndWait` / `nodes.runMany` end the
|
|
6200
|
+
* poll on the first tick they observe it rather than burning `maxMs` on a
|
|
6201
|
+
* status that no longer moves on its own.
|
|
6202
|
+
*
|
|
6203
|
+
* This does NOT cancel the job — the output exists, a human is reviewing it,
|
|
6204
|
+
* and the credit reservation stays `reserved` for the whole hold. Do not
|
|
6205
|
+
* re-run the request (a duplicate would be held too): re-fetch with
|
|
6206
|
+
* `jobs.get(jobId)` later, or surface "awaiting review" to your user and poll
|
|
6207
|
+
* `jobs.getStatus()` yourself. It resolves to `completed` (approved), `failed`
|
|
6208
|
+
* (rejected, with `error_hint.kind === "policy-block"`) or `cancelled`.
|
|
6209
|
+
*
|
|
6210
|
+
* Not an HTTP error — `status` is 0; catch by type/`code`.
|
|
6211
|
+
*/
|
|
6212
|
+
declare class JobHeldError extends NodaroError {
|
|
6213
|
+
readonly jobId: string;
|
|
6214
|
+
constructor(message: string, jobId: string);
|
|
6215
|
+
}
|
|
6062
6216
|
interface ApiErrorBody {
|
|
6063
6217
|
error?: {
|
|
6064
6218
|
code?: string;
|
|
@@ -6072,4 +6226,4 @@ interface ApiErrorBody {
|
|
|
6072
6226
|
}
|
|
6073
6227
|
declare function throwFromResponse(status: number, body: ApiErrorBody): never;
|
|
6074
6228
|
|
|
6075
|
-
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 };
|
|
6229
|
+
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, type CreditStatus, CreditsResource, type DeleteAppRunResult, type DeleteJobResult, 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, 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 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, 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 ResolveRecastGateInput, type RotateSecretResult, type RunAndWaitOptions, type RunAppOptions, type RunManyResult, type RunNodeAdjustment, type RunNodeResult, type RunWorkflowParams, type RunWorkflowResult, type SafetyBlockHint, type Shot, type ShotEntityRef, type ShotMode, ShotsResource, StaticTokenAuth, type StopVideoProResult, StorageExceededError, type StructuredReferenceParams, 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, WorkflowConflictError, type WorkflowExecution, type WorkflowExecutionSummary, WorkflowsResource, WorkspacesResource, buildPersonSeedPrompt, createClient, supabaseAuth, throwFromResponse };
|
package/dist/index.js
CHANGED
|
@@ -70,6 +70,12 @@ var WorkflowConflictError = class extends NodaroError {
|
|
|
70
70
|
currentVersion;
|
|
71
71
|
currentRecord;
|
|
72
72
|
};
|
|
73
|
+
var JobBlockedError = class extends NodaroError {
|
|
74
|
+
constructor(message = "Blocked by this deployment's content policy") {
|
|
75
|
+
super(message, "job_blocked", 422);
|
|
76
|
+
this.name = "JobBlockedError";
|
|
77
|
+
}
|
|
78
|
+
};
|
|
73
79
|
var JobFailedError = class extends NodaroError {
|
|
74
80
|
constructor(message, jobId, jobStatus = "failed") {
|
|
75
81
|
super(message, "job_failed", 0);
|
|
@@ -98,6 +104,14 @@ var JobAbortedError = class extends NodaroError {
|
|
|
98
104
|
}
|
|
99
105
|
jobId;
|
|
100
106
|
};
|
|
107
|
+
var JobHeldError = class extends NodaroError {
|
|
108
|
+
constructor(message, jobId) {
|
|
109
|
+
super(message, "job_held", 0);
|
|
110
|
+
this.jobId = jobId;
|
|
111
|
+
this.name = "JobHeldError";
|
|
112
|
+
}
|
|
113
|
+
jobId;
|
|
114
|
+
};
|
|
101
115
|
function throwFromResponse(status, body) {
|
|
102
116
|
const code = body.error?.code ?? "internal_error";
|
|
103
117
|
const message = body.error?.message ?? "Request failed";
|
|
@@ -110,6 +124,7 @@ function throwFromResponse(status, body) {
|
|
|
110
124
|
body.error?.currentRecord
|
|
111
125
|
);
|
|
112
126
|
}
|
|
127
|
+
if (status === 422 && code === "job_blocked") throw new JobBlockedError(message);
|
|
113
128
|
if (status === 403 && code === "insufficient_scope") {
|
|
114
129
|
throw new ForbiddenError(message, body.error?.missingScope);
|
|
115
130
|
}
|
|
@@ -361,6 +376,18 @@ var JobsResource = class {
|
|
|
361
376
|
`/v1/jobs/${encodeURIComponent(id)}/cancel`
|
|
362
377
|
);
|
|
363
378
|
}
|
|
379
|
+
/**
|
|
380
|
+
* Delete a job and the private media it produced. Server route is
|
|
381
|
+
* `DELETE /v1/jobs/:jobId`. Only the job's owner (or an admin) may delete it;
|
|
382
|
+
* a job that is still running is deleted as-is — cancel it first when its
|
|
383
|
+
* worker should stop ({@link cancel}).
|
|
384
|
+
*/
|
|
385
|
+
delete(id) {
|
|
386
|
+
return this.client.request(
|
|
387
|
+
"DELETE",
|
|
388
|
+
`/v1/jobs/${encodeURIComponent(id)}`
|
|
389
|
+
);
|
|
390
|
+
}
|
|
364
391
|
};
|
|
365
392
|
|
|
366
393
|
// src/resources/video-pro.ts
|
|
@@ -479,8 +506,9 @@ var NodesResource = class {
|
|
|
479
506
|
* the candidate-grid path (generate N stills/clips in parallel). Each runs
|
|
480
507
|
* via {@link runAndWait}; resolves once ALL settle, to an array of
|
|
481
508
|
* `{ jobId, output }` in input order. Rejects (and the rejection wins) if any
|
|
482
|
-
* single run rejects — same typed errors as {@link runAndWait}
|
|
483
|
-
*
|
|
509
|
+
* single run rejects — same typed errors as {@link runAndWait}, including
|
|
510
|
+
* {@link JobHeldError} when one candidate is held for review while the
|
|
511
|
+
* others complete. A shared `signal` aborts the whole batch.
|
|
484
512
|
*
|
|
485
513
|
* @param type Node type slug, applied to every entry.
|
|
486
514
|
* @param paramsList One request body per candidate.
|
|
@@ -498,7 +526,10 @@ var NodesResource = class {
|
|
|
498
526
|
})
|
|
499
527
|
);
|
|
500
528
|
}
|
|
501
|
-
/** Poll an already-kicked job id until
|
|
529
|
+
/** Poll an already-kicked job id until it stops moving; resolve output_data
|
|
530
|
+
* or throw. Two non-terminal statuses end the loop: an abort, and
|
|
531
|
+
* `pending_review` (a job policy held the output for a human — see
|
|
532
|
+
* {@link JobHeldError}). */
|
|
502
533
|
async pollJob(jobId, label, opts) {
|
|
503
534
|
const pollMs = opts.pollMs ?? DEFAULT_POLL_MS;
|
|
504
535
|
const maxMs = opts.maxMs ?? DEFAULT_MAX_MS;
|
|
@@ -517,6 +548,9 @@ var NodesResource = class {
|
|
|
517
548
|
data.status
|
|
518
549
|
);
|
|
519
550
|
}
|
|
551
|
+
if (data.status === "pending_review") {
|
|
552
|
+
throw new JobHeldError(`${label} is awaiting review`, jobId);
|
|
553
|
+
}
|
|
520
554
|
if (Date.now() > deadline) {
|
|
521
555
|
throw new JobTimeoutError(`${label} timed out`, jobId, maxMs);
|
|
522
556
|
}
|
|
@@ -2718,7 +2752,7 @@ var WorkspacesResource = class {
|
|
|
2718
2752
|
return this.client.requestText("GET", `/v1/workspaces/${encodeURIComponent(id)}/usage`, { query: { ...opts, format: "csv" } });
|
|
2719
2753
|
}
|
|
2720
2754
|
};
|
|
2721
|
-
var SDK_VERSION = "1.
|
|
2755
|
+
var SDK_VERSION = "1.29.0" ;
|
|
2722
2756
|
var CLIENT_HEADER = "X-Nodaro-Client";
|
|
2723
2757
|
var isBrowser = () => typeof window !== "undefined" && typeof window.document !== "undefined";
|
|
2724
2758
|
var NodaroClient = class _NodaroClient {
|
|
@@ -2966,6 +3000,6 @@ function supabaseAuth(supabase) {
|
|
|
2966
3000
|
};
|
|
2967
3001
|
}
|
|
2968
3002
|
|
|
2969
|
-
export { AppsResource, AudioResource, CREATURE_ASSET_TYPES, CallbackAuth, CatalogsResource, CharactersResource, CommunityResource, CreaturesResource, CreditsResource, DeveloperAppsResource, ExecutionsResource, ForbiddenError, InsufficientCreditsError, JobAbortedError, JobFailedError, JobTimeoutError, JobsResource, LibraryResource, LlmResource, LocationsResource, MediaResource, ModelsResource, NodaroClient, NodaroError, NodesResource, NotFoundError, OAuthResource, ObjectsResource, OrganizationsResource, PickerCatalogsResource, PipelinesResource, PresetsResource, ProjectsResource, PromptHelperResource, RateLimitedError, RecastResource, ReduceResource, ShotsResource, StaticTokenAuth, StorageExceededError, TemplatesResource, TutorialsResource, UnauthorizedError, UploadsResource, VideoProResource, VoicesResource, WorkflowConflictError, WorkflowsResource, WorkspacesResource, buildPersonSeedPrompt, createClient, supabaseAuth, throwFromResponse };
|
|
3003
|
+
export { AppsResource, AudioResource, CREATURE_ASSET_TYPES, CallbackAuth, CatalogsResource, CharactersResource, CommunityResource, CreaturesResource, CreditsResource, DeveloperAppsResource, ExecutionsResource, ForbiddenError, InsufficientCreditsError, JobAbortedError, JobBlockedError, JobFailedError, JobHeldError, JobTimeoutError, JobsResource, LibraryResource, LlmResource, LocationsResource, MediaResource, ModelsResource, NodaroClient, NodaroError, NodesResource, NotFoundError, OAuthResource, ObjectsResource, OrganizationsResource, PickerCatalogsResource, PipelinesResource, PresetsResource, ProjectsResource, PromptHelperResource, RateLimitedError, RecastResource, ReduceResource, ShotsResource, StaticTokenAuth, StorageExceededError, TemplatesResource, TutorialsResource, UnauthorizedError, UploadsResource, VideoProResource, VoicesResource, WorkflowConflictError, WorkflowsResource, WorkspacesResource, buildPersonSeedPrompt, createClient, supabaseAuth, throwFromResponse };
|
|
2970
3004
|
//# sourceMappingURL=index.js.map
|
|
2971
3005
|
//# sourceMappingURL=index.js.map
|