@nodaro/sdk 2.57.0 → 2.58.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-JX3GYLV3.cjs → chunk-23MCQAIF.cjs} +6 -6
- package/dist/{chunk-JX3GYLV3.cjs.map → chunk-23MCQAIF.cjs.map} +1 -1
- package/dist/{chunk-HFYNZ4SO.js → chunk-CE2R2IG3.js} +2 -2
- package/dist/{chunk-HFYNZ4SO.js.map → chunk-CE2R2IG3.js.map} +1 -1
- package/dist/{chunk-PDX742CC.cjs → chunk-HZSVI6EQ.cjs} +2 -2
- package/dist/{chunk-PDX742CC.cjs.map → chunk-HZSVI6EQ.cjs.map} +1 -1
- package/dist/{chunk-EDSODRRY.js → chunk-LBRRTELY.js} +4 -4
- package/dist/{chunk-EDSODRRY.js.map → chunk-LBRRTELY.js.map} +1 -1
- package/dist/{chunk-7PYZCNLH.cjs → chunk-Y443ULVC.cjs} +3 -3
- package/dist/{chunk-7PYZCNLH.cjs.map → chunk-Y443ULVC.cjs.map} +1 -1
- package/dist/{chunk-SOR6K3XZ.js → chunk-Z46EDPJ7.js} +3 -3
- package/dist/{chunk-SOR6K3XZ.js.map → chunk-Z46EDPJ7.js.map} +1 -1
- package/dist/entries/characters.d.cts +1 -1
- package/dist/entries/characters.d.ts +1 -1
- package/dist/entries/client.cjs +8 -8
- package/dist/entries/client.d.cts +1 -1
- package/dist/entries/client.d.ts +1 -1
- package/dist/entries/client.js +3 -3
- package/dist/entries/core.cjs +5 -5
- package/dist/entries/core.js +1 -1
- package/dist/entries/creatures.d.cts +1 -1
- package/dist/entries/creatures.d.ts +1 -1
- package/dist/entries/locations.d.cts +1 -1
- package/dist/entries/locations.d.ts +1 -1
- package/dist/entries/nodes.d.cts +1 -1
- package/dist/entries/nodes.d.ts +1 -1
- 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/trends.cjs +2 -2
- package/dist/entries/trends.d.cts +27 -29
- package/dist/entries/trends.d.ts +27 -29
- package/dist/entries/trends.js +1 -1
- package/dist/index.cjs +10 -10
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/{nodes-1u7MPrD5.d.ts → nodes-Cy6dmQEz.d.ts} +3 -3
- package/dist/{nodes-BZavad1T.d.cts → nodes-Di-Z7-vr.d.cts} +3 -3
- package/package.json +2 -2
|
@@ -28,6 +28,27 @@ type TrendResolution = "480p" | "720p" | "1080p";
|
|
|
28
28
|
* The trend chooses it, never the person running it.
|
|
29
29
|
*/
|
|
30
30
|
type TrendEngine = CastSwapEngine;
|
|
31
|
+
/**
|
|
32
|
+
* One of a trend's videos as a list or page shows it: the card's
|
|
33
|
+
* {@link TrendCard.cover}, {@link TrendCard.original} and
|
|
34
|
+
* {@link TrendCard.examples}, and the fields {@link TrendExample} and
|
|
35
|
+
* {@link TrendOriginal} share.
|
|
36
|
+
*/
|
|
37
|
+
interface TrendVideo {
|
|
38
|
+
videoUrl: string;
|
|
39
|
+
posterUrl?: string;
|
|
40
|
+
width: number;
|
|
41
|
+
height: number;
|
|
42
|
+
/**
|
|
43
|
+
* A light copy made by the platform for playback: H.264 ~2.5 Mbit/s, AAC
|
|
44
|
+
* 160 kbit/s; play it as it is (no CDN transform). Absent on an older
|
|
45
|
+
* version (until it is made) and from an older server: play
|
|
46
|
+
* {@link videoUrl} then.
|
|
47
|
+
*/
|
|
48
|
+
webUrl?: string;
|
|
49
|
+
/** The size of {@link webUrl}'s file, in bytes; present exactly when {@link webUrl} is. */
|
|
50
|
+
webSizeBytes?: number;
|
|
51
|
+
}
|
|
31
52
|
/** A trend in the catalog (`list()`). Text is in the resolved locale. */
|
|
32
53
|
interface TrendCard {
|
|
33
54
|
id: string;
|
|
@@ -41,24 +62,14 @@ interface TrendCard {
|
|
|
41
62
|
* The trend's first example, else (a trend with no example) its original's
|
|
42
63
|
* display copy, as {@link TrendDetail.original}.
|
|
43
64
|
*/
|
|
44
|
-
cover:
|
|
45
|
-
videoUrl: string;
|
|
46
|
-
posterUrl?: string;
|
|
47
|
-
width: number;
|
|
48
|
-
height: number;
|
|
49
|
-
};
|
|
65
|
+
cover: TrendVideo;
|
|
50
66
|
/**
|
|
51
67
|
* The original's display copy, the same address as {@link TrendDetail.original}
|
|
52
68
|
* (without its length and preview start). Absent on a version without a
|
|
53
69
|
* display copy (and from an older server). On a trend that hides its
|
|
54
70
|
* original, its first example instead (then the same as {@link cover}).
|
|
55
71
|
*/
|
|
56
|
-
original?:
|
|
57
|
-
videoUrl: string;
|
|
58
|
-
posterUrl?: string;
|
|
59
|
-
width: number;
|
|
60
|
-
height: number;
|
|
61
|
-
};
|
|
72
|
+
original?: TrendVideo;
|
|
62
73
|
/**
|
|
63
74
|
* Every example's video, in the page's order, so a list can show each clip
|
|
64
75
|
* without reading the trend's page. Empty on a trend with only its original;
|
|
@@ -66,12 +77,7 @@ interface TrendCard {
|
|
|
66
77
|
* ({@link TrendDetail.examples}). On a trend that hides its original, from
|
|
67
78
|
* its second example (the first is {@link original}).
|
|
68
79
|
*/
|
|
69
|
-
examples?:
|
|
70
|
-
videoUrl: string;
|
|
71
|
-
posterUrl?: string;
|
|
72
|
-
width: number;
|
|
73
|
-
height: number;
|
|
74
|
-
}>;
|
|
80
|
+
examples?: TrendVideo[];
|
|
75
81
|
/** How many slots of each kind the trend has. */
|
|
76
82
|
needs: Record<TrendSlotKind, number>;
|
|
77
83
|
/** The length of a full run, in seconds. */
|
|
@@ -108,11 +114,7 @@ interface TrendDetailSlot {
|
|
|
108
114
|
defaults?: TrendChips;
|
|
109
115
|
}
|
|
110
116
|
/** A finished run shown on a trend's page, with the pictures it used per slot. */
|
|
111
|
-
interface TrendExample {
|
|
112
|
-
videoUrl: string;
|
|
113
|
-
posterUrl?: string;
|
|
114
|
-
width: number;
|
|
115
|
-
height: number;
|
|
117
|
+
interface TrendExample extends TrendVideo {
|
|
116
118
|
/**
|
|
117
119
|
* Slot key → the pictures this example used for it. An optional slot the
|
|
118
120
|
* example kept as in the original has no key; a run that leaves that slot
|
|
@@ -126,11 +128,7 @@ interface TrendExample {
|
|
|
126
128
|
* its first example instead (the original clip is then never sent). Its fields
|
|
127
129
|
* parallel {@link TrendExample}'s.
|
|
128
130
|
*/
|
|
129
|
-
interface TrendOriginal {
|
|
130
|
-
videoUrl: string;
|
|
131
|
-
posterUrl?: string;
|
|
132
|
-
width: number;
|
|
133
|
-
height: number;
|
|
131
|
+
interface TrendOriginal extends TrendVideo {
|
|
134
132
|
/** The copy's length (on a trend that hides its original, the first example's), in seconds. */
|
|
135
133
|
durationSec: number;
|
|
136
134
|
/**
|
|
@@ -443,4 +441,4 @@ declare class TrendsResource {
|
|
|
443
441
|
unfavorite(slug: string): Promise<void>;
|
|
444
442
|
}
|
|
445
443
|
|
|
446
|
-
export { type ListTrendRunsParams, type ListTrendsParams, type TrendCard, type TrendChipKey, type TrendChips, type TrendChoice, type TrendDetail, type TrendDetailSlot, type TrendEngine, type TrendEstimate, type TrendExample, type TrendOriginal, type TrendPage, type TrendResolution, type TrendRun, type TrendRunDisplaySlot, type TrendRunOptions, type TrendRunRequest, type TrendRunSlot, type TrendSlotKind, type TrendTag, TrendsResource };
|
|
444
|
+
export { type ListTrendRunsParams, type ListTrendsParams, type TrendCard, type TrendChipKey, type TrendChips, type TrendChoice, type TrendDetail, type TrendDetailSlot, type TrendEngine, type TrendEstimate, type TrendExample, type TrendOriginal, type TrendPage, type TrendResolution, type TrendRun, type TrendRunDisplaySlot, type TrendRunOptions, type TrendRunRequest, type TrendRunSlot, type TrendSlotKind, type TrendTag, type TrendVideo, TrendsResource };
|
package/dist/entries/trends.d.ts
CHANGED
|
@@ -28,6 +28,27 @@ type TrendResolution = "480p" | "720p" | "1080p";
|
|
|
28
28
|
* The trend chooses it, never the person running it.
|
|
29
29
|
*/
|
|
30
30
|
type TrendEngine = CastSwapEngine;
|
|
31
|
+
/**
|
|
32
|
+
* One of a trend's videos as a list or page shows it: the card's
|
|
33
|
+
* {@link TrendCard.cover}, {@link TrendCard.original} and
|
|
34
|
+
* {@link TrendCard.examples}, and the fields {@link TrendExample} and
|
|
35
|
+
* {@link TrendOriginal} share.
|
|
36
|
+
*/
|
|
37
|
+
interface TrendVideo {
|
|
38
|
+
videoUrl: string;
|
|
39
|
+
posterUrl?: string;
|
|
40
|
+
width: number;
|
|
41
|
+
height: number;
|
|
42
|
+
/**
|
|
43
|
+
* A light copy made by the platform for playback: H.264 ~2.5 Mbit/s, AAC
|
|
44
|
+
* 160 kbit/s; play it as it is (no CDN transform). Absent on an older
|
|
45
|
+
* version (until it is made) and from an older server: play
|
|
46
|
+
* {@link videoUrl} then.
|
|
47
|
+
*/
|
|
48
|
+
webUrl?: string;
|
|
49
|
+
/** The size of {@link webUrl}'s file, in bytes; present exactly when {@link webUrl} is. */
|
|
50
|
+
webSizeBytes?: number;
|
|
51
|
+
}
|
|
31
52
|
/** A trend in the catalog (`list()`). Text is in the resolved locale. */
|
|
32
53
|
interface TrendCard {
|
|
33
54
|
id: string;
|
|
@@ -41,24 +62,14 @@ interface TrendCard {
|
|
|
41
62
|
* The trend's first example, else (a trend with no example) its original's
|
|
42
63
|
* display copy, as {@link TrendDetail.original}.
|
|
43
64
|
*/
|
|
44
|
-
cover:
|
|
45
|
-
videoUrl: string;
|
|
46
|
-
posterUrl?: string;
|
|
47
|
-
width: number;
|
|
48
|
-
height: number;
|
|
49
|
-
};
|
|
65
|
+
cover: TrendVideo;
|
|
50
66
|
/**
|
|
51
67
|
* The original's display copy, the same address as {@link TrendDetail.original}
|
|
52
68
|
* (without its length and preview start). Absent on a version without a
|
|
53
69
|
* display copy (and from an older server). On a trend that hides its
|
|
54
70
|
* original, its first example instead (then the same as {@link cover}).
|
|
55
71
|
*/
|
|
56
|
-
original?:
|
|
57
|
-
videoUrl: string;
|
|
58
|
-
posterUrl?: string;
|
|
59
|
-
width: number;
|
|
60
|
-
height: number;
|
|
61
|
-
};
|
|
72
|
+
original?: TrendVideo;
|
|
62
73
|
/**
|
|
63
74
|
* Every example's video, in the page's order, so a list can show each clip
|
|
64
75
|
* without reading the trend's page. Empty on a trend with only its original;
|
|
@@ -66,12 +77,7 @@ interface TrendCard {
|
|
|
66
77
|
* ({@link TrendDetail.examples}). On a trend that hides its original, from
|
|
67
78
|
* its second example (the first is {@link original}).
|
|
68
79
|
*/
|
|
69
|
-
examples?:
|
|
70
|
-
videoUrl: string;
|
|
71
|
-
posterUrl?: string;
|
|
72
|
-
width: number;
|
|
73
|
-
height: number;
|
|
74
|
-
}>;
|
|
80
|
+
examples?: TrendVideo[];
|
|
75
81
|
/** How many slots of each kind the trend has. */
|
|
76
82
|
needs: Record<TrendSlotKind, number>;
|
|
77
83
|
/** The length of a full run, in seconds. */
|
|
@@ -108,11 +114,7 @@ interface TrendDetailSlot {
|
|
|
108
114
|
defaults?: TrendChips;
|
|
109
115
|
}
|
|
110
116
|
/** A finished run shown on a trend's page, with the pictures it used per slot. */
|
|
111
|
-
interface TrendExample {
|
|
112
|
-
videoUrl: string;
|
|
113
|
-
posterUrl?: string;
|
|
114
|
-
width: number;
|
|
115
|
-
height: number;
|
|
117
|
+
interface TrendExample extends TrendVideo {
|
|
116
118
|
/**
|
|
117
119
|
* Slot key → the pictures this example used for it. An optional slot the
|
|
118
120
|
* example kept as in the original has no key; a run that leaves that slot
|
|
@@ -126,11 +128,7 @@ interface TrendExample {
|
|
|
126
128
|
* its first example instead (the original clip is then never sent). Its fields
|
|
127
129
|
* parallel {@link TrendExample}'s.
|
|
128
130
|
*/
|
|
129
|
-
interface TrendOriginal {
|
|
130
|
-
videoUrl: string;
|
|
131
|
-
posterUrl?: string;
|
|
132
|
-
width: number;
|
|
133
|
-
height: number;
|
|
131
|
+
interface TrendOriginal extends TrendVideo {
|
|
134
132
|
/** The copy's length (on a trend that hides its original, the first example's), in seconds. */
|
|
135
133
|
durationSec: number;
|
|
136
134
|
/**
|
|
@@ -443,4 +441,4 @@ declare class TrendsResource {
|
|
|
443
441
|
unfavorite(slug: string): Promise<void>;
|
|
444
442
|
}
|
|
445
443
|
|
|
446
|
-
export { type ListTrendRunsParams, type ListTrendsParams, type TrendCard, type TrendChipKey, type TrendChips, type TrendChoice, type TrendDetail, type TrendDetailSlot, type TrendEngine, type TrendEstimate, type TrendExample, type TrendOriginal, type TrendPage, type TrendResolution, type TrendRun, type TrendRunDisplaySlot, type TrendRunOptions, type TrendRunRequest, type TrendRunSlot, type TrendSlotKind, type TrendTag, TrendsResource };
|
|
444
|
+
export { type ListTrendRunsParams, type ListTrendsParams, type TrendCard, type TrendChipKey, type TrendChips, type TrendChoice, type TrendDetail, type TrendDetailSlot, type TrendEngine, type TrendEstimate, type TrendExample, type TrendOriginal, type TrendPage, type TrendResolution, type TrendRun, type TrendRunDisplaySlot, type TrendRunOptions, type TrendRunRequest, type TrendRunSlot, type TrendSlotKind, type TrendTag, type TrendVideo, TrendsResource };
|
package/dist/entries/trends.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -54,7 +54,7 @@ require('./chunk-IS26FJO7.cjs');
|
|
|
54
54
|
require('./chunk-RQSGS7ZK.cjs');
|
|
55
55
|
require('./chunk-43NO4SGC.cjs');
|
|
56
56
|
require('./chunk-JOX5BJ6K.cjs');
|
|
57
|
-
var
|
|
57
|
+
var chunk23MCQAIF_cjs = require('./chunk-23MCQAIF.cjs');
|
|
58
58
|
var chunkKMNSPC72_cjs = require('./chunk-KMNSPC72.cjs');
|
|
59
59
|
var chunkNOZWIS7M_cjs = require('./chunk-NOZWIS7M.cjs');
|
|
60
60
|
var chunkUIDVH3GP_cjs = require('./chunk-UIDVH3GP.cjs');
|
|
@@ -70,7 +70,7 @@ var chunkMBFUMWI5_cjs = require('./chunk-MBFUMWI5.cjs');
|
|
|
70
70
|
var chunkTSM3S2QS_cjs = require('./chunk-TSM3S2QS.cjs');
|
|
71
71
|
var chunkUIBYZNDR_cjs = require('./chunk-UIBYZNDR.cjs');
|
|
72
72
|
var chunkLTZKNAXM_cjs = require('./chunk-LTZKNAXM.cjs');
|
|
73
|
-
var
|
|
73
|
+
var chunkHZSVI6EQ_cjs = require('./chunk-HZSVI6EQ.cjs');
|
|
74
74
|
var chunkJ5LGGCAS_cjs = require('./chunk-J5LGGCAS.cjs');
|
|
75
75
|
var chunkNBVARNVA_cjs = require('./chunk-NBVARNVA.cjs');
|
|
76
76
|
var chunk7YHIFCJ4_cjs = require('./chunk-7YHIFCJ4.cjs');
|
|
@@ -99,7 +99,7 @@ var chunk43FVH6LJ_cjs = require('./chunk-43FVH6LJ.cjs');
|
|
|
99
99
|
var chunkYFS2LMG4_cjs = require('./chunk-YFS2LMG4.cjs');
|
|
100
100
|
var chunkGDUEOKBF_cjs = require('./chunk-GDUEOKBF.cjs');
|
|
101
101
|
require('./chunk-KU3UITCU.cjs');
|
|
102
|
-
var
|
|
102
|
+
var chunkY443ULVC_cjs = require('./chunk-Y443ULVC.cjs');
|
|
103
103
|
var chunkGSE7SB3I_cjs = require('./chunk-GSE7SB3I.cjs');
|
|
104
104
|
var chunkA3XA6UNM_cjs = require('./chunk-A3XA6UNM.cjs');
|
|
105
105
|
var chunk4BAHF762_cjs = require('./chunk-4BAHF762.cjs');
|
|
@@ -147,11 +147,11 @@ Object.defineProperty(exports, "unwrapEditPlanOutput", {
|
|
|
147
147
|
});
|
|
148
148
|
Object.defineProperty(exports, "NodaroClient", {
|
|
149
149
|
enumerable: true,
|
|
150
|
-
get: function () { return
|
|
150
|
+
get: function () { return chunk23MCQAIF_cjs.NodaroClient; }
|
|
151
151
|
});
|
|
152
152
|
Object.defineProperty(exports, "createClient", {
|
|
153
153
|
enumerable: true,
|
|
154
|
-
get: function () { return
|
|
154
|
+
get: function () { return chunk23MCQAIF_cjs.createClient; }
|
|
155
155
|
});
|
|
156
156
|
Object.defineProperty(exports, "TutorialsResource", {
|
|
157
157
|
enumerable: true,
|
|
@@ -227,7 +227,7 @@ Object.defineProperty(exports, "TrashResource", {
|
|
|
227
227
|
});
|
|
228
228
|
Object.defineProperty(exports, "TrendsResource", {
|
|
229
229
|
enumerable: true,
|
|
230
|
-
get: function () { return
|
|
230
|
+
get: function () { return chunkHZSVI6EQ_cjs.TrendsResource; }
|
|
231
231
|
});
|
|
232
232
|
Object.defineProperty(exports, "OrganizationsResource", {
|
|
233
233
|
enumerable: true,
|
|
@@ -411,19 +411,19 @@ Object.defineProperty(exports, "CopilotResource", {
|
|
|
411
411
|
});
|
|
412
412
|
Object.defineProperty(exports, "CallbackAuth", {
|
|
413
413
|
enumerable: true,
|
|
414
|
-
get: function () { return
|
|
414
|
+
get: function () { return chunkY443ULVC_cjs.CallbackAuth; }
|
|
415
415
|
});
|
|
416
416
|
Object.defineProperty(exports, "NodaroClientCore", {
|
|
417
417
|
enumerable: true,
|
|
418
|
-
get: function () { return
|
|
418
|
+
get: function () { return chunkY443ULVC_cjs.NodaroClientCore; }
|
|
419
419
|
});
|
|
420
420
|
Object.defineProperty(exports, "StaticTokenAuth", {
|
|
421
421
|
enumerable: true,
|
|
422
|
-
get: function () { return
|
|
422
|
+
get: function () { return chunkY443ULVC_cjs.StaticTokenAuth; }
|
|
423
423
|
});
|
|
424
424
|
Object.defineProperty(exports, "supabaseAuth", {
|
|
425
425
|
enumerable: true,
|
|
426
|
-
get: function () { return
|
|
426
|
+
get: function () { return chunkY443ULVC_cjs.supabaseAuth; }
|
|
427
427
|
});
|
|
428
428
|
Object.defineProperty(exports, "AlreadyRunningError", {
|
|
429
429
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -32,7 +32,7 @@ export { CreateNodePresetGroupInput, CreateNodePresetInput, FactoryPresetEntry,
|
|
|
32
32
|
export { ConnectedReference, DescribedReference, GenericEdge, GenericNode } from '@nodaro/shared/types';
|
|
33
33
|
export { VideoCharacterReference, VideoCharacterVoice } from '@nodaro/shared/video';
|
|
34
34
|
export { AudioFxPreset, GenerateMaskOutput, GenerateMaskRequest, VideoDepthColormap, VideoDepthModelSize, VideoDepthProvider, VideoDepthResolution } from '@nodaro/shared/media';
|
|
35
|
-
export { A as AssembleNarratedVideoParams, B as BatchJobOutcome, E as EditImageCommonParams, a as EditImageFromTaskParams, b as EditImageFromUrlParams, c as EditImageParams, d as EditScene3DParams, G as GenerateImageBatchGroup, e as GenerateImageBatchOutput, f as GenerateImageBatchResult, g as GenerateImageParams, h as GenerateMaskJobOutput, i as GenerateMaskParams, j as GenerateScene3DParams, 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, P as Pro3DRenderJobOutput, u as Pro3DRenderParams, v as Pro3DRenderQuote, w as Pro3DRenderRunOptions, x as Pro3DRenderRunParams, Q as QuoteAdjustment, y as QuoteWarning, R as ReferenceCaptionParams, z as RenderScene3DParams, C as RetainedScene3DEditParams, D as RetainedScene3DEditResult, F as RunAndWaitOptions, H as RunManyResult, K as RunNodeAdjustment, L as RunNodeOptions, M as RunNodeResult, S as RunNodeWarning, T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, V as Scene3DCapabilities, W as Scene3DDelivery, X as Scene3DDeliveryAsset, Y as Scene3DDeliveryAssetKind, Z as Scene3DJobOutput, _ 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-
|
|
35
|
+
export { A as AssembleNarratedVideoParams, B as BatchJobOutcome, E as EditImageCommonParams, a as EditImageFromTaskParams, b as EditImageFromUrlParams, c as EditImageParams, d as EditScene3DParams, G as GenerateImageBatchGroup, e as GenerateImageBatchOutput, f as GenerateImageBatchResult, g as GenerateImageParams, h as GenerateMaskJobOutput, i as GenerateMaskParams, j as GenerateScene3DParams, 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, P as Pro3DRenderJobOutput, u as Pro3DRenderParams, v as Pro3DRenderQuote, w as Pro3DRenderRunOptions, x as Pro3DRenderRunParams, Q as QuoteAdjustment, y as QuoteWarning, R as ReferenceCaptionParams, z as RenderScene3DParams, C as RetainedScene3DEditParams, D as RetainedScene3DEditResult, F as RunAndWaitOptions, H as RunManyResult, K as RunNodeAdjustment, L as RunNodeOptions, M as RunNodeResult, S as RunNodeWarning, T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, V as Scene3DCapabilities, W as Scene3DDelivery, X as Scene3DDeliveryAsset, Y as Scene3DDeliveryAssetKind, Z as Scene3DJobOutput, _ 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-Di-Z7-vr.cjs';
|
|
36
36
|
export { TopazUpscaleFactor } from '@nodaro/shared/credits';
|
|
37
37
|
export { 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, ObjectAspectRatio as CreatureAspectRatio, CreatureAttachColumn, EntityStyle, ImageToImageAttachColumn, LOCATION_ASSET_TYPES, LOCATION_ATTACH_COLUMNS, LocationAssetType, LocationAttachColumn, OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ATTACH_COLUMNS, ObjectAspectRatio, ObjectAssetType, ObjectAttachColumn, SURROUND_DIRECTIONS, SurroundDirection } from '@nodaro/shared/entities';
|
|
38
38
|
export { AccessTokenResponse, ExchangeCodeInput, OAuthAppInfo, OAuthResource } from './entries/oauth.cjs';
|
|
@@ -55,7 +55,7 @@ export { CreateShotInput, Shot, ShotEntityRef, ShotMode, ShotsResource, UpdateSh
|
|
|
55
55
|
export { StudioDocumentJson, StudioEditInput, StudioGenerationReply, StudioKeyframeAcceptanceInput, StudioKeyframeGenerationInput, StudioKeyframeRecord, StudioProductionCapabilities, StudioProductionRecord, StudioProductionReply, StudioResource, StudioShotGenerationInput } from './entries/studio.cjs';
|
|
56
56
|
export { BrowseTemplatesParams, BrowseTemplatesResult, CloneTemplateParams, CloneTemplateResult, Template, TemplateBrowseCard, TemplateSort, TemplatesResource } from './entries/templates.cjs';
|
|
57
57
|
export { ListTrashParams, TrashEntry, TrashPage, TrashResource, TrashSession } from './entries/trash.cjs';
|
|
58
|
-
export { ListTrendRunsParams, ListTrendsParams, TrendCard, TrendChipKey, TrendChips, TrendChoice, TrendDetail, TrendDetailSlot, TrendEngine, TrendEstimate, TrendExample, TrendOriginal, TrendPage, TrendResolution, TrendRun, TrendRunDisplaySlot, TrendRunOptions, TrendRunRequest, TrendRunSlot, TrendSlotKind, TrendTag, TrendsResource } from './entries/trends.cjs';
|
|
58
|
+
export { ListTrendRunsParams, ListTrendsParams, TrendCard, TrendChipKey, TrendChips, TrendChoice, TrendDetail, TrendDetailSlot, TrendEngine, TrendEstimate, TrendExample, TrendOriginal, TrendPage, TrendResolution, TrendRun, TrendRunDisplaySlot, TrendRunOptions, TrendRunRequest, TrendRunSlot, TrendSlotKind, TrendTag, TrendVideo, TrendsResource } from './entries/trends.cjs';
|
|
59
59
|
export { TutorialCategory, TutorialFlowItem, TutorialVideoItem, TutorialsResource } from './entries/tutorials.cjs';
|
|
60
60
|
export { ImportUrlResult, UploadJsonResult, UploadResult, UploadsResource } from './entries/uploads.cjs';
|
|
61
61
|
export { NodeDoubleClickAction, UserMcpPreferences, UserSettings, UserSettingsLocale, UserSettingsPatch, UserSettingsResource, UserSettingsSaved, UserTextTemplate, VariableDisplayMode } from './entries/user-settings.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export { CreateNodePresetGroupInput, CreateNodePresetInput, FactoryPresetEntry,
|
|
|
32
32
|
export { ConnectedReference, DescribedReference, GenericEdge, GenericNode } from '@nodaro/shared/types';
|
|
33
33
|
export { VideoCharacterReference, VideoCharacterVoice } from '@nodaro/shared/video';
|
|
34
34
|
export { AudioFxPreset, GenerateMaskOutput, GenerateMaskRequest, VideoDepthColormap, VideoDepthModelSize, VideoDepthProvider, VideoDepthResolution } from '@nodaro/shared/media';
|
|
35
|
-
export { A as AssembleNarratedVideoParams, B as BatchJobOutcome, E as EditImageCommonParams, a as EditImageFromTaskParams, b as EditImageFromUrlParams, c as EditImageParams, d as EditScene3DParams, G as GenerateImageBatchGroup, e as GenerateImageBatchOutput, f as GenerateImageBatchResult, g as GenerateImageParams, h as GenerateMaskJobOutput, i as GenerateMaskParams, j as GenerateScene3DParams, 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, P as Pro3DRenderJobOutput, u as Pro3DRenderParams, v as Pro3DRenderQuote, w as Pro3DRenderRunOptions, x as Pro3DRenderRunParams, Q as QuoteAdjustment, y as QuoteWarning, R as ReferenceCaptionParams, z as RenderScene3DParams, C as RetainedScene3DEditParams, D as RetainedScene3DEditResult, F as RunAndWaitOptions, H as RunManyResult, K as RunNodeAdjustment, L as RunNodeOptions, M as RunNodeResult, S as RunNodeWarning, T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, V as Scene3DCapabilities, W as Scene3DDelivery, X as Scene3DDeliveryAsset, Y as Scene3DDeliveryAssetKind, Z as Scene3DJobOutput, _ 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-
|
|
35
|
+
export { A as AssembleNarratedVideoParams, B as BatchJobOutcome, E as EditImageCommonParams, a as EditImageFromTaskParams, b as EditImageFromUrlParams, c as EditImageParams, d as EditScene3DParams, G as GenerateImageBatchGroup, e as GenerateImageBatchOutput, f as GenerateImageBatchResult, g as GenerateImageParams, h as GenerateMaskJobOutput, i as GenerateMaskParams, j as GenerateScene3DParams, 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, P as Pro3DRenderJobOutput, u as Pro3DRenderParams, v as Pro3DRenderQuote, w as Pro3DRenderRunOptions, x as Pro3DRenderRunParams, Q as QuoteAdjustment, y as QuoteWarning, R as ReferenceCaptionParams, z as RenderScene3DParams, C as RetainedScene3DEditParams, D as RetainedScene3DEditResult, F as RunAndWaitOptions, H as RunManyResult, K as RunNodeAdjustment, L as RunNodeOptions, M as RunNodeResult, S as RunNodeWarning, T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, V as Scene3DCapabilities, W as Scene3DDelivery, X as Scene3DDeliveryAsset, Y as Scene3DDeliveryAssetKind, Z as Scene3DJobOutput, _ 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-Cy6dmQEz.js';
|
|
36
36
|
export { TopazUpscaleFactor } from '@nodaro/shared/credits';
|
|
37
37
|
export { 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, ObjectAspectRatio as CreatureAspectRatio, CreatureAttachColumn, EntityStyle, ImageToImageAttachColumn, LOCATION_ASSET_TYPES, LOCATION_ATTACH_COLUMNS, LocationAssetType, LocationAttachColumn, OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ATTACH_COLUMNS, ObjectAspectRatio, ObjectAssetType, ObjectAttachColumn, SURROUND_DIRECTIONS, SurroundDirection } from '@nodaro/shared/entities';
|
|
38
38
|
export { AccessTokenResponse, ExchangeCodeInput, OAuthAppInfo, OAuthResource } from './entries/oauth.js';
|
|
@@ -55,7 +55,7 @@ export { CreateShotInput, Shot, ShotEntityRef, ShotMode, ShotsResource, UpdateSh
|
|
|
55
55
|
export { StudioDocumentJson, StudioEditInput, StudioGenerationReply, StudioKeyframeAcceptanceInput, StudioKeyframeGenerationInput, StudioKeyframeRecord, StudioProductionCapabilities, StudioProductionRecord, StudioProductionReply, StudioResource, StudioShotGenerationInput } from './entries/studio.js';
|
|
56
56
|
export { BrowseTemplatesParams, BrowseTemplatesResult, CloneTemplateParams, CloneTemplateResult, Template, TemplateBrowseCard, TemplateSort, TemplatesResource } from './entries/templates.js';
|
|
57
57
|
export { ListTrashParams, TrashEntry, TrashPage, TrashResource, TrashSession } from './entries/trash.js';
|
|
58
|
-
export { ListTrendRunsParams, ListTrendsParams, TrendCard, TrendChipKey, TrendChips, TrendChoice, TrendDetail, TrendDetailSlot, TrendEngine, TrendEstimate, TrendExample, TrendOriginal, TrendPage, TrendResolution, TrendRun, TrendRunDisplaySlot, TrendRunOptions, TrendRunRequest, TrendRunSlot, TrendSlotKind, TrendTag, TrendsResource } from './entries/trends.js';
|
|
58
|
+
export { ListTrendRunsParams, ListTrendsParams, TrendCard, TrendChipKey, TrendChips, TrendChoice, TrendDetail, TrendDetailSlot, TrendEngine, TrendEstimate, TrendExample, TrendOriginal, TrendPage, TrendResolution, TrendRun, TrendRunDisplaySlot, TrendRunOptions, TrendRunRequest, TrendRunSlot, TrendSlotKind, TrendTag, TrendVideo, TrendsResource } from './entries/trends.js';
|
|
59
59
|
export { TutorialCategory, TutorialFlowItem, TutorialVideoItem, TutorialsResource } from './entries/tutorials.js';
|
|
60
60
|
export { ImportUrlResult, UploadJsonResult, UploadResult, UploadsResource } from './entries/uploads.js';
|
|
61
61
|
export { NodeDoubleClickAction, UserMcpPreferences, UserSettings, UserSettingsLocale, UserSettingsPatch, UserSettingsResource, UserSettingsSaved, UserTextTemplate, VariableDisplayMode } from './entries/user-settings.js';
|
package/dist/index.js
CHANGED
|
@@ -52,7 +52,7 @@ import './chunk-M6Y5TOYE.js';
|
|
|
52
52
|
import './chunk-KARJ7P7Y.js';
|
|
53
53
|
import './chunk-SUCHGNYT.js';
|
|
54
54
|
import './chunk-SLPD47SR.js';
|
|
55
|
-
export { NodaroClient, createClient } from './chunk-
|
|
55
|
+
export { NodaroClient, createClient } from './chunk-LBRRTELY.js';
|
|
56
56
|
export { TutorialsResource } from './chunk-HPXE3NZW.js';
|
|
57
57
|
export { UploadsResource } from './chunk-DTYN7QAZ.js';
|
|
58
58
|
export { UserSettingsResource } from './chunk-LR5TGCJP.js';
|
|
@@ -68,7 +68,7 @@ export { ShotsResource } from './chunk-WVFAQBS7.js';
|
|
|
68
68
|
export { StudioProductionsResource, StudioResource, isStudioGenerateEstimate } from './chunk-VTL4DBX4.js';
|
|
69
69
|
export { TemplatesResource } from './chunk-M7VSFZMV.js';
|
|
70
70
|
export { TrashResource } from './chunk-2SQ7V6EX.js';
|
|
71
|
-
export { TrendsResource } from './chunk-
|
|
71
|
+
export { TrendsResource } from './chunk-CE2R2IG3.js';
|
|
72
72
|
export { OrganizationsResource } from './chunk-ALSLZG3U.js';
|
|
73
73
|
export { PALETTE_DIRECTION_PREFIX, PalettesResource, paletteDirectionId } from './chunk-WEQWU2IC.js';
|
|
74
74
|
export { PickerCatalogsResource } from './chunk-KFZOJBI5.js';
|
|
@@ -97,7 +97,7 @@ export { CommunityResource } from './chunk-SFB4YLCS.js';
|
|
|
97
97
|
export { CompetitorsResource } from './chunk-BU5A6K4C.js';
|
|
98
98
|
export { CopilotResource } from './chunk-RCD4HDBI.js';
|
|
99
99
|
import './chunk-YYMX3VN7.js';
|
|
100
|
-
export { CallbackAuth, NodaroClientCore, StaticTokenAuth, supabaseAuth } from './chunk-
|
|
100
|
+
export { CallbackAuth, NodaroClientCore, StaticTokenAuth, supabaseAuth } from './chunk-Z46EDPJ7.js';
|
|
101
101
|
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';
|
|
102
102
|
export { OBJECT_ASPECT_DEFAULTS as CREATURE_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS as CREATURE_ASPECT_OPTIONS, CREATURE_ASSET_TYPES, CREATURE_ATTACH_COLUMNS, CreaturesResource } from './chunk-HUYI5G3D.js';
|
|
103
103
|
export { CreditsResource } from './chunk-7QK2NXJA.js';
|
|
@@ -400,9 +400,9 @@ interface EditImageFromUrlParams extends EditImageCommonParams {
|
|
|
400
400
|
taskId?: never;
|
|
401
401
|
}
|
|
402
402
|
/**
|
|
403
|
-
* An `edit-image` request on a prior Grok generation — `grok-
|
|
404
|
-
* `grok-2-
|
|
405
|
-
*
|
|
403
|
+
* An `edit-image` request on a prior Grok 2 generation — `grok-2-edit` and
|
|
404
|
+
* `grok-2-segment` take that generation's task id instead of an image URL
|
|
405
|
+
* (`TASK_CHAINED_EDIT_PROVIDER_IDS`).
|
|
406
406
|
*/
|
|
407
407
|
interface EditImageFromTaskParams extends EditImageCommonParams {
|
|
408
408
|
/** The prior Grok generation's task id — its job's `output_data.kieTaskId`. 1–200 characters. */
|
|
@@ -400,9 +400,9 @@ interface EditImageFromUrlParams extends EditImageCommonParams {
|
|
|
400
400
|
taskId?: never;
|
|
401
401
|
}
|
|
402
402
|
/**
|
|
403
|
-
* An `edit-image` request on a prior Grok generation — `grok-
|
|
404
|
-
* `grok-2-
|
|
405
|
-
*
|
|
403
|
+
* An `edit-image` request on a prior Grok 2 generation — `grok-2-edit` and
|
|
404
|
+
* `grok-2-segment` take that generation's task id instead of an image URL
|
|
405
|
+
* (`TASK_CHAINED_EDIT_PROVIDER_IDS`).
|
|
406
406
|
*/
|
|
407
407
|
interface EditImageFromTaskParams extends EditImageCommonParams {
|
|
408
408
|
/** The prior Grok generation's task id — its job's `output_data.kieTaskId`. 1–200 characters. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nodaro/sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.58.0",
|
|
4
4
|
"description": "Typed REST client for the Nodaro API — workflows, jobs, executions, apps, characters, and more.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -322,7 +322,7 @@
|
|
|
322
322
|
"test:watch": "vitest"
|
|
323
323
|
},
|
|
324
324
|
"dependencies": {
|
|
325
|
-
"@nodaro/shared": "^3.
|
|
325
|
+
"@nodaro/shared": "^3.49.0",
|
|
326
326
|
"@nodaro/prompts": "^1.47.0"
|
|
327
327
|
},
|
|
328
328
|
"peerDependencies": {
|