@nodaro/sdk 2.55.0 → 2.57.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/{chunk-XALPYUZI.cjs → chunk-3Y5TDB5K.cjs} +4 -4
- package/dist/{chunk-XALPYUZI.cjs.map → chunk-3Y5TDB5K.cjs.map} +1 -1
- package/dist/{chunk-DV6GTEX5.js → chunk-4SZUSZXK.js} +2 -2
- package/dist/{chunk-DV6GTEX5.js.map → chunk-4SZUSZXK.js.map} +1 -1
- package/dist/{chunk-HRV3VX22.cjs → chunk-7PYZCNLH.cjs} +5 -5
- package/dist/{chunk-HRV3VX22.cjs.map → chunk-7PYZCNLH.cjs.map} +1 -1
- package/dist/{chunk-47ULSVO2.js → chunk-ALDXFMD7.js} +3 -3
- package/dist/chunk-ALDXFMD7.js.map +1 -0
- package/dist/{chunk-SF2CMKWA.cjs → chunk-DOMNKVKA.cjs} +9 -9
- package/dist/{chunk-SF2CMKWA.cjs.map → chunk-DOMNKVKA.cjs.map} +1 -1
- package/dist/{chunk-WY4QRJZW.js → chunk-DTYN7QAZ.js} +25 -2
- package/dist/chunk-DTYN7QAZ.js.map +1 -0
- package/dist/{chunk-LUHAB7UJ.js → chunk-EDSODRRY.js} +10 -10
- package/dist/{chunk-LUHAB7UJ.js.map → chunk-EDSODRRY.js.map} +1 -1
- package/dist/{chunk-OSMKIRKI.cjs → chunk-GDUEOKBF.cjs} +4 -4
- package/dist/{chunk-OSMKIRKI.cjs.map → chunk-GDUEOKBF.cjs.map} +1 -1
- package/dist/{chunk-65VIIZEF.cjs → chunk-GJH73EGF.cjs} +2 -2
- package/dist/{chunk-65VIIZEF.cjs.map → chunk-GJH73EGF.cjs.map} +1 -1
- package/dist/{chunk-FM2KM5TY.cjs → chunk-GSE7SB3I.cjs} +25 -6
- package/dist/chunk-GSE7SB3I.cjs.map +1 -0
- package/dist/{chunk-VHTDOACT.cjs → chunk-GWTKYJJO.cjs} +22 -22
- package/dist/chunk-GWTKYJJO.cjs.map +1 -0
- package/dist/{chunk-L6T44A3G.js → chunk-JJMQ2EVL.js} +24 -7
- package/dist/chunk-JJMQ2EVL.js.map +1 -0
- package/dist/{chunk-I6Q4UDS2.cjs → chunk-JX3GYLV3.cjs} +18 -18
- package/dist/{chunk-I6Q4UDS2.cjs.map → chunk-JX3GYLV3.cjs.map} +1 -1
- package/dist/{chunk-FRQJNGJS.cjs → chunk-KU3UITCU.cjs} +5 -5
- package/dist/{chunk-FRQJNGJS.cjs.map → chunk-KU3UITCU.cjs.map} +1 -1
- package/dist/{chunk-RBX3QTKB.js → chunk-MUHRK4OI.js} +3 -3
- package/dist/{chunk-RBX3QTKB.js.map → chunk-MUHRK4OI.js.map} +1 -1
- package/dist/{chunk-24JE54FQ.js → chunk-ND7JMM5H.js} +3 -3
- package/dist/{chunk-24JE54FQ.js.map → chunk-ND7JMM5H.js.map} +1 -1
- package/dist/{chunk-JTOEHQQJ.cjs → chunk-NOZWIS7M.cjs} +25 -2
- package/dist/chunk-NOZWIS7M.cjs.map +1 -0
- package/dist/{chunk-D2ILCSOQ.js → chunk-RCD4HDBI.js} +3 -3
- package/dist/{chunk-D2ILCSOQ.js.map → chunk-RCD4HDBI.js.map} +1 -1
- package/dist/{chunk-CV2ZZAUO.js → chunk-SOR6K3XZ.js} +4 -4
- package/dist/{chunk-CV2ZZAUO.js.map → chunk-SOR6K3XZ.js.map} +1 -1
- package/dist/{chunk-NKH2UFSD.cjs → chunk-TSM3S2QS.cjs} +5 -5
- package/dist/{chunk-NKH2UFSD.cjs.map → chunk-TSM3S2QS.cjs.map} +1 -1
- package/dist/{chunk-AUKHMT53.js → chunk-VTL4DBX4.js} +3 -3
- package/dist/{chunk-AUKHMT53.js.map → chunk-VTL4DBX4.js.map} +1 -1
- package/dist/{chunk-7CUWAVWB.js → chunk-YYMX3VN7.js} +3 -3
- package/dist/{chunk-7CUWAVWB.js.map → chunk-YYMX3VN7.js.map} +1 -1
- package/dist/entries/cast-swap.cjs +2 -2
- package/dist/entries/cast-swap.d.cts +12 -0
- package/dist/entries/cast-swap.d.ts +12 -0
- package/dist/entries/cast-swap.js +1 -1
- package/dist/entries/characters.d.cts +1 -1
- package/dist/entries/characters.d.ts +1 -1
- package/dist/entries/client.cjs +16 -16
- package/dist/entries/client.d.cts +1 -1
- package/dist/entries/client.d.ts +1 -1
- package/dist/entries/client.js +11 -11
- package/dist/entries/copilot.cjs +4 -4
- package/dist/entries/copilot.js +3 -3
- package/dist/entries/core.cjs +6 -6
- package/dist/entries/core.js +2 -2
- package/dist/entries/creatures.d.cts +1 -1
- package/dist/entries/creatures.d.ts +1 -1
- package/dist/entries/edit.cjs +7 -7
- package/dist/entries/edit.js +2 -2
- package/dist/entries/errors.cjs +32 -24
- package/dist/entries/errors.d.cts +38 -3
- package/dist/entries/errors.d.ts +38 -3
- package/dist/entries/errors.js +1 -1
- package/dist/entries/locations.d.cts +1 -1
- package/dist/entries/locations.d.ts +1 -1
- package/dist/entries/media.cjs +4 -4
- package/dist/entries/media.js +3 -3
- package/dist/entries/nodes.cjs +3 -3
- package/dist/entries/nodes.d.cts +1 -1
- package/dist/entries/nodes.d.ts +1 -1
- package/dist/entries/nodes.js +2 -2
- package/dist/entries/objects.d.cts +1 -1
- package/dist/entries/objects.d.ts +1 -1
- package/dist/entries/scene3d.d.cts +2 -2
- package/dist/entries/scene3d.d.ts +2 -2
- package/dist/entries/studio.cjs +5 -5
- package/dist/entries/studio.js +2 -2
- package/dist/entries/uploads.cjs +2 -2
- package/dist/entries/uploads.d.cts +41 -1
- package/dist/entries/uploads.d.ts +41 -1
- package/dist/entries/uploads.js +1 -1
- package/dist/index.cjs +61 -53
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +11 -11
- package/dist/{nodes-B74WaY9r.d.ts → nodes-1u7MPrD5.d.ts} +10 -0
- package/dist/{nodes-Ceetyyh0.d.cts → nodes-BZavad1T.d.cts} +10 -0
- package/package.json +1 -1
- package/dist/chunk-47ULSVO2.js.map +0 -1
- package/dist/chunk-FM2KM5TY.cjs.map +0 -1
- package/dist/chunk-JTOEHQQJ.cjs.map +0 -1
- package/dist/chunk-L6T44A3G.js.map +0 -1
- package/dist/chunk-VHTDOACT.cjs.map +0 -1
- package/dist/chunk-WY4QRJZW.js.map +0 -1
package/dist/entries/errors.d.ts
CHANGED
|
@@ -21,7 +21,31 @@ declare class UnauthorizedError extends NodaroError {
|
|
|
21
21
|
}
|
|
22
22
|
declare class ForbiddenError extends NodaroError {
|
|
23
23
|
readonly missingScope?: string | undefined;
|
|
24
|
-
|
|
24
|
+
/** `code` defaults to `"forbidden"`; {@link ModelUnavailableError} passes its own. */
|
|
25
|
+
constructor(message?: string, missingScope?: string | undefined, code?: string);
|
|
26
|
+
}
|
|
27
|
+
type ModelUnavailableCode = "model_not_available" | "model_disabled";
|
|
28
|
+
/**
|
|
29
|
+
* The 403 codes {@link ModelUnavailableError} carries: a model this
|
|
30
|
+
* deployment does not offer (`model_not_available` — outside its edition or
|
|
31
|
+
* surface, or hidden by its operator) and a model an admin switched off on
|
|
32
|
+
* the models page (`model_disabled`).
|
|
33
|
+
*/
|
|
34
|
+
declare const MODEL_UNAVAILABLE_CODES: ReadonlySet<ModelUnavailableCode>;
|
|
35
|
+
/**
|
|
36
|
+
* HTTP 403 refusing the MODEL, not the caller: this deployment does not offer
|
|
37
|
+
* it, or an admin switched it off. Answered by the credit guard before any
|
|
38
|
+
* credits are held (the LLM and pipeline lanes still answer a switched-off
|
|
39
|
+
* model with a 402 for now).
|
|
40
|
+
* Choosing another model is the remedy — retrying, topping up or a wider
|
|
41
|
+
* scope changes nothing. A {@link ForbiddenError}, so existing catches keep
|
|
42
|
+
* working; `code` is the server's own code and says which. The envelope
|
|
43
|
+
* names no model: what was refused is the request's own `provider` (or, for
|
|
44
|
+
* a fan-out, one of its `models`).
|
|
45
|
+
*/
|
|
46
|
+
declare class ModelUnavailableError extends ForbiddenError {
|
|
47
|
+
readonly code: ModelUnavailableCode;
|
|
48
|
+
constructor(code: ModelUnavailableCode, message?: string);
|
|
25
49
|
}
|
|
26
50
|
declare class NotFoundError extends NodaroError {
|
|
27
51
|
constructor(message?: string);
|
|
@@ -62,9 +86,20 @@ declare class CreditCapExceededError extends InsufficientCreditsError {
|
|
|
62
86
|
readonly code: CreditCapCode;
|
|
63
87
|
constructor(code: CreditCapCode, message?: string, required?: number, available?: number);
|
|
64
88
|
}
|
|
89
|
+
/**
|
|
90
|
+
* HTTP 413: what was sent does not fit. `code` is always `storage_exceeded`;
|
|
91
|
+
* `reason` is the platform's own code, when the answer carried one:
|
|
92
|
+
* `storage_limit_exceeded` is a full storage, while `file_too_large` is a
|
|
93
|
+
* single file over the limit, not a full storage (likewise
|
|
94
|
+
* `payload_too_large`, `post_too_large`, `duration_exceeded`).
|
|
95
|
+
*/
|
|
65
96
|
declare class StorageExceededError extends NodaroError {
|
|
66
97
|
readonly limitBytes?: number | undefined;
|
|
67
|
-
|
|
98
|
+
/** The platform's own code for this 413, e.g. `storage_limit_exceeded` or `file_too_large`. */
|
|
99
|
+
readonly reason?: string | undefined;
|
|
100
|
+
constructor(message?: string, limitBytes?: number | undefined,
|
|
101
|
+
/** The platform's own code for this 413, e.g. `storage_limit_exceeded` or `file_too_large`. */
|
|
102
|
+
reason?: string | undefined);
|
|
68
103
|
}
|
|
69
104
|
/**
|
|
70
105
|
* Optimistic-concurrency rejection (HTTP 409 `workflow_conflict`): the workflow
|
|
@@ -373,4 +408,4 @@ interface ApiErrorBody {
|
|
|
373
408
|
}
|
|
374
409
|
declare function throwFromResponse(status: number, body: ApiErrorBody): never;
|
|
375
410
|
|
|
376
|
-
export { AlreadyRunningError, AppRunVersionChangedError, CREDIT_CAP_CODES, ContinuationPreviewPendingError, ContinuationRefusedError, type CreditCapCode, CreditCapExceededError, ForbiddenError, type HeldFinalRun, InsufficientCreditsError, JobAbortedError, JobBlockedError, JobFailedError, JobHeldError, JobTimeoutError, NodaroError, NotFoundError, RateLimitedError, StorageExceededError, StudioOpError, StudioPreviewAppliedError, StudioPreviewUnavailable, UnauthorizedError, type WorkflowConflictCode, WorkflowConflictError, throwFromResponse };
|
|
411
|
+
export { AlreadyRunningError, AppRunVersionChangedError, CREDIT_CAP_CODES, ContinuationPreviewPendingError, ContinuationRefusedError, type CreditCapCode, CreditCapExceededError, ForbiddenError, type HeldFinalRun, InsufficientCreditsError, JobAbortedError, JobBlockedError, JobFailedError, JobHeldError, JobTimeoutError, MODEL_UNAVAILABLE_CODES, type ModelUnavailableCode, ModelUnavailableError, NodaroError, NotFoundError, RateLimitedError, StorageExceededError, StudioOpError, StudioPreviewAppliedError, StudioPreviewUnavailable, UnauthorizedError, type WorkflowConflictCode, WorkflowConflictError, throwFromResponse };
|
package/dist/entries/errors.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../chunk-CJFIOVBA.js';
|
|
2
|
-
export { AlreadyRunningError, AppRunVersionChangedError, CREDIT_CAP_CODES, ContinuationPreviewPendingError, ContinuationRefusedError, CreditCapExceededError, ForbiddenError, InsufficientCreditsError, JobAbortedError, JobBlockedError, JobFailedError, JobHeldError, JobTimeoutError, NodaroError, NotFoundError, RateLimitedError, StorageExceededError, StudioOpError, StudioPreviewAppliedError, StudioPreviewUnavailable, UnauthorizedError, WorkflowConflictError, throwFromResponse } from '../chunk-
|
|
2
|
+
export { AlreadyRunningError, AppRunVersionChangedError, CREDIT_CAP_CODES, ContinuationPreviewPendingError, ContinuationRefusedError, CreditCapExceededError, ForbiddenError, InsufficientCreditsError, JobAbortedError, JobBlockedError, JobFailedError, JobHeldError, JobTimeoutError, MODEL_UNAVAILABLE_CODES, ModelUnavailableError, NodaroError, NotFoundError, RateLimitedError, StorageExceededError, StudioOpError, StudioPreviewAppliedError, StudioPreviewUnavailable, UnauthorizedError, WorkflowConflictError, throwFromResponse } from '../chunk-JJMQ2EVL.js';
|
|
3
3
|
//# sourceMappingURL=errors.js.map
|
|
4
4
|
//# sourceMappingURL=errors.js.map
|
|
@@ -2,7 +2,7 @@ import { LocationAssetType, CharacterAspectRatio, LocationAttachColumn, Surround
|
|
|
2
2
|
export { LOCATION_ASSET_TYPES, LOCATION_ATTACH_COLUMNS, LocationAssetType, LocationAttachColumn, SURROUND_DIRECTIONS, SurroundDirection } from '@nodaro/shared/entities';
|
|
3
3
|
import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.cjs';
|
|
4
4
|
import { SetKeeperCatalogInput, SetKeeperCatalogResult } from './keepers.cjs';
|
|
5
|
-
import { l as GenerationSessionParams } from '../nodes-
|
|
5
|
+
import { l as GenerationSessionParams } from '../nodes-BZavad1T.cjs';
|
|
6
6
|
import '@nodaro/shared/apps';
|
|
7
7
|
import '@nodaro/shared/organizations';
|
|
8
8
|
import '@nodaro/shared/types';
|
|
@@ -2,7 +2,7 @@ import { LocationAssetType, CharacterAspectRatio, LocationAttachColumn, Surround
|
|
|
2
2
|
export { LOCATION_ASSET_TYPES, LOCATION_ATTACH_COLUMNS, LocationAssetType, LocationAttachColumn, SURROUND_DIRECTIONS, SurroundDirection } from '@nodaro/shared/entities';
|
|
3
3
|
import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.js';
|
|
4
4
|
import { SetKeeperCatalogInput, SetKeeperCatalogResult } from './keepers.js';
|
|
5
|
-
import { l as GenerationSessionParams } from '../nodes-
|
|
5
|
+
import { l as GenerationSessionParams } from '../nodes-1u7MPrD5.js';
|
|
6
6
|
import '@nodaro/shared/apps';
|
|
7
7
|
import '@nodaro/shared/organizations';
|
|
8
8
|
import '@nodaro/shared/types';
|
package/dist/entries/media.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-RHETJOUM.cjs');
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
4
|
+
var chunk3Y5TDB5K_cjs = require('../chunk-3Y5TDB5K.cjs');
|
|
5
|
+
require('../chunk-KU3UITCU.cjs');
|
|
6
|
+
require('../chunk-GSE7SB3I.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "MediaResource", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunk3Y5TDB5K_cjs.MediaResource; }
|
|
13
13
|
});
|
|
14
14
|
//# sourceMappingURL=media.cjs.map
|
|
15
15
|
//# sourceMappingURL=media.cjs.map
|
package/dist/entries/media.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../chunk-ES2E65HT.js';
|
|
2
|
-
export { MediaResource } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
2
|
+
export { MediaResource } from '../chunk-ND7JMM5H.js';
|
|
3
|
+
import '../chunk-YYMX3VN7.js';
|
|
4
|
+
import '../chunk-JJMQ2EVL.js';
|
|
5
5
|
//# sourceMappingURL=media.js.map
|
|
6
6
|
//# sourceMappingURL=media.js.map
|
package/dist/entries/nodes.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunk7CK6I4CT_cjs = require('../chunk-7CK6I4CT.cjs');
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var chunkGWTKYJJO_cjs = require('../chunk-GWTKYJJO.cjs');
|
|
5
|
+
require('../chunk-GSE7SB3I.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -16,7 +16,7 @@ Object.defineProperty(exports, "PROMPT_SUFFIX_KEY", {
|
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "NodesResource", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkGWTKYJJO_cjs.NodesResource; }
|
|
20
20
|
});
|
|
21
21
|
//# sourceMappingURL=nodes.cjs.map
|
|
22
22
|
//# sourceMappingURL=nodes.cjs.map
|
package/dist/entries/nodes.d.cts
CHANGED
|
@@ -4,7 +4,7 @@ export { GeminiOmniVoicePresetId, ImageAspectRatio, ImageEditProvider, ImageEdit
|
|
|
4
4
|
export { PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY, PromptAffixFields } from '@nodaro/shared/nodes';
|
|
5
5
|
export { SocialPlatform, SocialPost, SocialPostAuthor, SocialPostMedia, SocialPostMetrics, SocialSearchCount, SocialSearchMode, SocialSearchParams, SocialSearchPeriod, SocialSearchSort, SocialSearchVideoKind } from '@nodaro/shared/social';
|
|
6
6
|
export { GenerateMaskOutput, GenerateMaskRequest, VideoDepthColormap, VideoDepthModelSize, VideoDepthProvider, VideoDepthResolution } from '@nodaro/shared/media';
|
|
7
|
-
export { A as AssembleNarratedVideoParams, B as BatchJobOutcome, E as EditImageCommonParams, a as EditImageFromTaskParams, b as EditImageFromUrlParams, c as EditImageParams, G as GenerateImageBatchGroup, e as GenerateImageBatchOutput, f as GenerateImageBatchResult, g as GenerateImageParams, h as GenerateMaskJobOutput, i as GenerateMaskParams, k as GenerateVideoParams, l as GenerationSessionParams, I as ImageJobStarted, m as ImageToImageParams, J as JobOutputImage, N as NodeCategory, n as NodeCreditRate, o as NodeDescriptor, p as NodeInputField, q as NodeInputSchema, r as NodeJobOutput, s as NodeQuote, t as NodesResource, O as OutputType, Q as QuoteAdjustment, y as QuoteWarning, R as ReferenceCaptionParams, F as RunAndWaitOptions, H as RunManyResult, K as RunNodeAdjustment, L as RunNodeOptions, M as RunNodeResult, S as RunNodeWarning, _ as SocialSearchJobOutput, $ as SplitImageParams, a0 as SplitImageResult, a1 as SplitImageTile, a2 as StructuredReferenceParams, a3 as Subject, a4 as TextToSpeechParams, a5 as TextToVideoParams, a6 as VideoDepthParams, a7 as VideoToVideoParams, a8 as VideoUpscaleParams } from '../nodes-
|
|
7
|
+
export { A as AssembleNarratedVideoParams, B as BatchJobOutcome, E as EditImageCommonParams, a as EditImageFromTaskParams, b as EditImageFromUrlParams, c as EditImageParams, G as GenerateImageBatchGroup, e as GenerateImageBatchOutput, f as GenerateImageBatchResult, g as GenerateImageParams, h as GenerateMaskJobOutput, i as GenerateMaskParams, k as GenerateVideoParams, l as GenerationSessionParams, I as ImageJobStarted, m as ImageToImageParams, J as JobOutputImage, N as NodeCategory, n as NodeCreditRate, o as NodeDescriptor, p as NodeInputField, q as NodeInputSchema, r as NodeJobOutput, s as NodeQuote, t as NodesResource, O as OutputType, Q as QuoteAdjustment, y as QuoteWarning, R as ReferenceCaptionParams, F as RunAndWaitOptions, H as RunManyResult, K as RunNodeAdjustment, L as RunNodeOptions, M as RunNodeResult, S as RunNodeWarning, _ as SocialSearchJobOutput, $ as SplitImageParams, a0 as SplitImageResult, a1 as SplitImageTile, a2 as StructuredReferenceParams, a3 as Subject, a4 as TextToSpeechParams, a5 as TextToVideoParams, a6 as VideoDepthParams, a7 as VideoToVideoParams, a8 as VideoUpscaleParams } from '../nodes-BZavad1T.cjs';
|
|
8
8
|
export { TopazUpscaleFactor } from '@nodaro/shared/credits';
|
|
9
9
|
export { ImageToImageAttachColumn } from '@nodaro/shared/entities';
|
|
10
10
|
import '@nodaro/shared/scene3d';
|
package/dist/entries/nodes.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { GeminiOmniVoicePresetId, ImageAspectRatio, ImageEditProvider, ImageEdit
|
|
|
4
4
|
export { PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY, PromptAffixFields } from '@nodaro/shared/nodes';
|
|
5
5
|
export { SocialPlatform, SocialPost, SocialPostAuthor, SocialPostMedia, SocialPostMetrics, SocialSearchCount, SocialSearchMode, SocialSearchParams, SocialSearchPeriod, SocialSearchSort, SocialSearchVideoKind } from '@nodaro/shared/social';
|
|
6
6
|
export { GenerateMaskOutput, GenerateMaskRequest, VideoDepthColormap, VideoDepthModelSize, VideoDepthProvider, VideoDepthResolution } from '@nodaro/shared/media';
|
|
7
|
-
export { A as AssembleNarratedVideoParams, B as BatchJobOutcome, E as EditImageCommonParams, a as EditImageFromTaskParams, b as EditImageFromUrlParams, c as EditImageParams, G as GenerateImageBatchGroup, e as GenerateImageBatchOutput, f as GenerateImageBatchResult, g as GenerateImageParams, h as GenerateMaskJobOutput, i as GenerateMaskParams, k as GenerateVideoParams, l as GenerationSessionParams, I as ImageJobStarted, m as ImageToImageParams, J as JobOutputImage, N as NodeCategory, n as NodeCreditRate, o as NodeDescriptor, p as NodeInputField, q as NodeInputSchema, r as NodeJobOutput, s as NodeQuote, t as NodesResource, O as OutputType, Q as QuoteAdjustment, y as QuoteWarning, R as ReferenceCaptionParams, F as RunAndWaitOptions, H as RunManyResult, K as RunNodeAdjustment, L as RunNodeOptions, M as RunNodeResult, S as RunNodeWarning, _ as SocialSearchJobOutput, $ as SplitImageParams, a0 as SplitImageResult, a1 as SplitImageTile, a2 as StructuredReferenceParams, a3 as Subject, a4 as TextToSpeechParams, a5 as TextToVideoParams, a6 as VideoDepthParams, a7 as VideoToVideoParams, a8 as VideoUpscaleParams } from '../nodes-
|
|
7
|
+
export { A as AssembleNarratedVideoParams, B as BatchJobOutcome, E as EditImageCommonParams, a as EditImageFromTaskParams, b as EditImageFromUrlParams, c as EditImageParams, G as GenerateImageBatchGroup, e as GenerateImageBatchOutput, f as GenerateImageBatchResult, g as GenerateImageParams, h as GenerateMaskJobOutput, i as GenerateMaskParams, k as GenerateVideoParams, l as GenerationSessionParams, I as ImageJobStarted, m as ImageToImageParams, J as JobOutputImage, N as NodeCategory, n as NodeCreditRate, o as NodeDescriptor, p as NodeInputField, q as NodeInputSchema, r as NodeJobOutput, s as NodeQuote, t as NodesResource, O as OutputType, Q as QuoteAdjustment, y as QuoteWarning, R as ReferenceCaptionParams, F as RunAndWaitOptions, H as RunManyResult, K as RunNodeAdjustment, L as RunNodeOptions, M as RunNodeResult, S as RunNodeWarning, _ as SocialSearchJobOutput, $ as SplitImageParams, a0 as SplitImageResult, a1 as SplitImageTile, a2 as StructuredReferenceParams, a3 as Subject, a4 as TextToSpeechParams, a5 as TextToVideoParams, a6 as VideoDepthParams, a7 as VideoToVideoParams, a8 as VideoUpscaleParams } from '../nodes-1u7MPrD5.js';
|
|
8
8
|
export { TopazUpscaleFactor } from '@nodaro/shared/credits';
|
|
9
9
|
export { ImageToImageAttachColumn } from '@nodaro/shared/entities';
|
|
10
10
|
import '@nodaro/shared/scene3d';
|
package/dist/entries/nodes.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY } from '../chunk-ZYPH2FPT.js';
|
|
2
|
-
export { NodesResource } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
2
|
+
export { NodesResource } from '../chunk-ALDXFMD7.js';
|
|
3
|
+
import '../chunk-JJMQ2EVL.js';
|
|
4
4
|
//# sourceMappingURL=nodes.js.map
|
|
5
5
|
//# sourceMappingURL=nodes.js.map
|
|
@@ -2,7 +2,7 @@ import { ObjectAssetType, ObjectAttachColumn, ObjectAspectRatio } from '@nodaro/
|
|
|
2
2
|
export { OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ATTACH_COLUMNS, ObjectAspectRatio, ObjectAssetType, ObjectAttachColumn } from '@nodaro/shared/entities';
|
|
3
3
|
import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.cjs';
|
|
4
4
|
import { SetKeeperCatalogInput, SetKeeperCatalogResult } from './keepers.cjs';
|
|
5
|
-
import { l as GenerationSessionParams } from '../nodes-
|
|
5
|
+
import { l as GenerationSessionParams } from '../nodes-BZavad1T.cjs';
|
|
6
6
|
import '@nodaro/shared/apps';
|
|
7
7
|
import '@nodaro/shared/organizations';
|
|
8
8
|
import '@nodaro/shared/types';
|
|
@@ -2,7 +2,7 @@ import { ObjectAssetType, ObjectAttachColumn, ObjectAspectRatio } from '@nodaro/
|
|
|
2
2
|
export { OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ATTACH_COLUMNS, ObjectAspectRatio, ObjectAssetType, ObjectAttachColumn } from '@nodaro/shared/entities';
|
|
3
3
|
import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.js';
|
|
4
4
|
import { SetKeeperCatalogInput, SetKeeperCatalogResult } from './keepers.js';
|
|
5
|
-
import { l as GenerationSessionParams } from '../nodes-
|
|
5
|
+
import { l as GenerationSessionParams } from '../nodes-1u7MPrD5.js';
|
|
6
6
|
import '@nodaro/shared/apps';
|
|
7
7
|
import '@nodaro/shared/organizations';
|
|
8
8
|
import '@nodaro/shared/types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as NodesResource, V as Scene3DCapabilities, W as Scene3DDelivery, X as Scene3DDeliveryAsset, C as RetainedScene3DEditParams, D as RetainedScene3DEditResult, j as GenerateScene3DParams, M as RunNodeResult, F as RunAndWaitOptions, Z as Scene3DJobOutput, d as EditScene3DParams, u as Pro3DRenderParams, v as Pro3DRenderQuote, x as Pro3DRenderRunParams, w as Pro3DRenderRunOptions, P as Pro3DRenderJobOutput, z as RenderScene3DParams, r as NodeJobOutput } from '../nodes-
|
|
2
|
-
export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-
|
|
1
|
+
import { t as NodesResource, V as Scene3DCapabilities, W as Scene3DDelivery, X as Scene3DDeliveryAsset, C as RetainedScene3DEditParams, D as RetainedScene3DEditResult, j as GenerateScene3DParams, M as RunNodeResult, F as RunAndWaitOptions, Z as Scene3DJobOutput, d as EditScene3DParams, u as Pro3DRenderParams, v as Pro3DRenderQuote, x as Pro3DRenderRunParams, w as Pro3DRenderRunOptions, P as Pro3DRenderJobOutput, z as RenderScene3DParams, r as NodeJobOutput } from '../nodes-BZavad1T.cjs';
|
|
2
|
+
export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-BZavad1T.cjs';
|
|
3
3
|
import { Scene3DAssetRef } from '@nodaro/shared/scene3d';
|
|
4
4
|
import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.cjs';
|
|
5
5
|
import '@nodaro/shared/types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as NodesResource, V as Scene3DCapabilities, W as Scene3DDelivery, X as Scene3DDeliveryAsset, C as RetainedScene3DEditParams, D as RetainedScene3DEditResult, j as GenerateScene3DParams, M as RunNodeResult, F as RunAndWaitOptions, Z as Scene3DJobOutput, d as EditScene3DParams, u as Pro3DRenderParams, v as Pro3DRenderQuote, x as Pro3DRenderRunParams, w as Pro3DRenderRunOptions, P as Pro3DRenderJobOutput, z as RenderScene3DParams, r as NodeJobOutput } from '../nodes-
|
|
2
|
-
export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-
|
|
1
|
+
import { t as NodesResource, V as Scene3DCapabilities, W as Scene3DDelivery, X as Scene3DDeliveryAsset, C as RetainedScene3DEditParams, D as RetainedScene3DEditResult, j as GenerateScene3DParams, M as RunNodeResult, F as RunAndWaitOptions, Z as Scene3DJobOutput, d as EditScene3DParams, u as Pro3DRenderParams, v as Pro3DRenderQuote, x as Pro3DRenderRunParams, w as Pro3DRenderRunOptions, P as Pro3DRenderJobOutput, z as RenderScene3DParams, r as NodeJobOutput } from '../nodes-1u7MPrD5.js';
|
|
2
|
+
export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-1u7MPrD5.js';
|
|
3
3
|
import { Scene3DAssetRef } from '@nodaro/shared/scene3d';
|
|
4
4
|
import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.js';
|
|
5
5
|
import '@nodaro/shared/types';
|
package/dist/entries/studio.cjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-ZJGFLJ2Z.cjs');
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var chunkTSM3S2QS_cjs = require('../chunk-TSM3S2QS.cjs');
|
|
5
|
+
require('../chunk-GSE7SB3I.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "StudioProductionsResource", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkTSM3S2QS_cjs.StudioProductionsResource; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "StudioResource", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkTSM3S2QS_cjs.StudioResource; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "isStudioGenerateEstimate", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkTSM3S2QS_cjs.isStudioGenerateEstimate; }
|
|
20
20
|
});
|
|
21
21
|
//# sourceMappingURL=studio.cjs.map
|
|
22
22
|
//# sourceMappingURL=studio.cjs.map
|
package/dist/entries/studio.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../chunk-PMTM26LL.js';
|
|
2
|
-
export { StudioProductionsResource, StudioResource, isStudioGenerateEstimate } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
2
|
+
export { StudioProductionsResource, StudioResource, isStudioGenerateEstimate } from '../chunk-VTL4DBX4.js';
|
|
3
|
+
import '../chunk-JJMQ2EVL.js';
|
|
4
4
|
//# sourceMappingURL=studio.js.map
|
|
5
5
|
//# sourceMappingURL=studio.js.map
|
package/dist/entries/uploads.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-ZE5RISBZ.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkNOZWIS7M_cjs = require('../chunk-NOZWIS7M.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "UploadsResource", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkNOZWIS7M_cjs.UploadsResource; }
|
|
11
11
|
});
|
|
12
12
|
//# sourceMappingURL=uploads.cjs.map
|
|
13
13
|
//# sourceMappingURL=uploads.cjs.map
|
|
@@ -39,6 +39,24 @@ declare class UploadsResource {
|
|
|
39
39
|
* errors on the usual statuses.
|
|
40
40
|
*/
|
|
41
41
|
upload(file: File): Promise<UploadResult>;
|
|
42
|
+
/**
|
|
43
|
+
* Copy a picture from a web address into your storage
|
|
44
|
+
* (`POST /v1/media/import-url`, body `{ url }`). The platform fetches it
|
|
45
|
+
* (http(s) only, never a private address, up to 20 MB), keeps it only if it
|
|
46
|
+
* decodes as an image (JPEG, PNG, WebP, GIF; HEIC/HEIF and AVIF are
|
|
47
|
+
* converted to JPEG or PNG), and stores it as an upload of yours, so its address serves
|
|
48
|
+
* the pixels to the browser (a canvas can read it). Returns the stored
|
|
49
|
+
* picture (unwraps the `{ data }` envelope).
|
|
50
|
+
*
|
|
51
|
+
* Throws `StorageExceededError` on a 413, its `reason` telling the two
|
|
52
|
+
* apart: `storage_limit_exceeded` is a full storage (the quota is in
|
|
53
|
+
* `details` — `usedBytes`, `quotaBytes`, `remainingBytes`, `tier`), and
|
|
54
|
+
* `file_too_large` a picture over 20 MB. Throws a `NodaroError` with `code`
|
|
55
|
+
* `validation_error` (400: not an http(s) address, or not an image) or
|
|
56
|
+
* `fetch_failed` (422: the address could not be reached or answered with an
|
|
57
|
+
* error).
|
|
58
|
+
*/
|
|
59
|
+
importUrl(url: string): Promise<ImportUrlResult>;
|
|
42
60
|
/**
|
|
43
61
|
* Store a JSON document (`POST /v1/upload-json`, up to 25 MB) and get its
|
|
44
62
|
* public URL — e.g. an image editor's design state, passed to
|
|
@@ -53,5 +71,27 @@ interface UploadJsonResult {
|
|
|
53
71
|
/** Public URL of the stored JSON document. */
|
|
54
72
|
readonly url: string;
|
|
55
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* Result of {@link UploadsResource.importUrl}. Mirrors the route's `data`:
|
|
76
|
+
* the fields of {@link UploadResult} it shares, plus the picture's size.
|
|
77
|
+
*/
|
|
78
|
+
interface ImportUrlResult {
|
|
79
|
+
/** Public URL of the stored picture. */
|
|
80
|
+
readonly url: string;
|
|
81
|
+
/** Generated thumbnail URL; `null` when it could not be made. */
|
|
82
|
+
readonly thumbnailUrl: string | null;
|
|
83
|
+
/** Storage row id; `null` when no asset row was written. */
|
|
84
|
+
readonly assetId: string | null;
|
|
85
|
+
/** Final MIME type (a HEIC/HEIF or AVIF source is stored as JPEG or PNG). */
|
|
86
|
+
readonly mimeType: string;
|
|
87
|
+
/** Stored byte size. */
|
|
88
|
+
readonly sizeBytes: number;
|
|
89
|
+
/** Display filename: the address's last path segment, else `imported-<id>.<ext>`. */
|
|
90
|
+
readonly filename: string;
|
|
91
|
+
/** Width in pixels; 0 when it could not be read. */
|
|
92
|
+
readonly width: number;
|
|
93
|
+
/** Height in pixels; 0 when it could not be read. */
|
|
94
|
+
readonly height: number;
|
|
95
|
+
}
|
|
56
96
|
|
|
57
|
-
export { type UploadJsonResult, type UploadResult, UploadsResource };
|
|
97
|
+
export { type ImportUrlResult, type UploadJsonResult, type UploadResult, UploadsResource };
|
|
@@ -39,6 +39,24 @@ declare class UploadsResource {
|
|
|
39
39
|
* errors on the usual statuses.
|
|
40
40
|
*/
|
|
41
41
|
upload(file: File): Promise<UploadResult>;
|
|
42
|
+
/**
|
|
43
|
+
* Copy a picture from a web address into your storage
|
|
44
|
+
* (`POST /v1/media/import-url`, body `{ url }`). The platform fetches it
|
|
45
|
+
* (http(s) only, never a private address, up to 20 MB), keeps it only if it
|
|
46
|
+
* decodes as an image (JPEG, PNG, WebP, GIF; HEIC/HEIF and AVIF are
|
|
47
|
+
* converted to JPEG or PNG), and stores it as an upload of yours, so its address serves
|
|
48
|
+
* the pixels to the browser (a canvas can read it). Returns the stored
|
|
49
|
+
* picture (unwraps the `{ data }` envelope).
|
|
50
|
+
*
|
|
51
|
+
* Throws `StorageExceededError` on a 413, its `reason` telling the two
|
|
52
|
+
* apart: `storage_limit_exceeded` is a full storage (the quota is in
|
|
53
|
+
* `details` — `usedBytes`, `quotaBytes`, `remainingBytes`, `tier`), and
|
|
54
|
+
* `file_too_large` a picture over 20 MB. Throws a `NodaroError` with `code`
|
|
55
|
+
* `validation_error` (400: not an http(s) address, or not an image) or
|
|
56
|
+
* `fetch_failed` (422: the address could not be reached or answered with an
|
|
57
|
+
* error).
|
|
58
|
+
*/
|
|
59
|
+
importUrl(url: string): Promise<ImportUrlResult>;
|
|
42
60
|
/**
|
|
43
61
|
* Store a JSON document (`POST /v1/upload-json`, up to 25 MB) and get its
|
|
44
62
|
* public URL — e.g. an image editor's design state, passed to
|
|
@@ -53,5 +71,27 @@ interface UploadJsonResult {
|
|
|
53
71
|
/** Public URL of the stored JSON document. */
|
|
54
72
|
readonly url: string;
|
|
55
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* Result of {@link UploadsResource.importUrl}. Mirrors the route's `data`:
|
|
76
|
+
* the fields of {@link UploadResult} it shares, plus the picture's size.
|
|
77
|
+
*/
|
|
78
|
+
interface ImportUrlResult {
|
|
79
|
+
/** Public URL of the stored picture. */
|
|
80
|
+
readonly url: string;
|
|
81
|
+
/** Generated thumbnail URL; `null` when it could not be made. */
|
|
82
|
+
readonly thumbnailUrl: string | null;
|
|
83
|
+
/** Storage row id; `null` when no asset row was written. */
|
|
84
|
+
readonly assetId: string | null;
|
|
85
|
+
/** Final MIME type (a HEIC/HEIF or AVIF source is stored as JPEG or PNG). */
|
|
86
|
+
readonly mimeType: string;
|
|
87
|
+
/** Stored byte size. */
|
|
88
|
+
readonly sizeBytes: number;
|
|
89
|
+
/** Display filename: the address's last path segment, else `imported-<id>.<ext>`. */
|
|
90
|
+
readonly filename: string;
|
|
91
|
+
/** Width in pixels; 0 when it could not be read. */
|
|
92
|
+
readonly width: number;
|
|
93
|
+
/** Height in pixels; 0 when it could not be read. */
|
|
94
|
+
readonly height: number;
|
|
95
|
+
}
|
|
56
96
|
|
|
57
|
-
export { type UploadJsonResult, type UploadResult, UploadsResource };
|
|
97
|
+
export { type ImportUrlResult, type UploadJsonResult, type UploadResult, UploadsResource };
|
package/dist/entries/uploads.js
CHANGED