@nodaro/sdk 2.66.0 → 2.67.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.
Files changed (134) hide show
  1. package/dist/{chunk-GQU5FXYB.js → chunk-36BRX3LU.js} +4 -4
  2. package/dist/{chunk-GQU5FXYB.js.map → chunk-36BRX3LU.js.map} +1 -1
  3. package/dist/{chunk-PHBOLYRT.cjs → chunk-3G65RIZS.cjs} +4 -4
  4. package/dist/{chunk-PHBOLYRT.cjs.map → chunk-3G65RIZS.cjs.map} +1 -1
  5. package/dist/{chunk-QHCVKMSF.cjs → chunk-4AD3CBDK.cjs} +13 -11
  6. package/dist/chunk-4AD3CBDK.cjs.map +1 -0
  7. package/dist/{chunk-JOXZ4ZIF.cjs → chunk-7BMKQ36V.cjs} +2 -2
  8. package/dist/{chunk-JOXZ4ZIF.cjs.map → chunk-7BMKQ36V.cjs.map} +1 -1
  9. package/dist/{chunk-MOGPM5RM.cjs → chunk-AFIFBKCI.cjs} +24 -24
  10. package/dist/{chunk-MOGPM5RM.cjs.map → chunk-AFIFBKCI.cjs.map} +1 -1
  11. package/dist/{chunk-KAYCRIMA.cjs → chunk-BETFYVOR.cjs} +5 -5
  12. package/dist/{chunk-KAYCRIMA.cjs.map → chunk-BETFYVOR.cjs.map} +1 -1
  13. package/dist/{chunk-EBQXAOHW.js → chunk-CCXY4ZJM.js} +3 -3
  14. package/dist/{chunk-EBQXAOHW.js.map → chunk-CCXY4ZJM.js.map} +1 -1
  15. package/dist/{chunk-WSMZ3AAU.cjs → chunk-CLBLAWH3.cjs} +21 -11
  16. package/dist/chunk-CLBLAWH3.cjs.map +1 -0
  17. package/dist/{chunk-E37CVHWW.js → chunk-CNST37UF.js} +2 -2
  18. package/dist/chunk-CNST37UF.js.map +1 -0
  19. package/dist/{chunk-6T54F65Q.cjs → chunk-D3F2BWD6.cjs} +2 -2
  20. package/dist/{chunk-6T54F65Q.cjs.map → chunk-D3F2BWD6.cjs.map} +1 -1
  21. package/dist/{chunk-DQQRFBWY.cjs → chunk-EJJIA765.cjs} +5 -5
  22. package/dist/{chunk-DQQRFBWY.cjs.map → chunk-EJJIA765.cjs.map} +1 -1
  23. package/dist/{chunk-CSIPRLX3.js → chunk-FFT2YPB4.js} +3 -3
  24. package/dist/{chunk-CSIPRLX3.js.map → chunk-FFT2YPB4.js.map} +1 -1
  25. package/dist/{chunk-UBZ2XVHM.cjs → chunk-G54ORDSI.cjs} +5 -5
  26. package/dist/{chunk-UBZ2XVHM.cjs.map → chunk-G54ORDSI.cjs.map} +1 -1
  27. package/dist/{chunk-HFDTOEAL.cjs → chunk-H7Q7D4CT.cjs} +2 -2
  28. package/dist/chunk-H7Q7D4CT.cjs.map +1 -0
  29. package/dist/{chunk-RPV4QBHS.cjs → chunk-HY45ZOKW.cjs} +2 -2
  30. package/dist/chunk-HY45ZOKW.cjs.map +1 -0
  31. package/dist/{chunk-SNPDM72K.js → chunk-IJAJTVEW.js} +13 -11
  32. package/dist/chunk-IJAJTVEW.js.map +1 -0
  33. package/dist/{chunk-SS3B6PHT.cjs → chunk-ITQB5ADE.cjs} +2 -2
  34. package/dist/chunk-ITQB5ADE.cjs.map +1 -0
  35. package/dist/{chunk-LR5TGCJP.js → chunk-J3Y56MYU.js} +2 -2
  36. package/dist/chunk-J3Y56MYU.js.map +1 -0
  37. package/dist/{chunk-LTRJNCXB.js → chunk-MHJX4GJS.js} +13 -13
  38. package/dist/{chunk-LTRJNCXB.js.map → chunk-MHJX4GJS.js.map} +1 -1
  39. package/dist/{chunk-KNNSGWHO.js → chunk-NN3BPOUZ.js} +2 -2
  40. package/dist/chunk-NN3BPOUZ.js.map +1 -0
  41. package/dist/{chunk-7LODCIQK.js → chunk-OJHJBNJZ.js} +2 -2
  42. package/dist/{chunk-7LODCIQK.js.map → chunk-OJHJBNJZ.js.map} +1 -1
  43. package/dist/{chunk-KEZMNVN3.js → chunk-RBUISD4V.js} +3 -3
  44. package/dist/{chunk-KEZMNVN3.js.map → chunk-RBUISD4V.js.map} +1 -1
  45. package/dist/{chunk-UIDVH3GP.cjs → chunk-REXFEDKI.cjs} +2 -2
  46. package/dist/chunk-REXFEDKI.cjs.map +1 -0
  47. package/dist/{chunk-JC66EEFI.js → chunk-SZ67PDKE.js} +3 -3
  48. package/dist/{chunk-JC66EEFI.js.map → chunk-SZ67PDKE.js.map} +1 -1
  49. package/dist/{chunk-HADYBDBT.js → chunk-T6CKK47P.js} +2 -2
  50. package/dist/chunk-T6CKK47P.js.map +1 -0
  51. package/dist/{chunk-O6LQV6BD.cjs → chunk-TQLOD7OL.cjs} +4 -4
  52. package/dist/{chunk-O6LQV6BD.cjs.map → chunk-TQLOD7OL.cjs.map} +1 -1
  53. package/dist/{chunk-MYUJEVP6.js → chunk-VGY3WBNY.js} +15 -5
  54. package/dist/chunk-VGY3WBNY.js.map +1 -0
  55. package/dist/chunk-WFFVCGNU.js +3 -0
  56. package/dist/{chunk-UKB64254.js.map → chunk-WFFVCGNU.js.map} +1 -1
  57. package/dist/{chunk-EWVQFW5L.cjs → chunk-XRYSHC2O.cjs} +22 -22
  58. package/dist/{chunk-EWVQFW5L.cjs.map → chunk-XRYSHC2O.cjs.map} +1 -1
  59. package/dist/{chunk-Q6HMDIC4.js → chunk-YE6X5BQ2.js} +3 -3
  60. package/dist/{chunk-Q6HMDIC4.js.map → chunk-YE6X5BQ2.js.map} +1 -1
  61. package/dist/entries/apps.cjs +2 -2
  62. package/dist/entries/apps.d.cts +2 -1
  63. package/dist/entries/apps.d.ts +2 -1
  64. package/dist/entries/apps.js +1 -1
  65. package/dist/entries/characters.d.cts +1 -1
  66. package/dist/entries/characters.d.ts +1 -1
  67. package/dist/entries/client.cjs +19 -19
  68. package/dist/entries/client.d.cts +1 -1
  69. package/dist/entries/client.d.ts +1 -1
  70. package/dist/entries/client.js +14 -14
  71. package/dist/entries/copilot.cjs +4 -4
  72. package/dist/entries/copilot.js +3 -3
  73. package/dist/entries/core.cjs +6 -6
  74. package/dist/entries/core.js +2 -2
  75. package/dist/entries/creatures.d.cts +1 -1
  76. package/dist/entries/creatures.d.ts +1 -1
  77. package/dist/entries/edit.cjs +9 -9
  78. package/dist/entries/edit.d.cts +41 -6
  79. package/dist/entries/edit.d.ts +41 -6
  80. package/dist/entries/edit.js +3 -3
  81. package/dist/entries/errors.cjs +28 -28
  82. package/dist/entries/errors.d.cts +5 -3
  83. package/dist/entries/errors.d.ts +5 -3
  84. package/dist/entries/errors.js +1 -1
  85. package/dist/entries/llm.cjs +2 -2
  86. package/dist/entries/llm.d.cts +1 -1
  87. package/dist/entries/llm.d.ts +1 -1
  88. package/dist/entries/llm.js +1 -1
  89. package/dist/entries/locations.d.cts +1 -1
  90. package/dist/entries/locations.d.ts +1 -1
  91. package/dist/entries/media.cjs +4 -4
  92. package/dist/entries/media.js +3 -3
  93. package/dist/entries/models.cjs +2 -2
  94. package/dist/entries/models.d.cts +30 -0
  95. package/dist/entries/models.d.ts +30 -0
  96. package/dist/entries/models.js +1 -1
  97. package/dist/entries/nodes.cjs +3 -3
  98. package/dist/entries/nodes.d.cts +1 -1
  99. package/dist/entries/nodes.d.ts +1 -1
  100. package/dist/entries/nodes.js +2 -2
  101. package/dist/entries/objects.d.cts +1 -1
  102. package/dist/entries/objects.d.ts +1 -1
  103. package/dist/entries/scene3d.d.cts +2 -2
  104. package/dist/entries/scene3d.d.ts +2 -2
  105. package/dist/entries/studio.cjs +5 -5
  106. package/dist/entries/studio.js +2 -2
  107. package/dist/entries/surface.cjs +2 -2
  108. package/dist/entries/surface.d.cts +8 -1
  109. package/dist/entries/surface.d.ts +8 -1
  110. package/dist/entries/surface.js +1 -1
  111. package/dist/entries/user-settings.cjs +2 -2
  112. package/dist/entries/user-settings.d.cts +31 -4
  113. package/dist/entries/user-settings.d.ts +31 -4
  114. package/dist/entries/user-settings.js +1 -1
  115. package/dist/index.cjs +65 -65
  116. package/dist/index.d.cts +3 -3
  117. package/dist/index.d.ts +3 -3
  118. package/dist/index.js +15 -15
  119. package/dist/{nodes-C9O2tdGH.d.ts → nodes-CBWTkR37.d.ts} +1 -1
  120. package/dist/{nodes-WkaQjuwS.d.cts → nodes-YwzFHsJH.d.cts} +1 -1
  121. package/package.json +3 -3
  122. package/dist/chunk-E37CVHWW.js.map +0 -1
  123. package/dist/chunk-HADYBDBT.js.map +0 -1
  124. package/dist/chunk-HFDTOEAL.cjs.map +0 -1
  125. package/dist/chunk-KNNSGWHO.js.map +0 -1
  126. package/dist/chunk-LR5TGCJP.js.map +0 -1
  127. package/dist/chunk-MYUJEVP6.js.map +0 -1
  128. package/dist/chunk-QHCVKMSF.cjs.map +0 -1
  129. package/dist/chunk-RPV4QBHS.cjs.map +0 -1
  130. package/dist/chunk-SNPDM72K.js.map +0 -1
  131. package/dist/chunk-SS3B6PHT.cjs.map +0 -1
  132. package/dist/chunk-UIDVH3GP.cjs.map +0 -1
  133. package/dist/chunk-UKB64254.js +0 -3
  134. package/dist/chunk-WSMZ3AAU.cjs.map +0 -1
@@ -46,10 +46,40 @@ interface ModelSummary {
46
46
  features?: string[];
47
47
  aspectRatios?: string[];
48
48
  resolutions?: string[];
49
+ /**
50
+ * The aspect ratios at which the model renders fewer sizes than
51
+ * `resolutions`, each with the sizes it renders there, in the spelling of
52
+ * `resolutions` — e.g. GPT Image 2.5 `{ "27:16": ["1K"], "16:27": ["1K"],
53
+ * "9:8": ["1K"], "8:9": ["1K"] }`. A ratio not listed renders every entry of
54
+ * `resolutions`. Absent when every ratio renders every size (and on an
55
+ * older server). A request for a size its ratio does not render runs, and
56
+ * is charged, at the largest size the ratio renders at or below it; the
57
+ * response's `adjustments` say so. A size menu offers, at the chosen ratio,
58
+ * `resolutionsByAspectRatio?.[ratio] ?? resolutions`.
59
+ */
60
+ resolutionsByAspectRatio?: Record<string, string[]>;
49
61
  qualities?: string[];
50
62
  /** The image background settings the model takes (`auto`, `opaque`, `transparent`). */
51
63
  backgrounds?: string[];
64
+ /**
65
+ * The one size a transparent background renders at, where the model limits
66
+ * it (`"1K"` on GPT Image 2.5, and 2.6 Flare and Sunburst). A transparent
67
+ * request at another size runs, and is charged, at this one. Absent when
68
+ * the model sets no such limit (and on an older server).
69
+ */
70
+ transparentResolution?: string;
71
+ /**
72
+ * `true` when the model takes a background setting only at
73
+ * `transparentResolution` (GPT Image 2.5): at any other size the setting is
74
+ * not sent, so `opaque` there renders as `auto`. Absent otherwise.
75
+ */
76
+ backgroundOnlyAtTransparentResolution?: true;
52
77
  durations?: number[];
78
+ /** The length (seconds) a request that names no `duration` renders and is
79
+ * charged at, where the model has one. */
80
+ defaultDuration?: number;
81
+ /** `true` when the model accepts `duration: -1`: it picks the length itself. */
82
+ autoDuration?: true;
53
83
  /** Compact per-model prompting tips (present when a doctrine exists). */
54
84
  promptTips?: string[];
55
85
  /** TRUE only when a sourced per-family prompt doctrine exists for this
@@ -1,4 +1,4 @@
1
1
  import '../chunk-OMH7ATOQ.js';
2
- export { ModelsResource } from '../chunk-KNNSGWHO.js';
2
+ export { ModelsResource } from '../chunk-NN3BPOUZ.js';
3
3
  //# sourceMappingURL=models.js.map
4
4
  //# sourceMappingURL=models.js.map
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var chunk7CK6I4CT_cjs = require('../chunk-7CK6I4CT.cjs');
4
- var chunkEWVQFW5L_cjs = require('../chunk-EWVQFW5L.cjs');
5
- require('../chunk-QHCVKMSF.cjs');
4
+ var chunkXRYSHC2O_cjs = require('../chunk-XRYSHC2O.cjs');
5
+ require('../chunk-4AD3CBDK.cjs');
6
6
 
7
7
 
8
8
 
@@ -16,7 +16,7 @@ Object.defineProperty(exports, "PROMPT_SUFFIX_KEY", {
16
16
  });
17
17
  Object.defineProperty(exports, "NodesResource", {
18
18
  enumerable: true,
19
- get: function () { return chunkEWVQFW5L_cjs.NodesResource; }
19
+ get: function () { return chunkXRYSHC2O_cjs.NodesResource; }
20
20
  });
21
21
  //# sourceMappingURL=nodes.cjs.map
22
22
  //# sourceMappingURL=nodes.cjs.map
@@ -4,7 +4,7 @@ export { GeminiOmniVoicePresetId, ImageAspectRatio, ImageEditProvider, ImageEdit
4
4
  export { PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY, PromptAffixFields } from '@nodaro/shared/nodes';
5
5
  export { SocialPlatform, SocialPost, SocialPostAuthor, SocialPostMedia, SocialPostMetrics, SocialSearchCount, SocialSearchMode, SocialSearchParams, SocialSearchPeriod, SocialSearchSort, SocialSearchVideoKind } from '@nodaro/shared/social';
6
6
  export { GenerateMaskOutput, GenerateMaskRequest, VideoDepthColormap, VideoDepthModelSize, VideoDepthProvider, VideoDepthResolution } from '@nodaro/shared/media';
7
- export { A as AssembleNarratedVideoParams, B as BatchJobOutcome, E as EditImageCommonParams, a as EditImageFromTaskParams, b as EditImageFromUrlParams, c as EditImageParams, G as GenerateImageBatchGroup, e as GenerateImageBatchOutput, f as GenerateImageBatchResult, g as GenerateImageParams, h as GenerateMaskJobOutput, i as GenerateMaskParams, k as GenerateVideoParams, l as GenerationSessionParams, I as ImageJobStarted, m as ImageToImageParams, J as JobOutputImage, N as NodeCategory, n as NodeCreditRate, o as NodeDescriptor, p as NodeInputField, q as NodeInputSchema, r as NodeJobOutput, s as NodeQuote, t as NodesResource, O as OutputType, Q as QuoteAdjustment, y as QuoteWarning, R as ReferenceCaptionParams, F as RunAndWaitOptions, H as RunManyResult, K as RunNodeAdjustment, L as RunNodeOptions, M as RunNodeResult, S as RunNodeWarning, _ as SocialSearchJobOutput, $ as SplitImageParams, a0 as SplitImageResult, a1 as SplitImageTile, a2 as StructuredReferenceParams, a3 as Subject, a4 as TextToSpeechParams, a5 as TextToVideoParams, a6 as VideoDepthParams, a7 as VideoToVideoParams, a8 as VideoUpscaleParams } from '../nodes-WkaQjuwS.cjs';
7
+ export { A as AssembleNarratedVideoParams, B as BatchJobOutcome, E as EditImageCommonParams, a as EditImageFromTaskParams, b as EditImageFromUrlParams, c as EditImageParams, G as GenerateImageBatchGroup, e as GenerateImageBatchOutput, f as GenerateImageBatchResult, g as GenerateImageParams, h as GenerateMaskJobOutput, i as GenerateMaskParams, k as GenerateVideoParams, l as GenerationSessionParams, I as ImageJobStarted, m as ImageToImageParams, J as JobOutputImage, N as NodeCategory, n as NodeCreditRate, o as NodeDescriptor, p as NodeInputField, q as NodeInputSchema, r as NodeJobOutput, s as NodeQuote, t as NodesResource, O as OutputType, Q as QuoteAdjustment, y as QuoteWarning, R as ReferenceCaptionParams, F as RunAndWaitOptions, H as RunManyResult, K as RunNodeAdjustment, L as RunNodeOptions, M as RunNodeResult, S as RunNodeWarning, _ as SocialSearchJobOutput, $ as SplitImageParams, a0 as SplitImageResult, a1 as SplitImageTile, a2 as StructuredReferenceParams, a3 as Subject, a4 as TextToSpeechParams, a5 as TextToVideoParams, a6 as VideoDepthParams, a7 as VideoToVideoParams, a8 as VideoUpscaleParams } from '../nodes-YwzFHsJH.cjs';
8
8
  export { TopazUpscaleFactor } from '@nodaro/shared/credits';
9
9
  export { ImageToImageAttachColumn } from '@nodaro/shared/entities';
10
10
  import '@nodaro/shared/scene3d';
@@ -4,7 +4,7 @@ export { GeminiOmniVoicePresetId, ImageAspectRatio, ImageEditProvider, ImageEdit
4
4
  export { PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY, PromptAffixFields } from '@nodaro/shared/nodes';
5
5
  export { SocialPlatform, SocialPost, SocialPostAuthor, SocialPostMedia, SocialPostMetrics, SocialSearchCount, SocialSearchMode, SocialSearchParams, SocialSearchPeriod, SocialSearchSort, SocialSearchVideoKind } from '@nodaro/shared/social';
6
6
  export { GenerateMaskOutput, GenerateMaskRequest, VideoDepthColormap, VideoDepthModelSize, VideoDepthProvider, VideoDepthResolution } from '@nodaro/shared/media';
7
- export { A as AssembleNarratedVideoParams, B as BatchJobOutcome, E as EditImageCommonParams, a as EditImageFromTaskParams, b as EditImageFromUrlParams, c as EditImageParams, G as GenerateImageBatchGroup, e as GenerateImageBatchOutput, f as GenerateImageBatchResult, g as GenerateImageParams, h as GenerateMaskJobOutput, i as GenerateMaskParams, k as GenerateVideoParams, l as GenerationSessionParams, I as ImageJobStarted, m as ImageToImageParams, J as JobOutputImage, N as NodeCategory, n as NodeCreditRate, o as NodeDescriptor, p as NodeInputField, q as NodeInputSchema, r as NodeJobOutput, s as NodeQuote, t as NodesResource, O as OutputType, Q as QuoteAdjustment, y as QuoteWarning, R as ReferenceCaptionParams, F as RunAndWaitOptions, H as RunManyResult, K as RunNodeAdjustment, L as RunNodeOptions, M as RunNodeResult, S as RunNodeWarning, _ as SocialSearchJobOutput, $ as SplitImageParams, a0 as SplitImageResult, a1 as SplitImageTile, a2 as StructuredReferenceParams, a3 as Subject, a4 as TextToSpeechParams, a5 as TextToVideoParams, a6 as VideoDepthParams, a7 as VideoToVideoParams, a8 as VideoUpscaleParams } from '../nodes-C9O2tdGH.js';
7
+ export { A as AssembleNarratedVideoParams, B as BatchJobOutcome, E as EditImageCommonParams, a as EditImageFromTaskParams, b as EditImageFromUrlParams, c as EditImageParams, G as GenerateImageBatchGroup, e as GenerateImageBatchOutput, f as GenerateImageBatchResult, g as GenerateImageParams, h as GenerateMaskJobOutput, i as GenerateMaskParams, k as GenerateVideoParams, l as GenerationSessionParams, I as ImageJobStarted, m as ImageToImageParams, J as JobOutputImage, N as NodeCategory, n as NodeCreditRate, o as NodeDescriptor, p as NodeInputField, q as NodeInputSchema, r as NodeJobOutput, s as NodeQuote, t as NodesResource, O as OutputType, Q as QuoteAdjustment, y as QuoteWarning, R as ReferenceCaptionParams, F as RunAndWaitOptions, H as RunManyResult, K as RunNodeAdjustment, L as RunNodeOptions, M as RunNodeResult, S as RunNodeWarning, _ as SocialSearchJobOutput, $ as SplitImageParams, a0 as SplitImageResult, a1 as SplitImageTile, a2 as StructuredReferenceParams, a3 as Subject, a4 as TextToSpeechParams, a5 as TextToVideoParams, a6 as VideoDepthParams, a7 as VideoToVideoParams, a8 as VideoUpscaleParams } from '../nodes-CBWTkR37.js';
8
8
  export { TopazUpscaleFactor } from '@nodaro/shared/credits';
9
9
  export { ImageToImageAttachColumn } from '@nodaro/shared/entities';
10
10
  import '@nodaro/shared/scene3d';
@@ -1,5 +1,5 @@
1
1
  export { PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY } from '../chunk-ZYPH2FPT.js';
2
- export { NodesResource } from '../chunk-KEZMNVN3.js';
3
- import '../chunk-SNPDM72K.js';
2
+ export { NodesResource } from '../chunk-RBUISD4V.js';
3
+ import '../chunk-IJAJTVEW.js';
4
4
  //# sourceMappingURL=nodes.js.map
5
5
  //# sourceMappingURL=nodes.js.map
@@ -2,7 +2,7 @@ import { ObjectAssetType, ObjectAttachColumn, ObjectAspectRatio } from '@nodaro/
2
2
  export { OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ATTACH_COLUMNS, ObjectAspectRatio, ObjectAssetType, ObjectAttachColumn } from '@nodaro/shared/entities';
3
3
  import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.cjs';
4
4
  import { SetKeeperCatalogInput, SetKeeperCatalogResult } from './keepers.cjs';
5
- import { l as GenerationSessionParams } from '../nodes-WkaQjuwS.cjs';
5
+ import { l as GenerationSessionParams } from '../nodes-YwzFHsJH.cjs';
6
6
  import '@nodaro/shared/apps';
7
7
  import '@nodaro/shared/organizations';
8
8
  import '@nodaro/shared/types';
@@ -2,7 +2,7 @@ import { ObjectAssetType, ObjectAttachColumn, ObjectAspectRatio } from '@nodaro/
2
2
  export { OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ATTACH_COLUMNS, ObjectAspectRatio, ObjectAssetType, ObjectAttachColumn } from '@nodaro/shared/entities';
3
3
  import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.js';
4
4
  import { SetKeeperCatalogInput, SetKeeperCatalogResult } from './keepers.js';
5
- import { l as GenerationSessionParams } from '../nodes-C9O2tdGH.js';
5
+ import { l as GenerationSessionParams } from '../nodes-CBWTkR37.js';
6
6
  import '@nodaro/shared/apps';
7
7
  import '@nodaro/shared/organizations';
8
8
  import '@nodaro/shared/types';
@@ -1,5 +1,5 @@
1
- import { t as NodesResource, V as Scene3DCapabilities, W as Scene3DDelivery, X as Scene3DDeliveryAsset, C as RetainedScene3DEditParams, D as RetainedScene3DEditResult, j as GenerateScene3DParams, M as RunNodeResult, F as RunAndWaitOptions, Z as Scene3DJobOutput, d as EditScene3DParams, u as Pro3DRenderParams, v as Pro3DRenderQuote, x as Pro3DRenderRunParams, w as Pro3DRenderRunOptions, P as Pro3DRenderJobOutput, z as RenderScene3DParams, r as NodeJobOutput } from '../nodes-WkaQjuwS.cjs';
2
- export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-WkaQjuwS.cjs';
1
+ import { t as NodesResource, V as Scene3DCapabilities, W as Scene3DDelivery, X as Scene3DDeliveryAsset, C as RetainedScene3DEditParams, D as RetainedScene3DEditResult, j as GenerateScene3DParams, M as RunNodeResult, F as RunAndWaitOptions, Z as Scene3DJobOutput, d as EditScene3DParams, u as Pro3DRenderParams, v as Pro3DRenderQuote, x as Pro3DRenderRunParams, w as Pro3DRenderRunOptions, P as Pro3DRenderJobOutput, z as RenderScene3DParams, r as NodeJobOutput } from '../nodes-YwzFHsJH.cjs';
2
+ export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-YwzFHsJH.cjs';
3
3
  import { Scene3DAssetRef } from '@nodaro/shared/scene3d';
4
4
  import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.cjs';
5
5
  import '@nodaro/shared/types';
@@ -1,5 +1,5 @@
1
- import { t as NodesResource, V as Scene3DCapabilities, W as Scene3DDelivery, X as Scene3DDeliveryAsset, C as RetainedScene3DEditParams, D as RetainedScene3DEditResult, j as GenerateScene3DParams, M as RunNodeResult, F as RunAndWaitOptions, Z as Scene3DJobOutput, d as EditScene3DParams, u as Pro3DRenderParams, v as Pro3DRenderQuote, x as Pro3DRenderRunParams, w as Pro3DRenderRunOptions, P as Pro3DRenderJobOutput, z as RenderScene3DParams, r as NodeJobOutput } from '../nodes-C9O2tdGH.js';
2
- export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-C9O2tdGH.js';
1
+ import { t as NodesResource, V as Scene3DCapabilities, W as Scene3DDelivery, X as Scene3DDeliveryAsset, C as RetainedScene3DEditParams, D as RetainedScene3DEditResult, j as GenerateScene3DParams, M as RunNodeResult, F as RunAndWaitOptions, Z as Scene3DJobOutput, d as EditScene3DParams, u as Pro3DRenderParams, v as Pro3DRenderQuote, x as Pro3DRenderRunParams, w as Pro3DRenderRunOptions, P as Pro3DRenderJobOutput, z as RenderScene3DParams, r as NodeJobOutput } from '../nodes-CBWTkR37.js';
2
+ export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-CBWTkR37.js';
3
3
  import { Scene3DAssetRef } from '@nodaro/shared/scene3d';
4
4
  import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.js';
5
5
  import '@nodaro/shared/types';
@@ -1,22 +1,22 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-ZJGFLJ2Z.cjs');
4
- var chunkKAYCRIMA_cjs = require('../chunk-KAYCRIMA.cjs');
5
- require('../chunk-QHCVKMSF.cjs');
4
+ var chunkBETFYVOR_cjs = require('../chunk-BETFYVOR.cjs');
5
+ require('../chunk-4AD3CBDK.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "StudioProductionsResource", {
10
10
  enumerable: true,
11
- get: function () { return chunkKAYCRIMA_cjs.StudioProductionsResource; }
11
+ get: function () { return chunkBETFYVOR_cjs.StudioProductionsResource; }
12
12
  });
13
13
  Object.defineProperty(exports, "StudioResource", {
14
14
  enumerable: true,
15
- get: function () { return chunkKAYCRIMA_cjs.StudioResource; }
15
+ get: function () { return chunkBETFYVOR_cjs.StudioResource; }
16
16
  });
17
17
  Object.defineProperty(exports, "isStudioGenerateEstimate", {
18
18
  enumerable: true,
19
- get: function () { return chunkKAYCRIMA_cjs.isStudioGenerateEstimate; }
19
+ get: function () { return chunkBETFYVOR_cjs.isStudioGenerateEstimate; }
20
20
  });
21
21
  //# sourceMappingURL=studio.cjs.map
22
22
  //# sourceMappingURL=studio.cjs.map
@@ -1,5 +1,5 @@
1
1
  import '../chunk-PMTM26LL.js';
2
- export { StudioProductionsResource, StudioResource, isStudioGenerateEstimate } from '../chunk-Q6HMDIC4.js';
3
- import '../chunk-SNPDM72K.js';
2
+ export { StudioProductionsResource, StudioResource, isStudioGenerateEstimate } from '../chunk-YE6X5BQ2.js';
3
+ import '../chunk-IJAJTVEW.js';
4
4
  //# sourceMappingURL=studio.js.map
5
5
  //# sourceMappingURL=studio.js.map
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-N4FKPJ7J.cjs');
4
- var chunkHFDTOEAL_cjs = require('../chunk-HFDTOEAL.cjs');
4
+ var chunkH7Q7D4CT_cjs = require('../chunk-H7Q7D4CT.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "SurfaceResource", {
9
9
  enumerable: true,
10
- get: function () { return chunkHFDTOEAL_cjs.SurfaceResource; }
10
+ get: function () { return chunkH7Q7D4CT_cjs.SurfaceResource; }
11
11
  });
12
12
  //# sourceMappingURL=surface.cjs.map
13
13
  //# sourceMappingURL=surface.cjs.map
@@ -21,9 +21,16 @@ interface SurfaceAvailability {
21
21
  denied: string[];
22
22
  hiddenFromUsers: string[];
23
23
  };
24
- /** Model ids nobody on this deployment is offered. */
24
+ /**
25
+ * `denied`: model ids nobody on this deployment is offered. `restricted`: whether the
26
+ * deployment restricts models (a profile `models.allow` / `models.deny`, or an Admin →
27
+ * Availability models override that leaves a model off). A model an admin switched off
28
+ * is denied without being a restriction. Absent from a server that predates it: read
29
+ * that as `false`.
30
+ */
25
31
  models: {
26
32
  denied: string[];
33
+ restricted?: boolean;
27
34
  };
28
35
  /** Web Scrape sources withdrawn with the node that governs them (Instagram follows the Instagram node). */
29
36
  webScrapeSources: {
@@ -21,9 +21,16 @@ interface SurfaceAvailability {
21
21
  denied: string[];
22
22
  hiddenFromUsers: string[];
23
23
  };
24
- /** Model ids nobody on this deployment is offered. */
24
+ /**
25
+ * `denied`: model ids nobody on this deployment is offered. `restricted`: whether the
26
+ * deployment restricts models (a profile `models.allow` / `models.deny`, or an Admin →
27
+ * Availability models override that leaves a model off). A model an admin switched off
28
+ * is denied without being a restriction. Absent from a server that predates it: read
29
+ * that as `false`.
30
+ */
25
31
  models: {
26
32
  denied: string[];
33
+ restricted?: boolean;
27
34
  };
28
35
  /** Web Scrape sources withdrawn with the node that governs them (Instagram follows the Instagram node). */
29
36
  webScrapeSources: {
@@ -1,4 +1,4 @@
1
1
  import '../chunk-RQ6GE7KG.js';
2
- export { SurfaceResource } from '../chunk-HADYBDBT.js';
2
+ export { SurfaceResource } from '../chunk-T6CKK47P.js';
3
3
  //# sourceMappingURL=surface.js.map
4
4
  //# sourceMappingURL=surface.js.map
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-ISKOLJJJ.cjs');
4
- var chunkUIDVH3GP_cjs = require('../chunk-UIDVH3GP.cjs');
4
+ var chunkREXFEDKI_cjs = require('../chunk-REXFEDKI.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "UserSettingsResource", {
9
9
  enumerable: true,
10
- get: function () { return chunkUIDVH3GP_cjs.UserSettingsResource; }
10
+ get: function () { return chunkREXFEDKI_cjs.UserSettingsResource; }
11
11
  });
12
12
  //# sourceMappingURL=user-settings.cjs.map
13
13
  //# sourceMappingURL=user-settings.cjs.map
@@ -30,7 +30,7 @@ interface UserTextTemplate {
30
30
  fansOut?: boolean;
31
31
  requiresImageRef?: boolean;
32
32
  }
33
- /** Per-user MCP defaults, sparse: a key left out keeps its stored value. */
33
+ /** Per-user MCP defaults as stored, sparse: a default never saved is absent. */
34
34
  interface UserMcpPreferences {
35
35
  image?: {
36
36
  model?: string;
@@ -52,6 +52,32 @@ interface UserMcpPreferences {
52
52
  enabled?: boolean;
53
53
  };
54
54
  }
55
+ /**
56
+ * A change to the MCP defaults (`update({ mcpPreferences })`), merged one axis
57
+ * at a time: a key left out keeps its stored value, a value replaces it, and
58
+ * `null` clears it, so the tool's own default applies again.
59
+ */
60
+ interface UserMcpPreferencesPatch {
61
+ image?: {
62
+ model?: string | null;
63
+ aspectRatio?: string | null;
64
+ resolution?: string | null;
65
+ quality?: string | null;
66
+ };
67
+ video?: {
68
+ model?: string | null;
69
+ aspectRatio?: string | null;
70
+ duration?: number | null;
71
+ resolution?: string | null;
72
+ };
73
+ audio?: {
74
+ ttsModel?: string | null;
75
+ musicModel?: string | null;
76
+ };
77
+ flows?: {
78
+ enabled?: boolean | null;
79
+ };
80
+ }
55
81
  interface UserSettings {
56
82
  /** The stored billing tier (`"free"`, `"basic"`, …). */
57
83
  tier: string | null;
@@ -75,7 +101,8 @@ interface UserSettings {
75
101
  * What `update()` sends: only the fields to change. `promptTemplates` and
76
102
  * `textTemplates` REPLACE the stored value whole (send the full map or list;
77
103
  * a template key the server does not know, or a value equal to the default,
78
- * is dropped); `mcpPreferences` merges one axis at a time.
104
+ * is dropped); `mcpPreferences` merges one axis at a time, and `null` clears a
105
+ * field of it.
79
106
  */
80
107
  interface UserSettingsPatch {
81
108
  /** `false` needs the Standard plan or above on Nodaro Cloud (`ForbiddenError` otherwise). */
@@ -84,7 +111,7 @@ interface UserSettingsPatch {
84
111
  /** Up to 100. */
85
112
  textTemplates?: UserTextTemplate[];
86
113
  preferredLocale?: UserSettingsLocale | null;
87
- mcpPreferences?: UserMcpPreferences;
114
+ mcpPreferences?: UserMcpPreferencesPatch;
88
115
  showRecentNodes?: boolean;
89
116
  showMostUsedNodes?: boolean;
90
117
  variableDisplayMode?: VariableDisplayMode;
@@ -112,4 +139,4 @@ declare class UserSettingsResource {
112
139
  update(patch: UserSettingsPatch): Promise<UserSettingsSaved>;
113
140
  }
114
141
 
115
- export { type NodeDoubleClickAction, type UserMcpPreferences, type UserSettings, type UserSettingsLocale, type UserSettingsPatch, UserSettingsResource, type UserSettingsSaved, type UserTextTemplate, type VariableDisplayMode };
142
+ export { type NodeDoubleClickAction, type UserMcpPreferences, type UserMcpPreferencesPatch, type UserSettings, type UserSettingsLocale, type UserSettingsPatch, UserSettingsResource, type UserSettingsSaved, type UserTextTemplate, type VariableDisplayMode };
@@ -30,7 +30,7 @@ interface UserTextTemplate {
30
30
  fansOut?: boolean;
31
31
  requiresImageRef?: boolean;
32
32
  }
33
- /** Per-user MCP defaults, sparse: a key left out keeps its stored value. */
33
+ /** Per-user MCP defaults as stored, sparse: a default never saved is absent. */
34
34
  interface UserMcpPreferences {
35
35
  image?: {
36
36
  model?: string;
@@ -52,6 +52,32 @@ interface UserMcpPreferences {
52
52
  enabled?: boolean;
53
53
  };
54
54
  }
55
+ /**
56
+ * A change to the MCP defaults (`update({ mcpPreferences })`), merged one axis
57
+ * at a time: a key left out keeps its stored value, a value replaces it, and
58
+ * `null` clears it, so the tool's own default applies again.
59
+ */
60
+ interface UserMcpPreferencesPatch {
61
+ image?: {
62
+ model?: string | null;
63
+ aspectRatio?: string | null;
64
+ resolution?: string | null;
65
+ quality?: string | null;
66
+ };
67
+ video?: {
68
+ model?: string | null;
69
+ aspectRatio?: string | null;
70
+ duration?: number | null;
71
+ resolution?: string | null;
72
+ };
73
+ audio?: {
74
+ ttsModel?: string | null;
75
+ musicModel?: string | null;
76
+ };
77
+ flows?: {
78
+ enabled?: boolean | null;
79
+ };
80
+ }
55
81
  interface UserSettings {
56
82
  /** The stored billing tier (`"free"`, `"basic"`, …). */
57
83
  tier: string | null;
@@ -75,7 +101,8 @@ interface UserSettings {
75
101
  * What `update()` sends: only the fields to change. `promptTemplates` and
76
102
  * `textTemplates` REPLACE the stored value whole (send the full map or list;
77
103
  * a template key the server does not know, or a value equal to the default,
78
- * is dropped); `mcpPreferences` merges one axis at a time.
104
+ * is dropped); `mcpPreferences` merges one axis at a time, and `null` clears a
105
+ * field of it.
79
106
  */
80
107
  interface UserSettingsPatch {
81
108
  /** `false` needs the Standard plan or above on Nodaro Cloud (`ForbiddenError` otherwise). */
@@ -84,7 +111,7 @@ interface UserSettingsPatch {
84
111
  /** Up to 100. */
85
112
  textTemplates?: UserTextTemplate[];
86
113
  preferredLocale?: UserSettingsLocale | null;
87
- mcpPreferences?: UserMcpPreferences;
114
+ mcpPreferences?: UserMcpPreferencesPatch;
88
115
  showRecentNodes?: boolean;
89
116
  showMostUsedNodes?: boolean;
90
117
  variableDisplayMode?: VariableDisplayMode;
@@ -112,4 +139,4 @@ declare class UserSettingsResource {
112
139
  update(patch: UserSettingsPatch): Promise<UserSettingsSaved>;
113
140
  }
114
141
 
115
- export { type NodeDoubleClickAction, type UserMcpPreferences, type UserSettings, type UserSettingsLocale, type UserSettingsPatch, UserSettingsResource, type UserSettingsSaved, type UserTextTemplate, type VariableDisplayMode };
142
+ export { type NodeDoubleClickAction, type UserMcpPreferences, type UserMcpPreferencesPatch, type UserSettings, type UserSettingsLocale, type UserSettingsPatch, UserSettingsResource, type UserSettingsSaved, type UserTextTemplate, type VariableDisplayMode };
@@ -1,4 +1,4 @@
1
1
  import '../chunk-K6BWJ7ZY.js';
2
- export { UserSettingsResource } from '../chunk-LR5TGCJP.js';
2
+ export { UserSettingsResource } from '../chunk-J3Y56MYU.js';
3
3
  //# sourceMappingURL=user-settings.js.map
4
4
  //# sourceMappingURL=user-settings.js.map