@nodaro/sdk 2.73.0 → 2.74.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-BY3XIXWC.js → chunk-3GF4VPK4.js} +2 -2
- package/dist/chunk-3GF4VPK4.js.map +1 -0
- package/dist/{chunk-C4LXPSSF.cjs → chunk-7OLINQTA.cjs} +2 -2
- package/dist/chunk-7OLINQTA.cjs.map +1 -0
- package/dist/{chunk-25IKUIM3.js → chunk-AZMUM5WG.js} +2 -2
- package/dist/chunk-AZMUM5WG.js.map +1 -0
- package/dist/{chunk-Z3RI7CSA.cjs → chunk-DUE24QGQ.cjs} +2 -2
- package/dist/chunk-DUE24QGQ.cjs.map +1 -0
- package/dist/{chunk-ROUCXQU3.js → chunk-H77BJMV2.js} +2 -2
- package/dist/chunk-H77BJMV2.js.map +1 -0
- package/dist/{chunk-VHHLYDF5.js → chunk-IKJNFENZ.js} +6 -6
- package/dist/{chunk-VHHLYDF5.js.map → chunk-IKJNFENZ.js.map} +1 -1
- package/dist/{chunk-O4UXEIV6.cjs → chunk-NECPBLEM.cjs} +2 -2
- package/dist/chunk-NECPBLEM.cjs.map +1 -0
- package/dist/{chunk-JWWRUP6Z.js → chunk-NJ5ZFUWJ.js} +3 -3
- package/dist/{chunk-JWWRUP6Z.js.map → chunk-NJ5ZFUWJ.js.map} +1 -1
- package/dist/{chunk-47TWDFFJ.cjs → chunk-SRL555ST.cjs} +3 -3
- package/dist/{chunk-47TWDFFJ.cjs.map → chunk-SRL555ST.cjs.map} +1 -1
- package/dist/{chunk-NZUF5U37.cjs → chunk-VVVJW4DD.cjs} +10 -10
- package/dist/{chunk-NZUF5U37.cjs.map → chunk-VVVJW4DD.cjs.map} +1 -1
- package/dist/{developer-apps-CMUzKpE9.d.ts → developer-apps-D59GfAnO.d.cts} +7 -0
- package/dist/{developer-apps-CMUzKpE9.d.cts → developer-apps-D59GfAnO.d.ts} +7 -0
- package/dist/entries/apps.d.cts +1 -1
- package/dist/entries/apps.d.ts +1 -1
- package/dist/entries/audio.d.cts +1 -1
- package/dist/entries/audio.d.ts +1 -1
- package/dist/entries/billing.d.cts +1 -1
- package/dist/entries/billing.d.ts +1 -1
- package/dist/entries/cast-swap.d.cts +1 -1
- package/dist/entries/cast-swap.d.ts +1 -1
- package/dist/entries/catalogs.cjs +2 -2
- package/dist/entries/catalogs.d.cts +10 -3
- package/dist/entries/catalogs.d.ts +10 -3
- package/dist/entries/catalogs.js +1 -1
- package/dist/entries/characters.d.cts +3 -3
- package/dist/entries/characters.d.ts +3 -3
- package/dist/entries/client.cjs +10 -10
- package/dist/entries/client.d.cts +5 -5
- package/dist/entries/client.d.ts +5 -5
- package/dist/entries/client.js +5 -5
- package/dist/entries/collections.d.cts +1 -1
- package/dist/entries/collections.d.ts +1 -1
- package/dist/entries/community.d.cts +1 -1
- package/dist/entries/community.d.ts +1 -1
- package/dist/entries/competitors.d.cts +1 -1
- package/dist/entries/competitors.d.ts +1 -1
- package/dist/entries/content-rights.d.cts +1 -1
- package/dist/entries/content-rights.d.ts +1 -1
- package/dist/entries/copilot.d.cts +1 -1
- package/dist/entries/copilot.d.ts +1 -1
- package/dist/entries/core.cjs +5 -5
- package/dist/entries/core.d.cts +1 -1
- package/dist/entries/core.d.ts +1 -1
- package/dist/entries/core.js +1 -1
- package/dist/entries/creatures.d.cts +3 -3
- package/dist/entries/creatures.d.ts +3 -3
- package/dist/entries/credits.d.cts +1 -1
- package/dist/entries/credits.d.ts +1 -1
- package/dist/entries/developer-apps.d.cts +1 -1
- package/dist/entries/developer-apps.d.ts +1 -1
- package/dist/entries/dubbing.d.cts +1 -1
- package/dist/entries/dubbing.d.ts +1 -1
- package/dist/entries/edit.d.cts +1 -1
- package/dist/entries/edit.d.ts +1 -1
- package/dist/entries/errors.d.cts +2 -2
- package/dist/entries/errors.d.ts +2 -2
- package/dist/entries/executions.d.cts +1 -1
- package/dist/entries/executions.d.ts +1 -1
- package/dist/entries/gallery.d.cts +1 -1
- package/dist/entries/gallery.d.ts +1 -1
- package/dist/entries/jobs.d.cts +1 -1
- package/dist/entries/jobs.d.ts +1 -1
- package/dist/entries/keepers.d.cts +1 -1
- package/dist/entries/keepers.d.ts +1 -1
- package/dist/entries/library.d.cts +1 -1
- package/dist/entries/library.d.ts +1 -1
- package/dist/entries/llm.d.cts +1 -1
- package/dist/entries/llm.d.ts +1 -1
- package/dist/entries/locations.d.cts +3 -3
- package/dist/entries/locations.d.ts +3 -3
- package/dist/entries/media.d.cts +3 -3
- package/dist/entries/media.d.ts +3 -3
- package/dist/entries/models.d.cts +1 -1
- package/dist/entries/models.d.ts +1 -1
- package/dist/entries/moodboards.d.cts +1 -1
- package/dist/entries/moodboards.d.ts +1 -1
- package/dist/entries/node-presets.cjs +2 -2
- package/dist/entries/node-presets.d.cts +8 -4
- package/dist/entries/node-presets.d.ts +8 -4
- package/dist/entries/node-presets.js +1 -1
- package/dist/entries/nodes.d.cts +3 -3
- package/dist/entries/nodes.d.ts +3 -3
- package/dist/entries/oauth.d.cts +1 -1
- package/dist/entries/oauth.d.ts +1 -1
- package/dist/entries/objects.d.cts +3 -3
- package/dist/entries/objects.d.ts +3 -3
- package/dist/entries/organizations.d.cts +1 -1
- package/dist/entries/organizations.d.ts +1 -1
- package/dist/entries/palettes.d.cts +1 -1
- package/dist/entries/palettes.d.ts +1 -1
- package/dist/entries/picker-catalogs.cjs +2 -2
- package/dist/entries/picker-catalogs.d.cts +10 -3
- package/dist/entries/picker-catalogs.d.ts +10 -3
- package/dist/entries/picker-catalogs.js +1 -1
- package/dist/entries/pipelines.d.cts +1 -1
- package/dist/entries/pipelines.d.ts +1 -1
- package/dist/entries/projects.d.cts +1 -1
- package/dist/entries/projects.d.ts +1 -1
- package/dist/entries/prompt-helper.d.cts +1 -1
- package/dist/entries/prompt-helper.d.ts +1 -1
- package/dist/entries/recast.d.cts +1 -1
- package/dist/entries/recast.d.ts +1 -1
- package/dist/entries/reduce.d.cts +1 -1
- package/dist/entries/reduce.d.ts +1 -1
- package/dist/entries/saved-posts.d.cts +1 -1
- package/dist/entries/saved-posts.d.ts +1 -1
- package/dist/entries/scene3d.d.cts +4 -4
- package/dist/entries/scene3d.d.ts +4 -4
- package/dist/entries/sessions.d.cts +1 -1
- package/dist/entries/sessions.d.ts +1 -1
- package/dist/entries/shots.d.cts +1 -1
- package/dist/entries/shots.d.ts +1 -1
- package/dist/entries/studio.d.cts +3 -3
- package/dist/entries/studio.d.ts +3 -3
- package/dist/entries/surface.d.cts +1 -1
- package/dist/entries/surface.d.ts +1 -1
- package/dist/entries/templates.d.cts +1 -1
- package/dist/entries/templates.d.ts +1 -1
- package/dist/entries/trash.d.cts +1 -1
- package/dist/entries/trash.d.ts +1 -1
- package/dist/entries/trend-radar.d.cts +1 -1
- package/dist/entries/trend-radar.d.ts +1 -1
- package/dist/entries/trends.d.cts +1 -1
- package/dist/entries/trends.d.ts +1 -1
- package/dist/entries/tutorials.d.cts +1 -1
- package/dist/entries/tutorials.d.ts +1 -1
- package/dist/entries/uploads.d.cts +1 -1
- package/dist/entries/uploads.d.ts +1 -1
- package/dist/entries/user-settings.d.cts +1 -1
- package/dist/entries/user-settings.d.ts +1 -1
- package/dist/entries/video-pro.d.cts +1 -1
- package/dist/entries/video-pro.d.ts +1 -1
- package/dist/entries/voices.d.cts +1 -1
- package/dist/entries/voices.d.ts +1 -1
- package/dist/entries/webhooks.d.cts +3 -3
- package/dist/entries/webhooks.d.ts +3 -3
- package/dist/entries/workflows.d.cts +1 -1
- package/dist/entries/workflows.d.ts +1 -1
- package/dist/entries/workspaces.d.cts +1 -1
- package/dist/entries/workspaces.d.ts +1 -1
- package/dist/index.cjs +14 -14
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +5 -5
- package/dist/{nodes-CB5hXtZV.d.ts → nodes-CHXTwiWW.d.ts} +11 -1
- package/dist/{nodes-RenTt7e3.d.cts → nodes-DEGPmZ9a.d.cts} +11 -1
- package/dist/{studio-productions-CMiS827q.d.cts → studio-productions-Cd_AEbKh.d.cts} +1 -1
- package/dist/{studio-productions-DkI51Z9M.d.ts → studio-productions-CsFExPit.d.ts} +1 -1
- package/dist/{webhooks-C2DZTK4n.d.ts → webhooks-Bbrs93kN.d.ts} +1 -1
- package/dist/{webhooks-tg3VN39V.d.cts → webhooks-CqM7KFa6.d.cts} +1 -1
- package/package.json +3 -3
- package/dist/chunk-25IKUIM3.js.map +0 -1
- package/dist/chunk-BY3XIXWC.js.map +0 -1
- package/dist/chunk-C4LXPSSF.cjs.map +0 -1
- package/dist/chunk-O4UXEIV6.cjs.map +0 -1
- package/dist/chunk-ROUCXQU3.js.map +0 -1
- package/dist/chunk-Z3RI7CSA.cjs.map +0 -1
|
@@ -3,7 +3,7 @@ export { SharedVoice, Voice, VoiceClone, VoiceFavorite, VoiceFavoriteInput, Voic
|
|
|
3
3
|
import { AudioFxPreset } from '@nodaro/shared/media';
|
|
4
4
|
export { AudioFxPreset } from '@nodaro/shared/media';
|
|
5
5
|
import { DialogueProvider, TtsReplicaRequest, TtsOutputFormat } from '@nodaro/shared/models';
|
|
6
|
-
import { N as NodaroClientCore } from '../developer-apps-
|
|
6
|
+
import { N as NodaroClientCore } from '../developer-apps-D59GfAnO.cjs';
|
|
7
7
|
import '@nodaro/shared/apps';
|
|
8
8
|
import '@nodaro/shared/organizations';
|
|
9
9
|
|
package/dist/entries/voices.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { SharedVoice, Voice, VoiceClone, VoiceFavorite, VoiceFavoriteInput, Voic
|
|
|
3
3
|
import { AudioFxPreset } from '@nodaro/shared/media';
|
|
4
4
|
export { AudioFxPreset } from '@nodaro/shared/media';
|
|
5
5
|
import { DialogueProvider, TtsReplicaRequest, TtsOutputFormat } from '@nodaro/shared/models';
|
|
6
|
-
import { N as NodaroClientCore } from '../developer-apps-
|
|
6
|
+
import { N as NodaroClientCore } from '../developer-apps-D59GfAnO.js';
|
|
7
7
|
import '@nodaro/shared/apps';
|
|
8
8
|
import '@nodaro/shared/organizations';
|
|
9
9
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as WebhookEvent } from '../webhooks-
|
|
2
|
-
export { C as CreateWebhookEndpointInput, a as CreatedWebhookEndpoint, J as JobWebhookEvent, L as ListWebhookDeliveriesParams, P as PingWebhookEvent, R as RotateWebhookSecretInput, b as RotatedWebhookSecret, U as UpdateWebhookEndpointInput, W as WebhookDelivery, c as WebhookDeliveryPage, d as WebhookDeliveryStatus, e as WebhookEndpoint, g as WebhookEventType, h as WebhookJobEvent, i as WebhooksResource } from '../webhooks-
|
|
3
|
-
import '../developer-apps-
|
|
1
|
+
import { f as WebhookEvent } from '../webhooks-CqM7KFa6.cjs';
|
|
2
|
+
export { C as CreateWebhookEndpointInput, a as CreatedWebhookEndpoint, J as JobWebhookEvent, L as ListWebhookDeliveriesParams, P as PingWebhookEvent, R as RotateWebhookSecretInput, b as RotatedWebhookSecret, U as UpdateWebhookEndpointInput, W as WebhookDelivery, c as WebhookDeliveryPage, d as WebhookDeliveryStatus, e as WebhookEndpoint, g as WebhookEventType, h as WebhookJobEvent, i as WebhooksResource } from '../webhooks-CqM7KFa6.cjs';
|
|
3
|
+
import '../developer-apps-D59GfAnO.cjs';
|
|
4
4
|
import '@nodaro/shared/apps';
|
|
5
5
|
import '@nodaro/shared/organizations';
|
|
6
6
|
import './jobs.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as WebhookEvent } from '../webhooks-
|
|
2
|
-
export { C as CreateWebhookEndpointInput, a as CreatedWebhookEndpoint, J as JobWebhookEvent, L as ListWebhookDeliveriesParams, P as PingWebhookEvent, R as RotateWebhookSecretInput, b as RotatedWebhookSecret, U as UpdateWebhookEndpointInput, W as WebhookDelivery, c as WebhookDeliveryPage, d as WebhookDeliveryStatus, e as WebhookEndpoint, g as WebhookEventType, h as WebhookJobEvent, i as WebhooksResource } from '../webhooks-
|
|
3
|
-
import '../developer-apps-
|
|
1
|
+
import { f as WebhookEvent } from '../webhooks-Bbrs93kN.js';
|
|
2
|
+
export { C as CreateWebhookEndpointInput, a as CreatedWebhookEndpoint, J as JobWebhookEvent, L as ListWebhookDeliveriesParams, P as PingWebhookEvent, R as RotateWebhookSecretInput, b as RotatedWebhookSecret, U as UpdateWebhookEndpointInput, W as WebhookDelivery, c as WebhookDeliveryPage, d as WebhookDeliveryStatus, e as WebhookEndpoint, g as WebhookEventType, h as WebhookJobEvent, i as WebhooksResource } from '../webhooks-Bbrs93kN.js';
|
|
3
|
+
import '../developer-apps-D59GfAnO.js';
|
|
4
4
|
import '@nodaro/shared/apps';
|
|
5
5
|
import '@nodaro/shared/organizations';
|
|
6
6
|
import './jobs.js';
|
|
@@ -2,7 +2,7 @@ import { GenericNode, GenericEdge } from '@nodaro/shared/types';
|
|
|
2
2
|
export { GenericEdge, GenericNode } from '@nodaro/shared/types';
|
|
3
3
|
import { WorkflowExport, WorkflowImportReport } from '@nodaro/shared/workflow';
|
|
4
4
|
export { WorkflowExport, WorkflowExportCharacter, WorkflowExportLocation, WorkflowExportObject } from '@nodaro/shared/workflow';
|
|
5
|
-
import { N as NodaroClientCore } from '../developer-apps-
|
|
5
|
+
import { N as NodaroClientCore } from '../developer-apps-D59GfAnO.cjs';
|
|
6
6
|
import { CollaboratorRole, WorkflowVisibility } from '@nodaro/shared/organizations';
|
|
7
7
|
import '@nodaro/shared/apps';
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@ import { GenericNode, GenericEdge } from '@nodaro/shared/types';
|
|
|
2
2
|
export { GenericEdge, GenericNode } from '@nodaro/shared/types';
|
|
3
3
|
import { WorkflowExport, WorkflowImportReport } from '@nodaro/shared/workflow';
|
|
4
4
|
export { WorkflowExport, WorkflowExportCharacter, WorkflowExportLocation, WorkflowExportObject } from '@nodaro/shared/workflow';
|
|
5
|
-
import { N as NodaroClientCore } from '../developer-apps-
|
|
5
|
+
import { N as NodaroClientCore } from '../developer-apps-D59GfAnO.js';
|
|
6
6
|
import { CollaboratorRole, WorkflowVisibility } from '@nodaro/shared/organizations';
|
|
7
7
|
import '@nodaro/shared/apps';
|
|
8
8
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WorkspaceSettings, WorkspaceSummary, WorkspaceView, OrgPage, WorkspaceMemberView, WorkspaceRole, MemberStatus, JoinCodeView, UsageQuery, UsageReport, UsageLogEntry } from '@nodaro/shared/organizations';
|
|
2
|
-
import { N as NodaroClientCore } from '../developer-apps-
|
|
2
|
+
import { N as NodaroClientCore } from '../developer-apps-D59GfAnO.cjs';
|
|
3
3
|
import '@nodaro/shared/apps';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WorkspaceSettings, WorkspaceSummary, WorkspaceView, OrgPage, WorkspaceMemberView, WorkspaceRole, MemberStatus, JoinCodeView, UsageQuery, UsageReport, UsageLogEntry } from '@nodaro/shared/organizations';
|
|
2
|
-
import { N as NodaroClientCore } from '../developer-apps-
|
|
2
|
+
import { N as NodaroClientCore } from '../developer-apps-D59GfAnO.js';
|
|
3
3
|
import '@nodaro/shared/apps';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/index.cjs
CHANGED
|
@@ -58,7 +58,7 @@ require('./chunk-IS26FJO7.cjs');
|
|
|
58
58
|
require('./chunk-RQSGS7ZK.cjs');
|
|
59
59
|
require('./chunk-43NO4SGC.cjs');
|
|
60
60
|
require('./chunk-JOX5BJ6K.cjs');
|
|
61
|
-
var
|
|
61
|
+
var chunkVVVJW4DD_cjs = require('./chunk-VVVJW4DD.cjs');
|
|
62
62
|
var chunkWKNWJDF6_cjs = require('./chunk-WKNWJDF6.cjs');
|
|
63
63
|
var chunk3B47IHB3_cjs = require('./chunk-3B47IHB3.cjs');
|
|
64
64
|
var chunkWUM6CWTE_cjs = require('./chunk-WUM6CWTE.cjs');
|
|
@@ -83,7 +83,7 @@ var chunkGVIFLUYZ_cjs = require('./chunk-GVIFLUYZ.cjs');
|
|
|
83
83
|
var chunk57GANTLV_cjs = require('./chunk-57GANTLV.cjs');
|
|
84
84
|
var chunkJ5LGGCAS_cjs = require('./chunk-J5LGGCAS.cjs');
|
|
85
85
|
var chunkNBVARNVA_cjs = require('./chunk-NBVARNVA.cjs');
|
|
86
|
-
var
|
|
86
|
+
var chunkNECPBLEM_cjs = require('./chunk-NECPBLEM.cjs');
|
|
87
87
|
var chunkG4AFHCNA_cjs = require('./chunk-G4AFHCNA.cjs');
|
|
88
88
|
var chunkLAWYFC4G_cjs = require('./chunk-LAWYFC4G.cjs');
|
|
89
89
|
var chunkTCLNSVYA_cjs = require('./chunk-TCLNSVYA.cjs');
|
|
@@ -93,7 +93,7 @@ var chunkMIXRL6I2_cjs = require('./chunk-MIXRL6I2.cjs');
|
|
|
93
93
|
var chunkVTHHSO2K_cjs = require('./chunk-VTHHSO2K.cjs');
|
|
94
94
|
var chunkK7G4OYDH_cjs = require('./chunk-K7G4OYDH.cjs');
|
|
95
95
|
var chunkZCWKX4V6_cjs = require('./chunk-ZCWKX4V6.cjs');
|
|
96
|
-
var
|
|
96
|
+
var chunkDUE24QGQ_cjs = require('./chunk-DUE24QGQ.cjs');
|
|
97
97
|
var chunk6RH2SICN_cjs = require('./chunk-6RH2SICN.cjs');
|
|
98
98
|
var chunkA3S55XGF_cjs = require('./chunk-A3S55XGF.cjs');
|
|
99
99
|
var chunkKKH7QQAR_cjs = require('./chunk-KKH7QQAR.cjs');
|
|
@@ -108,7 +108,7 @@ var chunkYFS2LMG4_cjs = require('./chunk-YFS2LMG4.cjs');
|
|
|
108
108
|
var chunk4DCXJ77J_cjs = require('./chunk-4DCXJ77J.cjs');
|
|
109
109
|
var chunkTQLOD7OL_cjs = require('./chunk-TQLOD7OL.cjs');
|
|
110
110
|
require('./chunk-EJJIA765.cjs');
|
|
111
|
-
var
|
|
111
|
+
var chunkSRL555ST_cjs = require('./chunk-SRL555ST.cjs');
|
|
112
112
|
var chunk4AD3CBDK_cjs = require('./chunk-4AD3CBDK.cjs');
|
|
113
113
|
var chunkA3XA6UNM_cjs = require('./chunk-A3XA6UNM.cjs');
|
|
114
114
|
var chunkBNJUMQQ3_cjs = require('./chunk-BNJUMQQ3.cjs');
|
|
@@ -116,7 +116,7 @@ var chunk7BMKQ36V_cjs = require('./chunk-7BMKQ36V.cjs');
|
|
|
116
116
|
var chunkCAM74LQ2_cjs = require('./chunk-CAM74LQ2.cjs');
|
|
117
117
|
var chunkYDRNPIUC_cjs = require('./chunk-YDRNPIUC.cjs');
|
|
118
118
|
var chunkGU3YOOCK_cjs = require('./chunk-GU3YOOCK.cjs');
|
|
119
|
-
var
|
|
119
|
+
var chunk7OLINQTA_cjs = require('./chunk-7OLINQTA.cjs');
|
|
120
120
|
var chunkXZQ6Z4T6_cjs = require('./chunk-XZQ6Z4T6.cjs');
|
|
121
121
|
|
|
122
122
|
|
|
@@ -155,11 +155,11 @@ Object.defineProperty(exports, "unwrapEditPlanOutput", {
|
|
|
155
155
|
});
|
|
156
156
|
Object.defineProperty(exports, "NodaroClient", {
|
|
157
157
|
enumerable: true,
|
|
158
|
-
get: function () { return
|
|
158
|
+
get: function () { return chunkVVVJW4DD_cjs.NodaroClient; }
|
|
159
159
|
});
|
|
160
160
|
Object.defineProperty(exports, "createClient", {
|
|
161
161
|
enumerable: true,
|
|
162
|
-
get: function () { return
|
|
162
|
+
get: function () { return chunkVVVJW4DD_cjs.createClient; }
|
|
163
163
|
});
|
|
164
164
|
Object.defineProperty(exports, "VoicesResource", {
|
|
165
165
|
enumerable: true,
|
|
@@ -295,7 +295,7 @@ Object.defineProperty(exports, "paletteDirectionId", {
|
|
|
295
295
|
});
|
|
296
296
|
Object.defineProperty(exports, "PickerCatalogsResource", {
|
|
297
297
|
enumerable: true,
|
|
298
|
-
get: function () { return
|
|
298
|
+
get: function () { return chunkNECPBLEM_cjs.PickerCatalogsResource; }
|
|
299
299
|
});
|
|
300
300
|
Object.defineProperty(exports, "PipelinesResource", {
|
|
301
301
|
enumerable: true,
|
|
@@ -355,7 +355,7 @@ Object.defineProperty(exports, "moodboardDirectionId", {
|
|
|
355
355
|
});
|
|
356
356
|
Object.defineProperty(exports, "PresetsResource", {
|
|
357
357
|
enumerable: true,
|
|
358
|
-
get: function () { return
|
|
358
|
+
get: function () { return chunkDUE24QGQ_cjs.PresetsResource; }
|
|
359
359
|
});
|
|
360
360
|
Object.defineProperty(exports, "NodesResource", {
|
|
361
361
|
enumerable: true,
|
|
@@ -439,19 +439,19 @@ Object.defineProperty(exports, "CopilotResource", {
|
|
|
439
439
|
});
|
|
440
440
|
Object.defineProperty(exports, "CallbackAuth", {
|
|
441
441
|
enumerable: true,
|
|
442
|
-
get: function () { return
|
|
442
|
+
get: function () { return chunkSRL555ST_cjs.CallbackAuth; }
|
|
443
443
|
});
|
|
444
444
|
Object.defineProperty(exports, "NodaroClientCore", {
|
|
445
445
|
enumerable: true,
|
|
446
|
-
get: function () { return
|
|
446
|
+
get: function () { return chunkSRL555ST_cjs.NodaroClientCore; }
|
|
447
447
|
});
|
|
448
448
|
Object.defineProperty(exports, "StaticTokenAuth", {
|
|
449
449
|
enumerable: true,
|
|
450
|
-
get: function () { return
|
|
450
|
+
get: function () { return chunkSRL555ST_cjs.StaticTokenAuth; }
|
|
451
451
|
});
|
|
452
452
|
Object.defineProperty(exports, "supabaseAuth", {
|
|
453
453
|
enumerable: true,
|
|
454
|
-
get: function () { return
|
|
454
|
+
get: function () { return chunkSRL555ST_cjs.supabaseAuth; }
|
|
455
455
|
});
|
|
456
456
|
Object.defineProperty(exports, "AlreadyRunningError", {
|
|
457
457
|
enumerable: true,
|
|
@@ -603,7 +603,7 @@ Object.defineProperty(exports, "CastSwapResource", {
|
|
|
603
603
|
});
|
|
604
604
|
Object.defineProperty(exports, "CatalogsResource", {
|
|
605
605
|
enumerable: true,
|
|
606
|
-
get: function () { return
|
|
606
|
+
get: function () { return chunk7OLINQTA_cjs.CatalogsResource; }
|
|
607
607
|
});
|
|
608
608
|
Object.defineProperty(exports, "CHARACTER_ASPECT_DEFAULTS", {
|
|
609
609
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -5,7 +5,7 @@ export { CastSwapEngine, CastSwapEngineLegacyId, CastSwapEstimate, CastSwapFaceM
|
|
|
5
5
|
export { CatalogsListResponse, CatalogsResource, ProjectedCatalog, ProjectedCatalogDimension, ProjectedCatalogOption, ProjectedCatalogSection } from './entries/catalogs.cjs';
|
|
6
6
|
export { ApprovePortraitResult, Character, CharacterDetail, CharacterTrainingState, CharacterTrainingStatus, CharacterUsage, CharactersResource, DuplicateCharacterInput, GenerateAssetInput, GenerateCharacterInput, GenerateCharacterResult, GenerateMotionInput, GetCharacterOptions, ListCharactersParams, ListCharactersResult, RecaptionResult, ReferencePhoto, ReferencePhotoKind, TrainCharacterInput, TrainCharacterRefusalCode, TrainCharacterResult, UpsertCharacterInput, UpsertCharacterResult, buildPersonSeedPrompt } from './entries/characters.cjs';
|
|
7
7
|
export { NodaroClient, createClient } from './entries/client.cjs';
|
|
8
|
-
export { A as Auth, C as CallbackAuth, a as ClientOptions, b as ConnectedApp, c as CreateDeveloperAppInput, d as CreateDeveloperAppResult, D as DeveloperApp, e as DeveloperAppKind, f as DeveloperAppScope, g as DeveloperAppStatus, h as DeveloperAppsResource, N as NodaroClientCore, R as RotateSecretResult, S as StaticTokenAuth, U as UpdateDeveloperAppInput, i as UserIdentity, s as supabaseAuth } from './developer-apps-
|
|
8
|
+
export { A as Auth, C as CallbackAuth, a as ClientOptions, b as ConnectedApp, c as CreateDeveloperAppInput, d as CreateDeveloperAppResult, D as DeveloperApp, e as DeveloperAppKind, f as DeveloperAppScope, g as DeveloperAppStatus, h as DeveloperAppsResource, N as NodaroClientCore, R as RotateSecretResult, S as StaticTokenAuth, U as UpdateDeveloperAppInput, i as UserIdentity, s as supabaseAuth } from './developer-apps-D59GfAnO.cjs';
|
|
9
9
|
export { AddCollectionRecordInput, AddCollectionRecordResult, Collection, CollectionCaps, CollectionDigestFormat, CollectionExportFormat, CollectionFieldValue, CollectionLimits, CollectionMedia, CollectionMediaType, CollectionRecord, CollectionRecordSource, CollectionWriteOutcome, CreateCollectionInput, ListCollectionRecordsParams, ListCollectionRecordsResult, ListCollectionsResult, PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY, PromptAffixFields, USE_CASE_NODE_TYPES, UpdateCollectionInput, UseCaseNodeType } from '@nodaro/shared/nodes';
|
|
10
10
|
export { CollectionsResource } from './entries/collections.cjs';
|
|
11
11
|
export { CommunityResource } from './entries/community.cjs';
|
|
@@ -34,7 +34,7 @@ export { CreateNodePresetGroupInput, CreateNodePresetInput, FactoryPresetEntry,
|
|
|
34
34
|
export { ConnectedReference, DescribedReference, GenericEdge, GenericNode } from '@nodaro/shared/types';
|
|
35
35
|
export { VideoCharacterReference, VideoCharacterVoice } from '@nodaro/shared/video';
|
|
36
36
|
export { AudioFxPreset, DubbingAddLanguageInput, DubbingAddLanguagePrice, DubbingAddLanguageResult, DubbingCapabilities, DubbingCaptionFormat, DubbingErrorCode, DubbingLanguage, DubbingLanguageStatus, DubbingSegment, DubbingSourceSegment, DubbingSpeaker, DubbingSpeakerVoice, DubbingStructure, GenerateMaskOutput, GenerateMaskRequest, VideoDepthColormap, VideoDepthModelSize, VideoDepthProvider, VideoDepthResolution } from '@nodaro/shared/media';
|
|
37
|
-
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, L as LlmChatParams, 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, M as RunNodeOptions, S as RunNodeResult, T as RunNodeWarning, U as SCENE3D_DELIVERY_ASSET_USAGE, V as Scene3DAuthoringEngine, W as Scene3DCapabilities, X as Scene3DDelivery, Y as Scene3DDeliveryAsset, Z as Scene3DDeliveryAssetKind, _ as Scene3DJobOutput, $ as SocialSearchJobOutput, a0 as SplitImageParams, a1 as SplitImageResult, a2 as SplitImageTile, a3 as StructuredReferenceParams, a4 as Subject, a5 as TextToSpeechParams, a6 as TextToVideoParams, a7 as VideoDepthParams, a8 as VideoToVideoParams, a9 as VideoUpscaleParams } from './nodes-
|
|
37
|
+
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, L as LlmChatParams, 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, M as RunNodeOptions, S as RunNodeResult, T as RunNodeWarning, U as SCENE3D_DELIVERY_ASSET_USAGE, V as Scene3DAuthoringEngine, W as Scene3DCapabilities, X as Scene3DDelivery, Y as Scene3DDeliveryAsset, Z as Scene3DDeliveryAssetKind, _ as Scene3DJobOutput, $ as SocialSearchJobOutput, a0 as SplitImageParams, a1 as SplitImageResult, a2 as SplitImageTile, a3 as StructuredReferenceParams, a4 as Subject, a5 as TextToSpeechParams, a6 as TextToVideoParams, a7 as VideoDepthParams, a8 as VideoToVideoParams, a9 as VideoUpscaleParams } from './nodes-DEGPmZ9a.cjs';
|
|
38
38
|
export { TopazUpscaleFactor, UpscaleFactor } from '@nodaro/shared/credits';
|
|
39
39
|
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';
|
|
40
40
|
export { AccessTokenResponse, ExchangeCodeInput, OAuthAppInfo, OAuthResource } from './entries/oauth.cjs';
|
|
@@ -65,13 +65,13 @@ export { ImportUrlResult, UploadJsonResult, UploadResult, UploadsResource } from
|
|
|
65
65
|
export { NodeDoubleClickAction, UserMcpPreferences, UserMcpPreferencesPatch, UserSettings, UserSettingsLocale, UserSettingsPatch, UserSettingsResource, UserSettingsSaved, UserTextTemplate, VariableDisplayMode } from './entries/user-settings.cjs';
|
|
66
66
|
export { ContinueVideoProResult, StopVideoProResult, VideoProResource } from './entries/video-pro.cjs';
|
|
67
67
|
export { DubbingInput, VcpAnalysis, VcpAnalysisSpeaker, VcpAnalyzeInput, VcpExportInput, VcpExportTrack, VoiceChangerProInput, VoiceChangerProVoice, VoiceDesignInput, VoiceRemixInput, VoicesResource } from './entries/voices.cjs';
|
|
68
|
-
export { C as CreateWebhookEndpointInput, a as CreatedWebhookEndpoint, J as JobWebhookEvent, L as ListWebhookDeliveriesParams, P as PingWebhookEvent, R as RotateWebhookSecretInput, b as RotatedWebhookSecret, U as UpdateWebhookEndpointInput, W as WebhookDelivery, c as WebhookDeliveryPage, d as WebhookDeliveryStatus, e as WebhookEndpoint, f as WebhookEvent, g as WebhookEventType, h as WebhookJobEvent, i as WebhooksResource } from './webhooks-
|
|
68
|
+
export { C as CreateWebhookEndpointInput, a as CreatedWebhookEndpoint, J as JobWebhookEvent, L as ListWebhookDeliveriesParams, P as PingWebhookEvent, R as RotateWebhookSecretInput, b as RotatedWebhookSecret, U as UpdateWebhookEndpointInput, W as WebhookDelivery, c as WebhookDeliveryPage, d as WebhookDeliveryStatus, e as WebhookEndpoint, f as WebhookEvent, g as WebhookEventType, h as WebhookJobEvent, i as WebhooksResource } from './webhooks-CqM7KFa6.cjs';
|
|
69
69
|
export { VerifyWebhookSignatureOptions, WebhookSignatureError, WebhookSignatureErrorCode, verifyWebhookSignature } from './entries/webhooks.cjs';
|
|
70
70
|
export { ExecutionOutcome, NodeExecutionStatus, NodeSkipReason, OUTPUT_BEARING_NODE_STATUSES, ReduceMeta, ReduceStrategyId, WorkflowExport, WorkflowExportCharacter, WorkflowExportLocation, WorkflowExportObject, nodeStateMayCarryOutput } from '@nodaro/shared/workflow';
|
|
71
71
|
export { AddCollaboratorInput, Collaborator, CreateWorkflowInput, DroppedCollaborator, ListMcpConversationsParams, ListWorkflowsParams, McpConversation, McpConversationList, RenderFinalParams, RenderFinalQuote, RunWorkflowOptions, RunWorkflowParams, RunWorkflowResult, SharedWorkflow, UpdateWorkflowInput, Workflow, WorkflowsResource } from './entries/workflows.cjs';
|
|
72
72
|
export { CreateWorkspaceInput, WorkspacesResource } from './entries/workspaces.cjs';
|
|
73
73
|
export { AnimateSubGate, ChatEnabledStage, PipelineInput, PipelineMode, PipelineStageName, PipelineStatus, ProposedChange, SharedVoice, SubGateName, Voice, VoiceClone, VoiceFavorite, VoiceFavoriteInput, VoiceFavoriteType, VoiceLibraryDescriptive, VoiceLibraryFacetCount, VoiceLibraryFacets, VoiceLibraryFacetsParams, VoiceLibraryParams, VoiceLibraryResponse, VoiceLibraryUseCase } from '@nodaro/shared/pipeline';
|
|
74
|
-
export { G as GetProductionOptions, L as ListStudioProductionsOptions, S as StudioClientRequestId, a as StudioCloneRequest, b as StudioCreateProductionRequest, c as StudioDescribeRequest, d as StudioExportPlanOptions, e as StudioExportPlanResponse, f as StudioExportStep, g as StudioFrameRequest, h as StudioGenerateEstimate, i as StudioGenerateOptions, j as StudioGenerateRequest, k as StudioGenerateResponse, l as StudioGenerateResult, m as StudioImportSummary, n as StudioJobStartedResponse, o as StudioListProductionsResponse, p as StudioMediaResponse, q as StudioMusicRequest, r as StudioOpClass, s as StudioOpsDryRunReceipt, t as StudioOpsDryRunResponse, u as StudioOpsImpact, v as StudioOpsReceipt, w as StudioOpsRequest, x as StudioOpsResponse, y as StudioOpsText, z as StudioPlanIssue, A as StudioProduction, B as StudioProductionDetail, C as StudioProductionResponse, D as StudioProductionsResource, E as StudioReconcileResponse, F as StudioRevoiceRequest, H as StudioSkillResponse, I as StudioValidatePlanResponse, J as StudioVideoLane, K as StudioVoiceRequest, M as isStudioGenerateEstimate } from './studio-productions-
|
|
74
|
+
export { G as GetProductionOptions, L as ListStudioProductionsOptions, S as StudioClientRequestId, a as StudioCloneRequest, b as StudioCreateProductionRequest, c as StudioDescribeRequest, d as StudioExportPlanOptions, e as StudioExportPlanResponse, f as StudioExportStep, g as StudioFrameRequest, h as StudioGenerateEstimate, i as StudioGenerateOptions, j as StudioGenerateRequest, k as StudioGenerateResponse, l as StudioGenerateResult, m as StudioImportSummary, n as StudioJobStartedResponse, o as StudioListProductionsResponse, p as StudioMediaResponse, q as StudioMusicRequest, r as StudioOpClass, s as StudioOpsDryRunReceipt, t as StudioOpsDryRunResponse, u as StudioOpsImpact, v as StudioOpsReceipt, w as StudioOpsRequest, x as StudioOpsResponse, y as StudioOpsText, z as StudioPlanIssue, A as StudioProduction, B as StudioProductionDetail, C as StudioProductionResponse, D as StudioProductionsResource, E as StudioReconcileResponse, F as StudioRevoiceRequest, H as StudioSkillResponse, I as StudioValidatePlanResponse, J as StudioVideoLane, K as StudioVoiceRequest, M as isStudioGenerateEstimate } from './studio-productions-Cd_AEbKh.cjs';
|
|
75
75
|
export { PEOPLE, PERSON_DIMENSION_LABELS, PERSON_DIMENSION_ORDER, PersonValue, buildPersonHints } from '@nodaro/prompts/person';
|
|
76
76
|
import '@nodaro/shared/captions';
|
|
77
77
|
import '@nodaro/prompts/presets';
|
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export { CastSwapEngine, CastSwapEngineLegacyId, CastSwapEstimate, CastSwapFaceM
|
|
|
5
5
|
export { CatalogsListResponse, CatalogsResource, ProjectedCatalog, ProjectedCatalogDimension, ProjectedCatalogOption, ProjectedCatalogSection } from './entries/catalogs.js';
|
|
6
6
|
export { ApprovePortraitResult, Character, CharacterDetail, CharacterTrainingState, CharacterTrainingStatus, CharacterUsage, CharactersResource, DuplicateCharacterInput, GenerateAssetInput, GenerateCharacterInput, GenerateCharacterResult, GenerateMotionInput, GetCharacterOptions, ListCharactersParams, ListCharactersResult, RecaptionResult, ReferencePhoto, ReferencePhotoKind, TrainCharacterInput, TrainCharacterRefusalCode, TrainCharacterResult, UpsertCharacterInput, UpsertCharacterResult, buildPersonSeedPrompt } from './entries/characters.js';
|
|
7
7
|
export { NodaroClient, createClient } from './entries/client.js';
|
|
8
|
-
export { A as Auth, C as CallbackAuth, a as ClientOptions, b as ConnectedApp, c as CreateDeveloperAppInput, d as CreateDeveloperAppResult, D as DeveloperApp, e as DeveloperAppKind, f as DeveloperAppScope, g as DeveloperAppStatus, h as DeveloperAppsResource, N as NodaroClientCore, R as RotateSecretResult, S as StaticTokenAuth, U as UpdateDeveloperAppInput, i as UserIdentity, s as supabaseAuth } from './developer-apps-
|
|
8
|
+
export { A as Auth, C as CallbackAuth, a as ClientOptions, b as ConnectedApp, c as CreateDeveloperAppInput, d as CreateDeveloperAppResult, D as DeveloperApp, e as DeveloperAppKind, f as DeveloperAppScope, g as DeveloperAppStatus, h as DeveloperAppsResource, N as NodaroClientCore, R as RotateSecretResult, S as StaticTokenAuth, U as UpdateDeveloperAppInput, i as UserIdentity, s as supabaseAuth } from './developer-apps-D59GfAnO.js';
|
|
9
9
|
export { AddCollectionRecordInput, AddCollectionRecordResult, Collection, CollectionCaps, CollectionDigestFormat, CollectionExportFormat, CollectionFieldValue, CollectionLimits, CollectionMedia, CollectionMediaType, CollectionRecord, CollectionRecordSource, CollectionWriteOutcome, CreateCollectionInput, ListCollectionRecordsParams, ListCollectionRecordsResult, ListCollectionsResult, PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY, PromptAffixFields, USE_CASE_NODE_TYPES, UpdateCollectionInput, UseCaseNodeType } from '@nodaro/shared/nodes';
|
|
10
10
|
export { CollectionsResource } from './entries/collections.js';
|
|
11
11
|
export { CommunityResource } from './entries/community.js';
|
|
@@ -34,7 +34,7 @@ export { CreateNodePresetGroupInput, CreateNodePresetInput, FactoryPresetEntry,
|
|
|
34
34
|
export { ConnectedReference, DescribedReference, GenericEdge, GenericNode } from '@nodaro/shared/types';
|
|
35
35
|
export { VideoCharacterReference, VideoCharacterVoice } from '@nodaro/shared/video';
|
|
36
36
|
export { AudioFxPreset, DubbingAddLanguageInput, DubbingAddLanguagePrice, DubbingAddLanguageResult, DubbingCapabilities, DubbingCaptionFormat, DubbingErrorCode, DubbingLanguage, DubbingLanguageStatus, DubbingSegment, DubbingSourceSegment, DubbingSpeaker, DubbingSpeakerVoice, DubbingStructure, GenerateMaskOutput, GenerateMaskRequest, VideoDepthColormap, VideoDepthModelSize, VideoDepthProvider, VideoDepthResolution } from '@nodaro/shared/media';
|
|
37
|
-
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, L as LlmChatParams, 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, M as RunNodeOptions, S as RunNodeResult, T as RunNodeWarning, U as SCENE3D_DELIVERY_ASSET_USAGE, V as Scene3DAuthoringEngine, W as Scene3DCapabilities, X as Scene3DDelivery, Y as Scene3DDeliveryAsset, Z as Scene3DDeliveryAssetKind, _ as Scene3DJobOutput, $ as SocialSearchJobOutput, a0 as SplitImageParams, a1 as SplitImageResult, a2 as SplitImageTile, a3 as StructuredReferenceParams, a4 as Subject, a5 as TextToSpeechParams, a6 as TextToVideoParams, a7 as VideoDepthParams, a8 as VideoToVideoParams, a9 as VideoUpscaleParams } from './nodes-
|
|
37
|
+
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, L as LlmChatParams, 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, M as RunNodeOptions, S as RunNodeResult, T as RunNodeWarning, U as SCENE3D_DELIVERY_ASSET_USAGE, V as Scene3DAuthoringEngine, W as Scene3DCapabilities, X as Scene3DDelivery, Y as Scene3DDeliveryAsset, Z as Scene3DDeliveryAssetKind, _ as Scene3DJobOutput, $ as SocialSearchJobOutput, a0 as SplitImageParams, a1 as SplitImageResult, a2 as SplitImageTile, a3 as StructuredReferenceParams, a4 as Subject, a5 as TextToSpeechParams, a6 as TextToVideoParams, a7 as VideoDepthParams, a8 as VideoToVideoParams, a9 as VideoUpscaleParams } from './nodes-CHXTwiWW.js';
|
|
38
38
|
export { TopazUpscaleFactor, UpscaleFactor } from '@nodaro/shared/credits';
|
|
39
39
|
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';
|
|
40
40
|
export { AccessTokenResponse, ExchangeCodeInput, OAuthAppInfo, OAuthResource } from './entries/oauth.js';
|
|
@@ -65,13 +65,13 @@ export { ImportUrlResult, UploadJsonResult, UploadResult, UploadsResource } from
|
|
|
65
65
|
export { NodeDoubleClickAction, UserMcpPreferences, UserMcpPreferencesPatch, UserSettings, UserSettingsLocale, UserSettingsPatch, UserSettingsResource, UserSettingsSaved, UserTextTemplate, VariableDisplayMode } from './entries/user-settings.js';
|
|
66
66
|
export { ContinueVideoProResult, StopVideoProResult, VideoProResource } from './entries/video-pro.js';
|
|
67
67
|
export { DubbingInput, VcpAnalysis, VcpAnalysisSpeaker, VcpAnalyzeInput, VcpExportInput, VcpExportTrack, VoiceChangerProInput, VoiceChangerProVoice, VoiceDesignInput, VoiceRemixInput, VoicesResource } from './entries/voices.js';
|
|
68
|
-
export { C as CreateWebhookEndpointInput, a as CreatedWebhookEndpoint, J as JobWebhookEvent, L as ListWebhookDeliveriesParams, P as PingWebhookEvent, R as RotateWebhookSecretInput, b as RotatedWebhookSecret, U as UpdateWebhookEndpointInput, W as WebhookDelivery, c as WebhookDeliveryPage, d as WebhookDeliveryStatus, e as WebhookEndpoint, f as WebhookEvent, g as WebhookEventType, h as WebhookJobEvent, i as WebhooksResource } from './webhooks-
|
|
68
|
+
export { C as CreateWebhookEndpointInput, a as CreatedWebhookEndpoint, J as JobWebhookEvent, L as ListWebhookDeliveriesParams, P as PingWebhookEvent, R as RotateWebhookSecretInput, b as RotatedWebhookSecret, U as UpdateWebhookEndpointInput, W as WebhookDelivery, c as WebhookDeliveryPage, d as WebhookDeliveryStatus, e as WebhookEndpoint, f as WebhookEvent, g as WebhookEventType, h as WebhookJobEvent, i as WebhooksResource } from './webhooks-Bbrs93kN.js';
|
|
69
69
|
export { VerifyWebhookSignatureOptions, WebhookSignatureError, WebhookSignatureErrorCode, verifyWebhookSignature } from './entries/webhooks.js';
|
|
70
70
|
export { ExecutionOutcome, NodeExecutionStatus, NodeSkipReason, OUTPUT_BEARING_NODE_STATUSES, ReduceMeta, ReduceStrategyId, WorkflowExport, WorkflowExportCharacter, WorkflowExportLocation, WorkflowExportObject, nodeStateMayCarryOutput } from '@nodaro/shared/workflow';
|
|
71
71
|
export { AddCollaboratorInput, Collaborator, CreateWorkflowInput, DroppedCollaborator, ListMcpConversationsParams, ListWorkflowsParams, McpConversation, McpConversationList, RenderFinalParams, RenderFinalQuote, RunWorkflowOptions, RunWorkflowParams, RunWorkflowResult, SharedWorkflow, UpdateWorkflowInput, Workflow, WorkflowsResource } from './entries/workflows.js';
|
|
72
72
|
export { CreateWorkspaceInput, WorkspacesResource } from './entries/workspaces.js';
|
|
73
73
|
export { AnimateSubGate, ChatEnabledStage, PipelineInput, PipelineMode, PipelineStageName, PipelineStatus, ProposedChange, SharedVoice, SubGateName, Voice, VoiceClone, VoiceFavorite, VoiceFavoriteInput, VoiceFavoriteType, VoiceLibraryDescriptive, VoiceLibraryFacetCount, VoiceLibraryFacets, VoiceLibraryFacetsParams, VoiceLibraryParams, VoiceLibraryResponse, VoiceLibraryUseCase } from '@nodaro/shared/pipeline';
|
|
74
|
-
export { G as GetProductionOptions, L as ListStudioProductionsOptions, S as StudioClientRequestId, a as StudioCloneRequest, b as StudioCreateProductionRequest, c as StudioDescribeRequest, d as StudioExportPlanOptions, e as StudioExportPlanResponse, f as StudioExportStep, g as StudioFrameRequest, h as StudioGenerateEstimate, i as StudioGenerateOptions, j as StudioGenerateRequest, k as StudioGenerateResponse, l as StudioGenerateResult, m as StudioImportSummary, n as StudioJobStartedResponse, o as StudioListProductionsResponse, p as StudioMediaResponse, q as StudioMusicRequest, r as StudioOpClass, s as StudioOpsDryRunReceipt, t as StudioOpsDryRunResponse, u as StudioOpsImpact, v as StudioOpsReceipt, w as StudioOpsRequest, x as StudioOpsResponse, y as StudioOpsText, z as StudioPlanIssue, A as StudioProduction, B as StudioProductionDetail, C as StudioProductionResponse, D as StudioProductionsResource, E as StudioReconcileResponse, F as StudioRevoiceRequest, H as StudioSkillResponse, I as StudioValidatePlanResponse, J as StudioVideoLane, K as StudioVoiceRequest, M as isStudioGenerateEstimate } from './studio-productions-
|
|
74
|
+
export { G as GetProductionOptions, L as ListStudioProductionsOptions, S as StudioClientRequestId, a as StudioCloneRequest, b as StudioCreateProductionRequest, c as StudioDescribeRequest, d as StudioExportPlanOptions, e as StudioExportPlanResponse, f as StudioExportStep, g as StudioFrameRequest, h as StudioGenerateEstimate, i as StudioGenerateOptions, j as StudioGenerateRequest, k as StudioGenerateResponse, l as StudioGenerateResult, m as StudioImportSummary, n as StudioJobStartedResponse, o as StudioListProductionsResponse, p as StudioMediaResponse, q as StudioMusicRequest, r as StudioOpClass, s as StudioOpsDryRunReceipt, t as StudioOpsDryRunResponse, u as StudioOpsImpact, v as StudioOpsReceipt, w as StudioOpsRequest, x as StudioOpsResponse, y as StudioOpsText, z as StudioPlanIssue, A as StudioProduction, B as StudioProductionDetail, C as StudioProductionResponse, D as StudioProductionsResource, E as StudioReconcileResponse, F as StudioRevoiceRequest, H as StudioSkillResponse, I as StudioValidatePlanResponse, J as StudioVideoLane, K as StudioVoiceRequest, M as isStudioGenerateEstimate } from './studio-productions-CsFExPit.js';
|
|
75
75
|
export { PEOPLE, PERSON_DIMENSION_LABELS, PERSON_DIMENSION_ORDER, PersonValue, buildPersonHints } from '@nodaro/prompts/person';
|
|
76
76
|
import '@nodaro/shared/captions';
|
|
77
77
|
import '@nodaro/prompts/presets';
|
package/dist/index.js
CHANGED
|
@@ -56,7 +56,7 @@ import './chunk-M6Y5TOYE.js';
|
|
|
56
56
|
import './chunk-KARJ7P7Y.js';
|
|
57
57
|
import './chunk-SUCHGNYT.js';
|
|
58
58
|
import './chunk-SLPD47SR.js';
|
|
59
|
-
export { NodaroClient, createClient } from './chunk-
|
|
59
|
+
export { NodaroClient, createClient } from './chunk-IKJNFENZ.js';
|
|
60
60
|
export { VoicesResource } from './chunk-S5V37WYY.js';
|
|
61
61
|
export { WebhooksResource } from './chunk-YN6CBIIB.js';
|
|
62
62
|
export { WorkflowsResource } from './chunk-33HT46A3.js';
|
|
@@ -81,7 +81,7 @@ export { OAuthResource } from './chunk-Z7LGWNI7.js';
|
|
|
81
81
|
export { OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ATTACH_COLUMNS, ObjectsResource } from './chunk-GIQDM2MH.js';
|
|
82
82
|
export { OrganizationsResource } from './chunk-ALSLZG3U.js';
|
|
83
83
|
export { PALETTE_DIRECTION_PREFIX, PalettesResource, paletteDirectionId } from './chunk-WEQWU2IC.js';
|
|
84
|
-
export { PickerCatalogsResource } from './chunk-
|
|
84
|
+
export { PickerCatalogsResource } from './chunk-3GF4VPK4.js';
|
|
85
85
|
export { PipelinesResource } from './chunk-J2DBYYXC.js';
|
|
86
86
|
export { ProjectsResource } from './chunk-H7VQTG4M.js';
|
|
87
87
|
export { PromptHelperResource } from './chunk-OIPPTBW4.js';
|
|
@@ -91,7 +91,7 @@ export { LOCATION_ASSET_TYPES, LOCATION_ATTACH_COLUMNS, LocationsResource, SURRO
|
|
|
91
91
|
export { MediaResource } from './chunk-HNUCPUIX.js';
|
|
92
92
|
export { ModelsResource } from './chunk-54NGEY45.js';
|
|
93
93
|
export { MOODBOARD_DIRECTION_PREFIX, MoodboardsResource, moodboardDirectionId } from './chunk-YVU2M7MI.js';
|
|
94
|
-
export { PresetsResource } from './chunk-
|
|
94
|
+
export { PresetsResource } from './chunk-H77BJMV2.js';
|
|
95
95
|
export { NodesResource } from './chunk-KKQKJD7K.js';
|
|
96
96
|
export { DeveloperAppsResource } from './chunk-65E3JBFZ.js';
|
|
97
97
|
export { DubbingResource } from './chunk-D5X3NKSI.js';
|
|
@@ -106,7 +106,7 @@ export { CompetitorsResource } from './chunk-BU5A6K4C.js';
|
|
|
106
106
|
export { ContentRightsResource } from './chunk-HAS6PMQN.js';
|
|
107
107
|
export { CopilotResource } from './chunk-CCXY4ZJM.js';
|
|
108
108
|
import './chunk-SZ67PDKE.js';
|
|
109
|
-
export { CallbackAuth, NodaroClientCore, StaticTokenAuth, supabaseAuth } from './chunk-
|
|
109
|
+
export { CallbackAuth, NodaroClientCore, StaticTokenAuth, supabaseAuth } from './chunk-NJ5ZFUWJ.js';
|
|
110
110
|
export { AlreadyRunningError, AppRunVersionChangedError, CREDIT_CAP_CODES, ContinuationPreviewPendingError, ContinuationRefusedError, CreditCapExceededError, ForbiddenError, IMPORT_REFUSAL_CODES, ImportRefusedError, InsufficientCreditsError, JobAbortedError, JobBlockedError, JobFailedError, JobHeldError, JobTimeoutError, MODEL_UNAVAILABLE_CODES, ModelUnavailableError, NodaroError, NotFoundError, RateLimitedError, StorageExceededError, StudioOpError, StudioPreviewAppliedError, StudioPreviewUnavailable, UnauthorizedError, WorkflowConflictError, throwFromResponse } from './chunk-IJAJTVEW.js';
|
|
111
111
|
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';
|
|
112
112
|
export { CreditsResource } from './chunk-UDRP64FX.js';
|
|
@@ -114,7 +114,7 @@ export { AppsResource } from './chunk-OJHJBNJZ.js';
|
|
|
114
114
|
export { AudioResource } from './chunk-JAGTW35C.js';
|
|
115
115
|
export { BillingResource } from './chunk-INRVOUKE.js';
|
|
116
116
|
export { CastSwapResource } from './chunk-YUY56PT7.js';
|
|
117
|
-
export { CatalogsResource } from './chunk-
|
|
117
|
+
export { CatalogsResource } from './chunk-AZMUM5WG.js';
|
|
118
118
|
export { CHARACTER_ASPECT_DEFAULTS, CHARACTER_ASPECT_OPTIONS, CHARACTER_STYLES, CharactersResource, PEOPLE, PERSON_DIMENSION_LABELS, PERSON_DIMENSION_ORDER, buildPersonHints, buildPersonSeedPrompt } from './chunk-CBDUHYTR.js';
|
|
119
119
|
//# sourceMappingURL=index.js.map
|
|
120
120
|
//# sourceMappingURL=index.js.map
|
|
@@ -9,7 +9,7 @@ import { Scene3DPlan, Scene3DEditOperation, Scene3DV2EditOperation, Scene3DRefer
|
|
|
9
9
|
import { UpscaleFactor } from '@nodaro/shared/credits';
|
|
10
10
|
import { ImageToImageAttachColumn } from '@nodaro/shared/entities';
|
|
11
11
|
import { LlmReasoningEffort } from '@nodaro/shared/llm-models';
|
|
12
|
-
import { N as NodaroClientCore } from './developer-apps-
|
|
12
|
+
import { N as NodaroClientCore } from './developer-apps-D59GfAnO.js';
|
|
13
13
|
import { JobsResource, JobStatusResult } from './entries/jobs.js';
|
|
14
14
|
import { NodaroError } from './entries/errors.js';
|
|
15
15
|
import { ModelInputAdjustment } from '@nodaro/shared/model-catalog';
|
|
@@ -629,6 +629,16 @@ type LlmChatParams = {
|
|
|
629
629
|
referenceImageUrls?: string[];
|
|
630
630
|
/** Up to 3 video links, on a model that reads video. */
|
|
631
631
|
referenceVideoUrls?: string[];
|
|
632
|
+
/**
|
|
633
|
+
* Frames sampled per second of each reference video: above 0, up to 24.
|
|
634
|
+
* A model reads 1 frame per second when this is left out. More frames of
|
|
635
|
+
* the same clip are more input tokens; a video's sound is read the same
|
|
636
|
+
* at any rate. Only the provider's own API carries a sampling rate, so it
|
|
637
|
+
* needs `advancedMode: true` on a model that reads video (a Gemini
|
|
638
|
+
* model): without it the call answers `400 video_fps_needs_advanced_mode`,
|
|
639
|
+
* and with no video `400 video_fps_without_video`.
|
|
640
|
+
*/
|
|
641
|
+
referenceVideoFps?: number;
|
|
632
642
|
/** Up to 3 audio links, on a model that reads audio. */
|
|
633
643
|
referenceAudioUrls?: string[];
|
|
634
644
|
/**
|
|
@@ -9,7 +9,7 @@ import { Scene3DPlan, Scene3DEditOperation, Scene3DV2EditOperation, Scene3DRefer
|
|
|
9
9
|
import { UpscaleFactor } from '@nodaro/shared/credits';
|
|
10
10
|
import { ImageToImageAttachColumn } from '@nodaro/shared/entities';
|
|
11
11
|
import { LlmReasoningEffort } from '@nodaro/shared/llm-models';
|
|
12
|
-
import { N as NodaroClientCore } from './developer-apps-
|
|
12
|
+
import { N as NodaroClientCore } from './developer-apps-D59GfAnO.cjs';
|
|
13
13
|
import { JobsResource, JobStatusResult } from './entries/jobs.cjs';
|
|
14
14
|
import { NodaroError } from './entries/errors.cjs';
|
|
15
15
|
import { ModelInputAdjustment } from '@nodaro/shared/model-catalog';
|
|
@@ -629,6 +629,16 @@ type LlmChatParams = {
|
|
|
629
629
|
referenceImageUrls?: string[];
|
|
630
630
|
/** Up to 3 video links, on a model that reads video. */
|
|
631
631
|
referenceVideoUrls?: string[];
|
|
632
|
+
/**
|
|
633
|
+
* Frames sampled per second of each reference video: above 0, up to 24.
|
|
634
|
+
* A model reads 1 frame per second when this is left out. More frames of
|
|
635
|
+
* the same clip are more input tokens; a video's sound is read the same
|
|
636
|
+
* at any rate. Only the provider's own API carries a sampling rate, so it
|
|
637
|
+
* needs `advancedMode: true` on a model that reads video (a Gemini
|
|
638
|
+
* model): without it the call answers `400 video_fps_needs_advanced_mode`,
|
|
639
|
+
* and with no video `400 video_fps_without_video`.
|
|
640
|
+
*/
|
|
641
|
+
referenceVideoFps?: number;
|
|
632
642
|
/** Up to 3 audio links, on a model that reads audio. */
|
|
633
643
|
referenceAudioUrls?: string[];
|
|
634
644
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nodaro/sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.74.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",
|
|
@@ -342,8 +342,8 @@
|
|
|
342
342
|
"test:watch": "vitest"
|
|
343
343
|
},
|
|
344
344
|
"dependencies": {
|
|
345
|
-
"@nodaro/shared": "^3.
|
|
346
|
-
"@nodaro/prompts": "^1.58.
|
|
345
|
+
"@nodaro/shared": "^3.68.0",
|
|
346
|
+
"@nodaro/prompts": "^1.58.1"
|
|
347
347
|
},
|
|
348
348
|
"peerDependencies": {
|
|
349
349
|
"@fingerprintjs/fingerprintjs": "^5.2.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/resources/catalogs.ts"],"names":[],"mappings":";AAiFO,IAAM,mBAAN,MAAuB;AAAA,EAC5B,YAAoB,MAAA,EAA0B;AAA1B,IAAA,IAAA,CAAA,MAAA,GAAA,MAAA;AAAA,EAA2B;AAAA,EAA3B,MAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMpB,IAAA,CAAK,IAAA,GAAwC,EAAC,EAAkC;AAC9E,IAAA,MAAM,KAAK,IAAA,CAAK,MAAA,GAAS,CAAA,QAAA,EAAW,IAAA,CAAK,MAAM,CAAA,CAAA,GAAK,EAAA;AACpD,IAAA,OAAO,KAAK,MAAA,CAAO,OAAA,CAAQ,KAAA,EAAO,CAAA,YAAA,EAAe,EAAE,CAAA,CAAE,CAAA;AAAA,EACvD;AACF","file":"chunk-25IKUIM3.js","sourcesContent":["import type { NodaroClientCore } from \"../core.js\"\n\n/**\n * Catalog projection types. Mirror `@nodaro/shared`'s `ProjectedCatalog` so the\n * SDK stays dependency-free (same convention as `picker-catalogs.ts`). Tag-free\n * by design — the deferred `CatalogPolicy` never crosses the wire.\n */\nexport interface ProjectedCatalogOption {\n id: string\n label: string\n description?: string\n category?: string\n /** The prompt fragment this id injects downstream. Present only when detail=\"full\". */\n promptHint?: string\n /**\n * Short professional term injected by compact hint mode; `label` is for\n * display. Present at BOTH detail levels — a thin client renders `label`\n * and injects `term`. Empty for a no-op (\"auto\"/\"none\") entry that injects\n * nothing.\n */\n term?: string\n icon?: string\n /**\n * Absolute URL of the option's picture — a photo, 3D emoji, flag or (Nodaro\n * Cloud only) rendered look preview — on the installation's own host, or the\n * Nodaro CDN for look previews. Absent when the option has no picture. Use it\n * as given: file names carry a content hash, so it can be cached for good.\n */\n imageUrl?: string\n /**\n * Absolute URL of the option's enlarged picture: the larger version to show\n * where your picker shows the option big (hover, zoom, a detail view).\n * Present only on a deployment that shows its own pictures (its surface\n * profile's `catalogs.images: \"own\"`) and gave one for this option; absent\n * everywhere else, so draw `imageUrl` there instead.\n */\n imageLargeUrl?: string\n}\nexport interface ProjectedCatalogDimension {\n field: string\n label: string\n options: ProjectedCatalogOption[]\n}\nexport interface ProjectedCatalog {\n nodeType: string\n label: string\n catalogId: string\n kind: \"single\" | \"multi\"\n valueField?: string\n defaultValue?: string\n categoryOrder?: string[]\n categoryLabels?: Record<string, string>\n detail: \"compact\" | \"full\"\n options?: ProjectedCatalogOption[]\n fields?: string[]\n dimensions?: ProjectedCatalogDimension[]\n /** person and styling: the topics their settings are grouped under, in order, each with its picture. */\n sections?: ProjectedCatalogSection[]\n}\n\n/** A topic a multi-dim catalog's settings are grouped under in the editor (person, styling). */\nexport interface ProjectedCatalogSection {\n label: string\n fields: string[]\n imageUrl?: string\n}\n\n/**\n * `GET /v1/catalogs`. `data` is present when the deployment registered\n * catalog packs (`curated: true`), and when it shows its own picker pictures\n * (`curated: false`: the catalogs are the bundled ones, the pictures in them\n * are the deployment's). Otherwise it is absent and the catalogs are the\n * bundled ones — read them per picker with `client.pickerCatalogs.get(nodeType)`.\n */\nexport interface CatalogsListResponse {\n curated: boolean\n packs: number\n version: number\n data?: ProjectedCatalog[]\n}\n\nexport class CatalogsResource {\n constructor(private client: NodaroClientCore) {}\n\n /** Every catalog, projected & pack-composed (honors the deployment's\n * registered vendored packs). Cached publicly 5 min. `data` is absent\n * when the deployment registered no packs and shows none of its own\n * picker pictures. */\n list(opts: { detail?: \"compact\" | \"full\" } = {}): Promise<CatalogsListResponse> {\n const qs = opts.detail ? `?detail=${opts.detail}` : \"\"\n return this.client.request(\"GET\", `/v1/catalogs${qs}`)\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/resources/picker-catalogs.ts"],"names":[],"mappings":";AA8JO,IAAM,yBAAN,MAA6B;AAAA,EAClC,YAAoB,MAAA,EAA0B;AAA1B,IAAA,IAAA,CAAA,MAAA,GAAA,MAAA;AAAA,EAA2B;AAAA,EAA3B,MAAA;AAAA;AAAA,EAGpB,IAAA,GAAkD;AAChD,IAAA,OAAO,IAAA,CAAK,MAAA,CAAO,OAAA,CAAQ,KAAA,EAAO,qBAAqB,CAAA;AAAA,EACzD;AAAA;AAAA;AAAA,EAIA,YAAY,MAAA,EAAyD;AACnE,IAAA,OAAO,IAAA,CAAK,OAAO,OAAA,CAAQ,MAAA,EAAQ,sBAAsB,EAAE,IAAA,EAAM,QAAQ,CAAA;AAAA,EAC3E;AAAA;AAAA,EAGA,GAAA,CAAI,QAAA,EAAkB,IAAA,GAAgC,EAAC,EAAqC;AAC1F,IAAA,MAAM,EAAA,GAAK,IAAI,eAAA,EAAgB;AAC/B,IAAA,IAAI,KAAK,MAAA,EAAQ,EAAA,CAAG,GAAA,CAAI,QAAA,EAAU,KAAK,MAAM,CAAA;AAC7C,IAAA,IAAI,KAAK,QAAA,EAAU,EAAA,CAAG,GAAA,CAAI,UAAA,EAAY,KAAK,QAAQ,CAAA;AACnD,IAAA,IAAI,KAAK,KAAA,EAAO,EAAA,CAAG,GAAA,CAAI,OAAA,EAAS,KAAK,KAAK,CAAA;AAC1C,IAAA,MAAM,KAAA,GAAQ,GAAG,QAAA,EAAS;AAC1B,IAAA,OAAO,KAAK,MAAA,CAAO,OAAA;AAAA,MACjB,KAAA;AAAA,MACA,CAAA,oBAAA,EAAuB,mBAAmB,QAAQ,CAAC,GAAG,KAAA,GAAQ,CAAA,CAAA,EAAI,KAAK,CAAA,CAAA,GAAK,EAAE,CAAA;AAAA,KAChF;AAAA,EACF;AACF","file":"chunk-BY3XIXWC.js","sourcesContent":["import type { CharacterMotionMetadata } from \"@nodaro/shared/types\"\nimport type { NodaroClientCore } from \"../core.js\"\n\n/**\n * Picker-catalog types. Mirrors `@nodaro/shared`'s `ProjectedPickerCatalog` /\n * `PickerCatalogSummary` so the SDK stays dependency-free (same convention as\n * `NodeDescriptor` mirroring node-registry).\n */\nexport interface PickerOption {\n id: string\n label: string\n description?: string\n category?: string\n /** The prompt fragment this id injects downstream. Present only when detail=\"full\". */\n promptHint?: string\n /**\n * Short professional term injected by compact hint mode; `label` is for\n * display. Present at BOTH detail levels — a thin client renders `label`\n * and injects `term`. Empty for a no-op (\"auto\"/\"none\") entry that injects\n * nothing.\n */\n term?: string\n icon?: string\n /** Authored Character Motion prerequisites and sequence state. Missing means unknown. */\n motion?: CharacterMotionMetadata\n /**\n * Style only: the outputs the style is offered for. Present only on a style\n * offered for one of them (`[\"video\"]`: a look that only works in motion);\n * absent means both. An image style list leaves out an option without\n * \"image\".\n */\n media?: Array<\"image\" | \"video\">\n /**\n * Style only: `false` on a style that does not hold up as a restyle of\n * filmed footage; a restyle style list leaves it out. Absent means offered.\n * Video generation still offers it.\n */\n restyle?: false\n /**\n * Per-option parameters — node-data fields that apply only while THIS option\n * is picked (the Transition catalog's `wipe` → `wipeDirection`). Same shape\n * as a catalog's `dimensions`, at both detail levels; `auto` leads each list\n * and means \"send nothing\". Absent on every other option.\n */\n params?: PickerDimension[]\n /**\n * Absolute URL of the option's picture — a photo, 3D emoji, flag or (Nodaro\n * Cloud only) rendered look preview — on the installation's own host, or the\n * Nodaro CDN for look previews. Absent when the option has no picture. Use it\n * as given: file names carry a content hash, so it can be cached for good.\n */\n imageUrl?: string\n /**\n * The same picture at several widths, as an HTML `srcset` value\n * (`<url> 240w, <url> 480w, <url> 960w, <url> 1920w`) — present only for a\n * render the Nodaro CDN resizes (Nodaro Cloud: the look previews and the\n * music pickers' pictures). Pass it to `<img srcset>` with a `sizes` so a\n * large tile stays sharp; `imageUrl` is its 480px member.\n */\n imageSrcSet?: string\n /**\n * Absolute URL of the option's enlarged picture: the larger version to show\n * where your picker shows the option big (hover, zoom, a detail view).\n * Present only on a deployment that shows its own pictures (its surface\n * profile's `catalogs.images: \"own\"`) and gave one for this option; absent\n * everywhere else, so draw `imageUrl` there instead.\n */\n imageLargeUrl?: string\n}\n\nexport interface PickerDimension {\n field: string\n label: string\n options: PickerOption[]\n}\n\n/** A topic a multi-dim catalog's settings are grouped under in the editor (person, styling). */\nexport interface PickerCatalogSection {\n /** English topic name, e.g. \"Identity\", \"Beauty & Hair\". */\n label: string\n /** Node-data fields of the settings in this topic, in display order. */\n fields: string[]\n /** Absolute URL of the topic's round picture. Absent when it has none. */\n imageUrl?: string\n}\n\nexport interface PickerCatalog {\n nodeType: string\n label: string\n catalogId: string\n kind: \"single\" | \"multi\"\n /** single only — the node-data field the chosen id writes to. */\n valueField?: string\n defaultValue?: string\n categoryOrder?: string[]\n categoryLabels?: Record<string, string>\n /** single-dim catalogs. */\n options?: PickerOption[]\n /** multi-dim catalogs. */\n fields?: string[]\n /** Per-field option lists. Multi-dim catalogs always carry these; a\n * single-dim catalog carries them when it has secondary parameter\n * fields beside its main picker (transition position/duration/intensity). */\n dimensions?: PickerDimension[]\n detail?: \"compact\" | \"full\"\n /** person and styling: the topics their settings are grouped under, in order, each with its picture. */\n sections?: PickerCatalogSection[]\n}\n\nexport interface PickerCatalogSummary {\n nodeType: string\n label: string\n catalogId: string\n kind: \"single\" | \"multi\"\n valueField?: string\n fields?: string[]\n optionCount: number\n /** How many of those options carry an `imageUrl` (0 = no pictures). Absent from servers that predate pictures. */\n imageCount?: number\n}\n\nexport interface GetPickerCatalogOptions {\n /** \"compact\" (default) = id, label, category, term, icon, imageUrl; \"full\" additionally includes description + promptHint. */\n detail?: \"compact\" | \"full\"\n /** single-dim: filter to one category. */\n category?: string\n /** multi-dim: only this dimension field. */\n field?: string\n}\n\n/** Input for `analyzeText` (POST /v1/text-to-picker). */\nexport interface TextToPickerParams {\n /** Free-text scene/shot description to analyze. */\n text: string\n /** Picker node types to fill. Omit for ALL analyzable pickers (the server\n * fans the analysis out per family and merges). */\n targetPickers?: string[]\n /** Extra guidance appended to the analyzer system prompt. */\n instructions?: string\n /** Originating client app slug (e.g. \"cine\") — attribution only. */\n origin?: string\n llmModel?: string\n reasoningEffort?: string\n}\n\nexport interface TextToPickerResult {\n jobId: string\n /** pickerType → dimension → chosen catalog id(s) — same shape as\n * describe-to-picker; hydrate pickers from it verbatim. */\n pickerJson: Record<string, Record<string, string | string[]>>\n /** Catalog-coverage feedback (attributes the text described that no\n * catalog id represents well). Surface as \"we couldn't infer X\". */\n gaps?: {\n missingItems: Array<{ picker: string; dimension: string; observed: string }>\n missingCategories: Array<{ picker: string; suggestedDimension: string; observed: string }>\n }\n}\n\nexport class PickerCatalogsResource {\n constructor(private client: NodaroClientCore) {}\n\n /** List every parameter-picker node type + its option count. Cached publicly 5 min. */\n list(): Promise<{ data: PickerCatalogSummary[] }> {\n return this.client.request(\"GET\", \"/v1/picker-catalogs\")\n }\n\n /** Fill pickers from a free-text description (Cine \"AI Fill\"): returns the\n * same pickerJson shape as describe-to-picker, keyed by picker node type. */\n analyzeText(params: TextToPickerParams): Promise<TextToPickerResult> {\n return this.client.request(\"POST\", \"/v1/text-to-picker\", { body: params })\n }\n\n /** Get one picker's catalog of valid values. */\n get(nodeType: string, opts: GetPickerCatalogOptions = {}): Promise<{ data: PickerCatalog }> {\n const qs = new URLSearchParams()\n if (opts.detail) qs.set(\"detail\", opts.detail)\n if (opts.category) qs.set(\"category\", opts.category)\n if (opts.field) qs.set(\"field\", opts.field)\n const query = qs.toString()\n return this.client.request(\n \"GET\",\n `/v1/picker-catalogs/${encodeURIComponent(nodeType)}${query ? `?${query}` : \"\"}`,\n )\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/resources/catalogs.ts"],"names":[],"mappings":";;;AAiFO,IAAM,mBAAN,MAAuB;AAAA,EAC5B,YAAoB,MAAA,EAA0B;AAA1B,IAAA,IAAA,CAAA,MAAA,GAAA,MAAA;AAAA,EAA2B;AAAA,EAA3B,MAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMpB,IAAA,CAAK,IAAA,GAAwC,EAAC,EAAkC;AAC9E,IAAA,MAAM,KAAK,IAAA,CAAK,MAAA,GAAS,CAAA,QAAA,EAAW,IAAA,CAAK,MAAM,CAAA,CAAA,GAAK,EAAA;AACpD,IAAA,OAAO,KAAK,MAAA,CAAO,OAAA,CAAQ,KAAA,EAAO,CAAA,YAAA,EAAe,EAAE,CAAA,CAAE,CAAA;AAAA,EACvD;AACF","file":"chunk-C4LXPSSF.cjs","sourcesContent":["import type { NodaroClientCore } from \"../core.js\"\n\n/**\n * Catalog projection types. Mirror `@nodaro/shared`'s `ProjectedCatalog` so the\n * SDK stays dependency-free (same convention as `picker-catalogs.ts`). Tag-free\n * by design — the deferred `CatalogPolicy` never crosses the wire.\n */\nexport interface ProjectedCatalogOption {\n id: string\n label: string\n description?: string\n category?: string\n /** The prompt fragment this id injects downstream. Present only when detail=\"full\". */\n promptHint?: string\n /**\n * Short professional term injected by compact hint mode; `label` is for\n * display. Present at BOTH detail levels — a thin client renders `label`\n * and injects `term`. Empty for a no-op (\"auto\"/\"none\") entry that injects\n * nothing.\n */\n term?: string\n icon?: string\n /**\n * Absolute URL of the option's picture — a photo, 3D emoji, flag or (Nodaro\n * Cloud only) rendered look preview — on the installation's own host, or the\n * Nodaro CDN for look previews. Absent when the option has no picture. Use it\n * as given: file names carry a content hash, so it can be cached for good.\n */\n imageUrl?: string\n /**\n * Absolute URL of the option's enlarged picture: the larger version to show\n * where your picker shows the option big (hover, zoom, a detail view).\n * Present only on a deployment that shows its own pictures (its surface\n * profile's `catalogs.images: \"own\"`) and gave one for this option; absent\n * everywhere else, so draw `imageUrl` there instead.\n */\n imageLargeUrl?: string\n}\nexport interface ProjectedCatalogDimension {\n field: string\n label: string\n options: ProjectedCatalogOption[]\n}\nexport interface ProjectedCatalog {\n nodeType: string\n label: string\n catalogId: string\n kind: \"single\" | \"multi\"\n valueField?: string\n defaultValue?: string\n categoryOrder?: string[]\n categoryLabels?: Record<string, string>\n detail: \"compact\" | \"full\"\n options?: ProjectedCatalogOption[]\n fields?: string[]\n dimensions?: ProjectedCatalogDimension[]\n /** person and styling: the topics their settings are grouped under, in order, each with its picture. */\n sections?: ProjectedCatalogSection[]\n}\n\n/** A topic a multi-dim catalog's settings are grouped under in the editor (person, styling). */\nexport interface ProjectedCatalogSection {\n label: string\n fields: string[]\n imageUrl?: string\n}\n\n/**\n * `GET /v1/catalogs`. `data` is present when the deployment registered\n * catalog packs (`curated: true`), and when it shows its own picker pictures\n * (`curated: false`: the catalogs are the bundled ones, the pictures in them\n * are the deployment's). Otherwise it is absent and the catalogs are the\n * bundled ones — read them per picker with `client.pickerCatalogs.get(nodeType)`.\n */\nexport interface CatalogsListResponse {\n curated: boolean\n packs: number\n version: number\n data?: ProjectedCatalog[]\n}\n\nexport class CatalogsResource {\n constructor(private client: NodaroClientCore) {}\n\n /** Every catalog, projected & pack-composed (honors the deployment's\n * registered vendored packs). Cached publicly 5 min. `data` is absent\n * when the deployment registered no packs and shows none of its own\n * picker pictures. */\n list(opts: { detail?: \"compact\" | \"full\" } = {}): Promise<CatalogsListResponse> {\n const qs = opts.detail ? `?detail=${opts.detail}` : \"\"\n return this.client.request(\"GET\", `/v1/catalogs${qs}`)\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/resources/picker-catalogs.ts"],"names":[],"mappings":";;;AA8JO,IAAM,yBAAN,MAA6B;AAAA,EAClC,YAAoB,MAAA,EAA0B;AAA1B,IAAA,IAAA,CAAA,MAAA,GAAA,MAAA;AAAA,EAA2B;AAAA,EAA3B,MAAA;AAAA;AAAA,EAGpB,IAAA,GAAkD;AAChD,IAAA,OAAO,IAAA,CAAK,MAAA,CAAO,OAAA,CAAQ,KAAA,EAAO,qBAAqB,CAAA;AAAA,EACzD;AAAA;AAAA;AAAA,EAIA,YAAY,MAAA,EAAyD;AACnE,IAAA,OAAO,IAAA,CAAK,OAAO,OAAA,CAAQ,MAAA,EAAQ,sBAAsB,EAAE,IAAA,EAAM,QAAQ,CAAA;AAAA,EAC3E;AAAA;AAAA,EAGA,GAAA,CAAI,QAAA,EAAkB,IAAA,GAAgC,EAAC,EAAqC;AAC1F,IAAA,MAAM,EAAA,GAAK,IAAI,eAAA,EAAgB;AAC/B,IAAA,IAAI,KAAK,MAAA,EAAQ,EAAA,CAAG,GAAA,CAAI,QAAA,EAAU,KAAK,MAAM,CAAA;AAC7C,IAAA,IAAI,KAAK,QAAA,EAAU,EAAA,CAAG,GAAA,CAAI,UAAA,EAAY,KAAK,QAAQ,CAAA;AACnD,IAAA,IAAI,KAAK,KAAA,EAAO,EAAA,CAAG,GAAA,CAAI,OAAA,EAAS,KAAK,KAAK,CAAA;AAC1C,IAAA,MAAM,KAAA,GAAQ,GAAG,QAAA,EAAS;AAC1B,IAAA,OAAO,KAAK,MAAA,CAAO,OAAA;AAAA,MACjB,KAAA;AAAA,MACA,CAAA,oBAAA,EAAuB,mBAAmB,QAAQ,CAAC,GAAG,KAAA,GAAQ,CAAA,CAAA,EAAI,KAAK,CAAA,CAAA,GAAK,EAAE,CAAA;AAAA,KAChF;AAAA,EACF;AACF","file":"chunk-O4UXEIV6.cjs","sourcesContent":["import type { CharacterMotionMetadata } from \"@nodaro/shared/types\"\nimport type { NodaroClientCore } from \"../core.js\"\n\n/**\n * Picker-catalog types. Mirrors `@nodaro/shared`'s `ProjectedPickerCatalog` /\n * `PickerCatalogSummary` so the SDK stays dependency-free (same convention as\n * `NodeDescriptor` mirroring node-registry).\n */\nexport interface PickerOption {\n id: string\n label: string\n description?: string\n category?: string\n /** The prompt fragment this id injects downstream. Present only when detail=\"full\". */\n promptHint?: string\n /**\n * Short professional term injected by compact hint mode; `label` is for\n * display. Present at BOTH detail levels — a thin client renders `label`\n * and injects `term`. Empty for a no-op (\"auto\"/\"none\") entry that injects\n * nothing.\n */\n term?: string\n icon?: string\n /** Authored Character Motion prerequisites and sequence state. Missing means unknown. */\n motion?: CharacterMotionMetadata\n /**\n * Style only: the outputs the style is offered for. Present only on a style\n * offered for one of them (`[\"video\"]`: a look that only works in motion);\n * absent means both. An image style list leaves out an option without\n * \"image\".\n */\n media?: Array<\"image\" | \"video\">\n /**\n * Style only: `false` on a style that does not hold up as a restyle of\n * filmed footage; a restyle style list leaves it out. Absent means offered.\n * Video generation still offers it.\n */\n restyle?: false\n /**\n * Per-option parameters — node-data fields that apply only while THIS option\n * is picked (the Transition catalog's `wipe` → `wipeDirection`). Same shape\n * as a catalog's `dimensions`, at both detail levels; `auto` leads each list\n * and means \"send nothing\". Absent on every other option.\n */\n params?: PickerDimension[]\n /**\n * Absolute URL of the option's picture — a photo, 3D emoji, flag or (Nodaro\n * Cloud only) rendered look preview — on the installation's own host, or the\n * Nodaro CDN for look previews. Absent when the option has no picture. Use it\n * as given: file names carry a content hash, so it can be cached for good.\n */\n imageUrl?: string\n /**\n * The same picture at several widths, as an HTML `srcset` value\n * (`<url> 240w, <url> 480w, <url> 960w, <url> 1920w`) — present only for a\n * render the Nodaro CDN resizes (Nodaro Cloud: the look previews and the\n * music pickers' pictures). Pass it to `<img srcset>` with a `sizes` so a\n * large tile stays sharp; `imageUrl` is its 480px member.\n */\n imageSrcSet?: string\n /**\n * Absolute URL of the option's enlarged picture: the larger version to show\n * where your picker shows the option big (hover, zoom, a detail view).\n * Present only on a deployment that shows its own pictures (its surface\n * profile's `catalogs.images: \"own\"`) and gave one for this option; absent\n * everywhere else, so draw `imageUrl` there instead.\n */\n imageLargeUrl?: string\n}\n\nexport interface PickerDimension {\n field: string\n label: string\n options: PickerOption[]\n}\n\n/** A topic a multi-dim catalog's settings are grouped under in the editor (person, styling). */\nexport interface PickerCatalogSection {\n /** English topic name, e.g. \"Identity\", \"Beauty & Hair\". */\n label: string\n /** Node-data fields of the settings in this topic, in display order. */\n fields: string[]\n /** Absolute URL of the topic's round picture. Absent when it has none. */\n imageUrl?: string\n}\n\nexport interface PickerCatalog {\n nodeType: string\n label: string\n catalogId: string\n kind: \"single\" | \"multi\"\n /** single only — the node-data field the chosen id writes to. */\n valueField?: string\n defaultValue?: string\n categoryOrder?: string[]\n categoryLabels?: Record<string, string>\n /** single-dim catalogs. */\n options?: PickerOption[]\n /** multi-dim catalogs. */\n fields?: string[]\n /** Per-field option lists. Multi-dim catalogs always carry these; a\n * single-dim catalog carries them when it has secondary parameter\n * fields beside its main picker (transition position/duration/intensity). */\n dimensions?: PickerDimension[]\n detail?: \"compact\" | \"full\"\n /** person and styling: the topics their settings are grouped under, in order, each with its picture. */\n sections?: PickerCatalogSection[]\n}\n\nexport interface PickerCatalogSummary {\n nodeType: string\n label: string\n catalogId: string\n kind: \"single\" | \"multi\"\n valueField?: string\n fields?: string[]\n optionCount: number\n /** How many of those options carry an `imageUrl` (0 = no pictures). Absent from servers that predate pictures. */\n imageCount?: number\n}\n\nexport interface GetPickerCatalogOptions {\n /** \"compact\" (default) = id, label, category, term, icon, imageUrl; \"full\" additionally includes description + promptHint. */\n detail?: \"compact\" | \"full\"\n /** single-dim: filter to one category. */\n category?: string\n /** multi-dim: only this dimension field. */\n field?: string\n}\n\n/** Input for `analyzeText` (POST /v1/text-to-picker). */\nexport interface TextToPickerParams {\n /** Free-text scene/shot description to analyze. */\n text: string\n /** Picker node types to fill. Omit for ALL analyzable pickers (the server\n * fans the analysis out per family and merges). */\n targetPickers?: string[]\n /** Extra guidance appended to the analyzer system prompt. */\n instructions?: string\n /** Originating client app slug (e.g. \"cine\") — attribution only. */\n origin?: string\n llmModel?: string\n reasoningEffort?: string\n}\n\nexport interface TextToPickerResult {\n jobId: string\n /** pickerType → dimension → chosen catalog id(s) — same shape as\n * describe-to-picker; hydrate pickers from it verbatim. */\n pickerJson: Record<string, Record<string, string | string[]>>\n /** Catalog-coverage feedback (attributes the text described that no\n * catalog id represents well). Surface as \"we couldn't infer X\". */\n gaps?: {\n missingItems: Array<{ picker: string; dimension: string; observed: string }>\n missingCategories: Array<{ picker: string; suggestedDimension: string; observed: string }>\n }\n}\n\nexport class PickerCatalogsResource {\n constructor(private client: NodaroClientCore) {}\n\n /** List every parameter-picker node type + its option count. Cached publicly 5 min. */\n list(): Promise<{ data: PickerCatalogSummary[] }> {\n return this.client.request(\"GET\", \"/v1/picker-catalogs\")\n }\n\n /** Fill pickers from a free-text description (Cine \"AI Fill\"): returns the\n * same pickerJson shape as describe-to-picker, keyed by picker node type. */\n analyzeText(params: TextToPickerParams): Promise<TextToPickerResult> {\n return this.client.request(\"POST\", \"/v1/text-to-picker\", { body: params })\n }\n\n /** Get one picker's catalog of valid values. */\n get(nodeType: string, opts: GetPickerCatalogOptions = {}): Promise<{ data: PickerCatalog }> {\n const qs = new URLSearchParams()\n if (opts.detail) qs.set(\"detail\", opts.detail)\n if (opts.category) qs.set(\"category\", opts.category)\n if (opts.field) qs.set(\"field\", opts.field)\n const query = qs.toString()\n return this.client.request(\n \"GET\",\n `/v1/picker-catalogs/${encodeURIComponent(nodeType)}${query ? `?${query}` : \"\"}`,\n )\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/resources/node-presets.ts"],"names":[],"mappings":";AAoLO,IAAM,kBAAN,MAAsB;AAAA,EAC3B,YAAoB,MAAA,EAA0B;AAA1B,IAAA,IAAA,CAAA,MAAA,GAAA,MAAA;AAAA,EAA2B;AAAA,EAA3B,MAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMpB,MAAM,KAAK,QAAA,EAA0C;AACnD,IAAA,MAAM,KAAK,QAAA,GAAW,CAAA,UAAA,EAAa,kBAAA,CAAmB,QAAQ,CAAC,CAAA,CAAA,GAAK,EAAA;AACpE,IAAA,MAAM,GAAA,GAAM,MAAM,IAAA,CAAK,MAAA,CAAO,QAAgC,KAAA,EAAO,CAAA,gBAAA,EAAmB,EAAE,CAAA,CAAE,CAAA;AAC5F,IAAA,OAAO,GAAA,CAAI,IAAA;AAAA,EACb;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,MAAM,WAAW,QAAA,EAA+C;AAC9D,IAAA,MAAM,KAAK,QAAA,GAAW,CAAA,UAAA,EAAa,kBAAA,CAAmB,QAAQ,CAAC,CAAA,CAAA,GAAK,EAAA;AACpE,IAAA,MAAM,GAAA,GAAM,MAAM,IAAA,CAAK,MAAA,CAAO,QAAqC,KAAA,EAAO,CAAA,sBAAA,EAAyB,EAAE,CAAA,CAAE,CAAA;AACvG,IAAA,OAAO,GAAA,CAAI,IAAA;AAAA,EACb;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAaA,YAAY,QAAA,EAAiD;AAC3D,IAAA,OAAO,KAAK,MAAA,CAAO,OAAA;AAAA,MACjB,KAAA;AAAA,MACA,CAAA,kCAAA,EAAqC,kBAAA,CAAmB,QAAQ,CAAC,CAAA;AAAA,KACnE;AAAA,EACF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUA,MAAM,kBAAkB,QAAA,EAAwD;AAC9E,IAAA,MAAM,GAAA,GAAM,MAAM,IAAA,CAAK,MAAA,CAAO,OAAA;AAAA,MAC5B,KAAA;AAAA,MACA,CAAA,yCAAA,EAA4C,kBAAA,CAAmB,QAAQ,CAAC,CAAA;AAAA,KAC1E;AACA,IAAA,OAAO,GAAA,CAAI,IAAA;AAAA,EACb;AAAA;AAAA,EAGA,MAAM,OAAO,KAAA,EAAmD;AAC9D,IAAA,MAAM,GAAA,GAAM,MAAM,IAAA,CAAK,MAAA,CAAO,OAAA,CAA8B,QAAQ,kBAAA,EAAoB,EAAE,IAAA,EAAM,KAAA,EAAO,CAAA;AACvG,IAAA,OAAO,GAAA,CAAI,IAAA;AAAA,EACb;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,MAAM,MAAA,CAAO,EAAA,EAAY,KAAA,EAA8B,IAAA,GAAuC,EAAC,EAAwB;AACrH,IAAA,MAAM,IAAA,GAAO,KAAK,iBAAA,GAAoB,EAAE,GAAG,KAAA,EAAO,iBAAA,EAAmB,IAAA,CAAK,iBAAA,EAAkB,GAAI,KAAA;AAChG,IAAA,MAAM,GAAA,GAAM,MAAM,IAAA,CAAK,MAAA,CAAO,OAAA,CAA8B,OAAA,EAAS,CAAA,iBAAA,EAAoB,kBAAA,CAAmB,EAAE,CAAC,CAAA,CAAA,EAAI,EAAE,MAAM,CAAA;AAC3H,IAAA,OAAO,GAAA,CAAI,IAAA;AAAA,EACb;AAAA;AAAA,EAGA,MAAM,MAAA,CAAO,EAAA,EAAY,IAAA,GAAuC,EAAC,EAA+B;AAC9F,IAAA,MAAM,GAAA,GAAM,MAAM,IAAA,CAAK,MAAA,CAAO,OAAA,CAAqC,UAAU,CAAA,iBAAA,EAAoB,kBAAA,CAAmB,EAAE,CAAC,CAAA,CAAA,EAAI;AAAA,MACzH,KAAA,EAAO,EAAE,iBAAA,EAAmB,IAAA,CAAK,iBAAA;AAAkB,KACpD,CAAA;AACD,IAAA,OAAO,GAAA,CAAI,IAAA;AAAA,EACb;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,MAAM,OAAO,OAAA,EAAiE;AAC5E,IAAA,MAAM,GAAA,GAAM,MAAM,IAAA,CAAK,MAAA,CAAO,OAAA,CAAwC,MAAA,EAAQ,yBAAA,EAA2B,EAAE,IAAA,EAAM,EAAE,OAAA,EAAQ,EAAG,CAAA;AAC9H,IAAA,OAAO,GAAA,CAAI,IAAA;AAAA,EACb;AAAA;AAAA,EAGA,MAAM,QAAQ,KAAA,EAAuD;AACnE,IAAA,MAAM,GAAA,GAAM,MAAM,IAAA,CAAK,MAAA,CAAO,OAAA,CAAgC,QAAQ,0BAAA,EAA4B,EAAE,IAAA,EAAM,KAAA,EAAO,CAAA;AACjH,IAAA,OAAO,GAAA,CAAI,IAAA;AAAA,EACb;AAAA;AAAA,EAGA,MAAM,UAAU,QAAA,EAAqC;AACnD,IAAA,MAAM,GAAA,GAAM,MAAM,IAAA,CAAK,MAAA,CAAO,OAAA,CAA4B,KAAA,EAAO,4BAAA,EAA8B,EAAE,KAAA,EAAO,EAAE,QAAA,EAAS,EAAG,CAAA;AACtH,IAAA,OAAO,GAAA,CAAI,IAAA;AAAA,EACb;AAAA;AAAA,EAGA,MAAM,YAAY,KAAA,EAA4D;AAC5E,IAAA,MAAM,GAAA,GAAM,MAAM,IAAA,CAAK,MAAA,CAAO,OAAA,CAAqC,QAAQ,4BAAA,EAA8B,EAAE,IAAA,EAAM,KAAA,EAAO,CAAA;AACxH,IAAA,OAAO,GAAA,CAAI,IAAA;AAAA,EACb;AAAA;AAAA,EAGA,MAAM,eAAe,KAAA,EAA4D;AAC/E,IAAA,MAAM,MAAM,MAAM,IAAA,CAAK,MAAA,CAAO,OAAA,CAAqC,UAAU,4BAAA,EAA8B;AAAA,MACzG,OAAO,EAAE,QAAA,EAAU,MAAM,QAAA,EAAU,QAAA,EAAU,MAAM,QAAA;AAAS,KAC7D,CAAA;AACD,IAAA,OAAO,GAAA,CAAI,IAAA;AAAA,EACb;AAAA;AAAA,EAGA,MAAM,YAAY,KAAA,EAA6D;AAC7E,IAAA,MAAM,GAAA,GAAM,MAAM,IAAA,CAAK,MAAA,CAAO,OAAA,CAAmC,QAAQ,wBAAA,EAA0B,EAAE,IAAA,EAAM,KAAA,EAAO,CAAA;AAClH,IAAA,OAAO,GAAA,CAAI,IAAA;AAAA,EACb;AAAA;AAAA,EAGA,MAAM,WAAA,CAAY,EAAA,EAAY,KAAA,EAA6D;AACzF,IAAA,MAAM,GAAA,GAAM,MAAM,IAAA,CAAK,MAAA,CAAO,OAAA,CAAmC,SAAS,CAAA,uBAAA,EAA0B,kBAAA,CAAmB,EAAE,CAAC,CAAA,CAAA,EAAI;AAAA,MAC5H,IAAA,EAAM;AAAA,KACP,CAAA;AACD,IAAA,OAAO,GAAA,CAAI,IAAA;AAAA,EACb;AAAA;AAAA,EAGA,MAAM,YAAY,EAAA,EAAwC;AACxD,IAAA,MAAM,GAAA,GAAM,MAAM,IAAA,CAAK,MAAA,CAAO,OAAA,CAAqC,UAAU,CAAA,uBAAA,EAA0B,kBAAA,CAAmB,EAAE,CAAC,CAAA,CAAE,CAAA;AAC/H,IAAA,OAAO,GAAA,CAAI,IAAA;AAAA,EACb;AACF","file":"chunk-ROUCXQU3.js","sourcesContent":["import type { NodaroClientCore } from \"../core.js\"\nimport type { FactoryPreset } from \"@nodaro/prompts/presets\"\n\n/**\n * A user's saved custom preset (`GET /v1/node-presets`). Mirrors the backend's\n * camelCase row shape. `data` is captured node config — merge it into a node's\n * data when building/running a workflow to \"apply\" the preset.\n */\nexport interface NodePreset {\n id: string\n nodeType: string\n name: string\n description?: string\n data: Record<string, unknown>\n groupId?: string\n tags: string[]\n sortOrder: number\n /**\n * How many connected reference images the preset works from (0 = none),\n * counted from the `{image:N}` tokens in its prompt. Absent from servers that\n * predate it.\n */\n minReferences?: number\n /** `minReferences > 0` — the preset works from a connected photo. */\n needsImage?: boolean\n /** The example picture stored with the preset, or null. */\n previewUrl?: string | null\n createdAt: string\n updatedAt: string\n}\n\n/** A user's preset folder/section (`GET /v1/node-preset-groups`). */\nexport interface NodePresetGroup {\n id: string\n nodeType: string\n name: string\n kind: \"folder\" | \"section\"\n sortOrder: number\n createdAt: string\n updatedAt: string\n}\n\n/**\n * One built-in preset as `GET /v1/node-presets/factory` serves it: the\n * catalog entry plus what a client needs to present it.\n */\nexport interface FactoryPresetEntry extends FactoryPreset {\n /**\n * How many connected reference images the preset works from (0 = none):\n * Reference Sheet, Portrait Transformations, Edits and every template using\n * `{image:N}` need at least one. Absent from servers that predate it.\n */\n minReferences?: number\n /** `minReferences > 0` — the preset works from a connected photo. */\n needsImage?: boolean\n /**\n * An example picture of what the preset makes — an absolute URL on the\n * server you asked — or null while the preset has none.\n */\n previewUrl?: string | null\n /**\n * The same picture at its two sizes for an `<img srcset>` — the tile picture\n * at 512w and the full-screen one at up to 1024w. Present only when the\n * preset has both; absent from servers that predate it.\n */\n previewSrcSet?: string\n /**\n * The tile picture's real width and height (`previewUrl`'s), so a client\n * draws it in a box of its own shape before it loads — a preset's\n * `data.aspectRatio` is what it generates, not always its picture's shape.\n * Present for a built-in picture; absent from servers that predate it.\n */\n previewWidth?: number\n previewHeight?: number\n}\n\n/**\n * Result of `GET /v1/node-presets/factory` — the built-in (factory) catalog for\n * a node type.\n */\nexport interface FactoryPresetsResult {\n data: FactoryPresetEntry[]\n}\n\n/**\n * One category (group) of the built-in catalog, as `listFactoryGroups()` lists\n * it: enough to show the categories (a menu, a shelf) without the whole catalog.\n */\nexport interface FactoryPresetGroupSummary {\n /** The group's name, as the presets carry it (`FactoryPresetEntry.group`). */\n group: string\n /**\n * The shelf a picker files it under: `\"video\"`, `\"marketing\"`, `\"photos\"`,\n * `\"creative\"`, `\"life\"`, `\"pro\"` (the pro catalog), or `\"more\"` (a group no\n * shelf names yet). Shown in that order.\n */\n shelf: string\n /** How many presets it holds. */\n count: number\n /** The example picture of its first preset that has one, or null. */\n previewUrl: string | null\n /** Its first example pictures, in catalog order, each once: at most three (empty when none has one). */\n previewUrls: string[]\n}\n\n/** `POST /v1/node-presets` body. */\nexport interface CreateNodePresetInput {\n /** The node type the preset configures, e.g. `\"generate-image\"`. */\n nodeType: string\n /** Unique per node type (case-insensitive); a duplicate answers 409 `name_taken`. */\n name: string\n description?: string\n /** Node config (≤ 64 KB). Runtime keys (results, job ids, labels) are stripped. */\n data: Record<string, unknown>\n /** One of your preset groups, or null for none. */\n groupId?: string | null\n tags?: string[]\n sortOrder?: number\n /**\n * An example picture: an image stored on this platform (an upload or a\n * generated result) that already exists. Anything else answers 400.\n */\n previewUrl?: string | null\n}\n\n/** `PATCH /v1/node-presets/:id` body — every field optional; `previewUrl: null` removes the picture. */\nexport type UpdateNodePresetInput = Partial<Omit<CreateNodePresetInput, \"nodeType\">>\n\n/** One entry of `POST /v1/node-presets/import` (the `presets export` envelope's entries fit). */\nexport interface ImportNodePresetInput {\n nodeType: string\n name: string\n description?: string\n data: Record<string, unknown>\n previewUrl?: string | null\n}\n\n/** `POST /v1/node-presets/reorder` body. */\nexport interface ReorderNodePresetsInput {\n groups?: Array<{ id: string; sortOrder: number }>\n /** `groupId` moves the preset into one of your groups (null = out of any group). */\n presets?: Array<{ id: string; groupId?: string | null; sortOrder: number }>\n}\n\n/** A favorite: a factory preset id (`\"generate-image/character-board\"`) or one of your preset ids. */\nexport interface NodePresetFavoriteInput {\n nodeType: string\n presetId: string\n}\n\n/** `POST /v1/node-preset-groups` body. */\nexport interface CreateNodePresetGroupInput {\n nodeType: string\n name: string\n /** A collapsible `\"folder\"` (default) or a flat `\"section\"` header. */\n kind?: \"folder\" | \"section\"\n sortOrder?: number\n}\n\n/** `PATCH /v1/node-preset-groups/:id` body. */\nexport interface UpdateNodePresetGroupInput {\n name?: string\n sortOrder?: number\n}\n\n/**\n * Node presets — reusable, named node configurations: your own presets and\n * folders, your favorites, and the built-in factory catalog.\n *\n * To *use* a preset, take its `data` and merge it into a node's config when you\n * create/update a workflow. `needsImage` / `minReferences` say how many photos\n * it works from; `previewUrl` is an example picture (null when there is none).\n *\n * The factory catalog (`listFactory`) is public: no token needed. Reads of\n * your own library need the `presets:read` scope for an OAuth app token;\n * writes (create, update, delete, import, reorder, favorites, groups) need\n * `assets:write`. Your own API key needs neither — but a key limited to some\n * workflows cannot reach your own presets (it reads the factory catalog as\n * anyone can).\n */\nexport class PresetsResource {\n constructor(private client: NodaroClientCore) {}\n\n /**\n * `GET /v1/node-presets` → your custom presets, newest first. Pass `nodeType`\n * (e.g. `\"generate-image\"`) to filter to one node type.\n */\n async list(nodeType?: string): Promise<NodePreset[]> {\n const qs = nodeType ? `?nodeType=${encodeURIComponent(nodeType)}` : \"\"\n const res = await this.client.request<{ data: NodePreset[] }>(\"GET\", `/v1/node-presets${qs}`)\n return res.data\n }\n\n /**\n * `GET /v1/node-preset-groups` → your preset folders/sections, in display\n * order. Pass `nodeType` to filter to one node type.\n */\n async listGroups(nodeType?: string): Promise<NodePresetGroup[]> {\n const qs = nodeType ? `?nodeType=${encodeURIComponent(nodeType)}` : \"\"\n const res = await this.client.request<{ data: NodePresetGroup[] }>(\"GET\", `/v1/node-preset-groups${qs}`)\n return res.data\n }\n\n /**\n * `GET /v1/node-presets/factory` → the built-in catalog for `nodeType`. These\n * ship with the app (no account needed to exist), so they're a good starting\n * point for \"what configs are available\".\n *\n * Login is optional: the catalog is public, so this works on a client with\n * no credential at all (`auth: { getToken: async () => null }`) — show the\n * names, example pictures (`previewUrl`) and photo counts (`minReferences`,\n * `needsImage`) to a visitor who is not signed in, and ask for a login only\n * when they generate. Your OWN presets (`list()`) still need a token.\n */\n listFactory(nodeType: string): Promise<FactoryPresetsResult> {\n return this.client.request<FactoryPresetsResult>(\n \"GET\",\n `/v1/node-presets/factory?nodeType=${encodeURIComponent(nodeType)}`,\n )\n }\n\n /**\n * `GET /v1/node-presets/factory/groups` → the built-in catalog's categories for\n * `nodeType`, in the order a picker shows them (shelf by shelf, then the\n * design's order, then catalog order): each group's name, its shelf, how many\n * presets it holds and its first example picture. A few KB where `listFactory()` is the\n * whole catalog: for a menu or a shelf that lists the categories. Public, as\n * `listFactory()` is: no credential needed.\n */\n async listFactoryGroups(nodeType: string): Promise<FactoryPresetGroupSummary[]> {\n const res = await this.client.request<{ data: FactoryPresetGroupSummary[] }>(\n \"GET\",\n `/v1/node-presets/factory/groups?nodeType=${encodeURIComponent(nodeType)}`,\n )\n return res.data\n }\n\n /** `POST /v1/node-presets` → the new preset. */\n async create(input: CreateNodePresetInput): Promise<NodePreset> {\n const res = await this.client.request<{ data: NodePreset }>(\"POST\", \"/v1/node-presets\", { body: input })\n return res.data\n }\n\n /**\n * `PATCH /v1/node-presets/:id` → the updated preset. Pass the `updatedAt` you\n * read as `expectedUpdatedAt` to refuse (409 `conflict`) a change made\n * elsewhere since.\n */\n async update(id: string, patch: UpdateNodePresetInput, opts: { expectedUpdatedAt?: string } = {}): Promise<NodePreset> {\n const body = opts.expectedUpdatedAt ? { ...patch, expectedUpdatedAt: opts.expectedUpdatedAt } : patch\n const res = await this.client.request<{ data: NodePreset }>(\"PATCH\", `/v1/node-presets/${encodeURIComponent(id)}`, { body })\n return res.data\n }\n\n /** `DELETE /v1/node-presets/:id` (404 when it is not yours). `expectedUpdatedAt` as on `update`. */\n async delete(id: string, opts: { expectedUpdatedAt?: string } = {}): Promise<{ success: true }> {\n const res = await this.client.request<{ data: { success: true } }>(\"DELETE\", `/v1/node-presets/${encodeURIComponent(id)}`, {\n query: { expectedUpdatedAt: opts.expectedUpdatedAt },\n })\n return res.data\n }\n\n /**\n * `POST /v1/node-presets/import` — up to 500 presets in one call. A name you\n * already use gets an \"(imported N)\" suffix; a preset whose data is empty\n * after stripping runtime keys is skipped.\n */\n async import(presets: ImportNodePresetInput[]): Promise<{ imported: number }> {\n const res = await this.client.request<{ data: { imported: number } }>(\"POST\", \"/v1/node-presets/import\", { body: { presets } })\n return res.data\n }\n\n /** `POST /v1/node-presets/reorder` — positions (and group membership) for many presets and groups at once. */\n async reorder(input: ReorderNodePresetsInput): Promise<{ ok: true }> {\n const res = await this.client.request<{ data: { ok: true } }>(\"POST\", \"/v1/node-presets/reorder\", { body: input })\n return res.data\n }\n\n /** `GET /v1/node-presets/favorites` → your favorite preset ids for `nodeType`, newest first. */\n async favorites(nodeType: string): Promise<string[]> {\n const res = await this.client.request<{ data: string[] }>(\"GET\", \"/v1/node-presets/favorites\", { query: { nodeType } })\n return res.data\n }\n\n /** `POST /v1/node-presets/favorites` — idempotent. */\n async addFavorite(input: NodePresetFavoriteInput): Promise<{ success: true }> {\n const res = await this.client.request<{ data: { success: true } }>(\"POST\", \"/v1/node-presets/favorites\", { body: input })\n return res.data\n }\n\n /** `DELETE /v1/node-presets/favorites` — idempotent. */\n async removeFavorite(input: NodePresetFavoriteInput): Promise<{ success: true }> {\n const res = await this.client.request<{ data: { success: true } }>(\"DELETE\", \"/v1/node-presets/favorites\", {\n query: { nodeType: input.nodeType, presetId: input.presetId },\n })\n return res.data\n }\n\n /** `POST /v1/node-preset-groups` → the new folder or section. */\n async createGroup(input: CreateNodePresetGroupInput): Promise<NodePresetGroup> {\n const res = await this.client.request<{ data: NodePresetGroup }>(\"POST\", \"/v1/node-preset-groups\", { body: input })\n return res.data\n }\n\n /** `PATCH /v1/node-preset-groups/:id` → the renamed or moved group. */\n async updateGroup(id: string, patch: UpdateNodePresetGroupInput): Promise<NodePresetGroup> {\n const res = await this.client.request<{ data: NodePresetGroup }>(\"PATCH\", `/v1/node-preset-groups/${encodeURIComponent(id)}`, {\n body: patch,\n })\n return res.data\n }\n\n /** `DELETE /v1/node-preset-groups/:id` — its presets move out of the group; none are deleted. */\n async deleteGroup(id: string): Promise<{ success: true }> {\n const res = await this.client.request<{ data: { success: true } }>(\"DELETE\", `/v1/node-preset-groups/${encodeURIComponent(id)}`)\n return res.data\n }\n}\n"]}
|