@nodaro/sdk 2.9.0 → 2.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +25 -2
- package/dist/index.d.ts +25 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -671,8 +671,21 @@ interface Scene3DDeliveryAsset {
|
|
|
671
671
|
/** Export evidence is retained separately from the immutable scene it rendered. */
|
|
672
672
|
interface Scene3DDelivery {
|
|
673
673
|
deliveryId: string;
|
|
674
|
-
|
|
675
|
-
|
|
674
|
+
/**
|
|
675
|
+
* Null on a `refused-authoring` delivery and on that alone.
|
|
676
|
+
*
|
|
677
|
+
* A Pro run whose recipe the compiler refused on every pass still retains the refusal
|
|
678
|
+
* report, but nothing was ever compiled, so no scene revision was published. The field is
|
|
679
|
+
* null rather than absent so the shape stays one shape; read `sourceKind` to tell why.
|
|
680
|
+
*/
|
|
681
|
+
sceneRevisionId: string | null;
|
|
682
|
+
/**
|
|
683
|
+
* What this delivery was made from. Absent when read from a deployment that predates the
|
|
684
|
+
* refused lane, where every delivery necessarily had a scene behind it.
|
|
685
|
+
*/
|
|
686
|
+
sourceKind?: "retained-revision" | "job-output" | "refused-authoring";
|
|
687
|
+
/** Null when there is no plan to hash — see `sceneRevisionId`. */
|
|
688
|
+
sourcePlanSha256: string | null;
|
|
676
689
|
sourceContentHash: string | null;
|
|
677
690
|
sourceJobId: string | null;
|
|
678
691
|
workflowId: string | null;
|
|
@@ -4586,6 +4599,16 @@ interface LlmStructuredJobInput extends LlmStructuredInput {
|
|
|
4586
4599
|
llmModel?: string;
|
|
4587
4600
|
selectionMode?: "choose" | "combine";
|
|
4588
4601
|
};
|
|
4602
|
+
/** Draft from THIS finished `video-analysis` job of yours instead of
|
|
4603
|
+
* analyzing `videoUrl` again: no second analysis, no second analysis
|
|
4604
|
+
* charge — a retry after a failed draft, another model, different
|
|
4605
|
+
* notes. `videoUrl` may still ride beside it as the record of the source.
|
|
4606
|
+
* 422 when the job is not yours, does not exist, or is not a finished,
|
|
4607
|
+
* readable video analysis (`analysis_not_found` / `not_analysis` /
|
|
4608
|
+
* `analysis_failed` / `analysis_not_ready` / `invalid_analysis` — never a
|
|
4609
|
+
* 404, which means the route itself is absent). Not combinable with
|
|
4610
|
+
* `videoAnalysis`. */
|
|
4611
|
+
analysisJobId?: string;
|
|
4589
4612
|
}
|
|
4590
4613
|
/** `output_data` of an `llm-structured` job as it progresses: `stage` while
|
|
4591
4614
|
* running (`analyzing` only for movie runs), then the result. */
|
package/dist/index.d.ts
CHANGED
|
@@ -671,8 +671,21 @@ interface Scene3DDeliveryAsset {
|
|
|
671
671
|
/** Export evidence is retained separately from the immutable scene it rendered. */
|
|
672
672
|
interface Scene3DDelivery {
|
|
673
673
|
deliveryId: string;
|
|
674
|
-
|
|
675
|
-
|
|
674
|
+
/**
|
|
675
|
+
* Null on a `refused-authoring` delivery and on that alone.
|
|
676
|
+
*
|
|
677
|
+
* A Pro run whose recipe the compiler refused on every pass still retains the refusal
|
|
678
|
+
* report, but nothing was ever compiled, so no scene revision was published. The field is
|
|
679
|
+
* null rather than absent so the shape stays one shape; read `sourceKind` to tell why.
|
|
680
|
+
*/
|
|
681
|
+
sceneRevisionId: string | null;
|
|
682
|
+
/**
|
|
683
|
+
* What this delivery was made from. Absent when read from a deployment that predates the
|
|
684
|
+
* refused lane, where every delivery necessarily had a scene behind it.
|
|
685
|
+
*/
|
|
686
|
+
sourceKind?: "retained-revision" | "job-output" | "refused-authoring";
|
|
687
|
+
/** Null when there is no plan to hash — see `sceneRevisionId`. */
|
|
688
|
+
sourcePlanSha256: string | null;
|
|
676
689
|
sourceContentHash: string | null;
|
|
677
690
|
sourceJobId: string | null;
|
|
678
691
|
workflowId: string | null;
|
|
@@ -4586,6 +4599,16 @@ interface LlmStructuredJobInput extends LlmStructuredInput {
|
|
|
4586
4599
|
llmModel?: string;
|
|
4587
4600
|
selectionMode?: "choose" | "combine";
|
|
4588
4601
|
};
|
|
4602
|
+
/** Draft from THIS finished `video-analysis` job of yours instead of
|
|
4603
|
+
* analyzing `videoUrl` again: no second analysis, no second analysis
|
|
4604
|
+
* charge — a retry after a failed draft, another model, different
|
|
4605
|
+
* notes. `videoUrl` may still ride beside it as the record of the source.
|
|
4606
|
+
* 422 when the job is not yours, does not exist, or is not a finished,
|
|
4607
|
+
* readable video analysis (`analysis_not_found` / `not_analysis` /
|
|
4608
|
+
* `analysis_failed` / `analysis_not_ready` / `invalid_analysis` — never a
|
|
4609
|
+
* 404, which means the route itself is absent). Not combinable with
|
|
4610
|
+
* `videoAnalysis`. */
|
|
4611
|
+
analysisJobId?: string;
|
|
4589
4612
|
}
|
|
4590
4613
|
/** `output_data` of an `llm-structured` job as it progresses: `stage` while
|
|
4591
4614
|
* running (`analyzing` only for movie runs), then the result. */
|
package/dist/index.js
CHANGED
|
@@ -3401,7 +3401,7 @@ var WorkspacesResource = class {
|
|
|
3401
3401
|
return this.client.requestText("GET", `/v1/workspaces/${encodeURIComponent(id)}/usage`, { query: { ...opts, format: "csv" } });
|
|
3402
3402
|
}
|
|
3403
3403
|
};
|
|
3404
|
-
var SDK_VERSION = "2.
|
|
3404
|
+
var SDK_VERSION = "2.10.0" ;
|
|
3405
3405
|
var CLIENT_HEADER = "X-Nodaro-Client";
|
|
3406
3406
|
var isBrowser = () => typeof window !== "undefined" && typeof window.document !== "undefined";
|
|
3407
3407
|
var NodaroClient = class _NodaroClient {
|