@nodaro/sdk 2.65.1 → 2.66.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 (179) hide show
  1. package/dist/{chunk-4BAHF762.cjs → chunk-7FLTDTHR.cjs} +2 -2
  2. package/dist/chunk-7FLTDTHR.cjs.map +1 -0
  3. package/dist/{chunk-SVWEWBXI.js → chunk-ADW6LPRT.js} +17 -2
  4. package/dist/chunk-ADW6LPRT.js.map +1 -0
  5. package/dist/{chunk-3HL3IHVE.js → chunk-CSIPRLX3.js} +3 -3
  6. package/dist/{chunk-3HL3IHVE.js.map → chunk-CSIPRLX3.js.map} +1 -1
  7. package/dist/{chunk-KP2DIIKO.cjs → chunk-DQQRFBWY.cjs} +5 -5
  8. package/dist/{chunk-KP2DIIKO.cjs.map → chunk-DQQRFBWY.cjs.map} +1 -1
  9. package/dist/{chunk-MQRPXZW5.js → chunk-EBQXAOHW.js} +3 -3
  10. package/dist/{chunk-MQRPXZW5.js.map → chunk-EBQXAOHW.js.map} +1 -1
  11. package/dist/{chunk-DR5WM36L.cjs → chunk-EWVQFW5L.cjs} +22 -22
  12. package/dist/chunk-EWVQFW5L.cjs.map +1 -0
  13. package/dist/{chunk-7QK2NXJA.js → chunk-F3AV3TC7.js} +2 -2
  14. package/dist/chunk-F3AV3TC7.js.map +1 -0
  15. package/dist/{chunk-UPGZTLK7.cjs → chunk-F6KAMECM.cjs} +6 -3
  16. package/dist/chunk-F6KAMECM.cjs.map +1 -0
  17. package/dist/{chunk-P6E4QDJN.js → chunk-GG7DOKTH.js} +2 -2
  18. package/dist/chunk-GG7DOKTH.js.map +1 -0
  19. package/dist/{chunk-HW6U7WXU.js → chunk-GQU5FXYB.js} +4 -4
  20. package/dist/{chunk-HW6U7WXU.js.map → chunk-GQU5FXYB.js.map} +1 -1
  21. package/dist/chunk-HADYBDBT.js +19 -0
  22. package/dist/chunk-HADYBDBT.js.map +1 -0
  23. package/dist/chunk-HFDTOEAL.cjs +21 -0
  24. package/dist/chunk-HFDTOEAL.cjs.map +1 -0
  25. package/dist/{chunk-A75Q7UEU.js → chunk-JC66EEFI.js} +3 -3
  26. package/dist/{chunk-A75Q7UEU.js.map → chunk-JC66EEFI.js.map} +1 -1
  27. package/dist/{chunk-CRIQLLR2.js → chunk-JZO5WWKX.js} +51 -7
  28. package/dist/chunk-JZO5WWKX.js.map +1 -0
  29. package/dist/{chunk-YLXCXVYF.cjs → chunk-KAYCRIMA.cjs} +5 -5
  30. package/dist/{chunk-YLXCXVYF.cjs.map → chunk-KAYCRIMA.cjs.map} +1 -1
  31. package/dist/{chunk-L3RTC4FL.js → chunk-KEZMNVN3.js} +3 -3
  32. package/dist/chunk-KEZMNVN3.js.map +1 -0
  33. package/dist/{chunk-Y6V6CBY5.js → chunk-KNNSGWHO.js} +2 -2
  34. package/dist/{chunk-Y6V6CBY5.js.map → chunk-KNNSGWHO.js.map} +1 -1
  35. package/dist/{chunk-HW3CSUVC.cjs → chunk-LCQIQFWD.cjs} +17 -2
  36. package/dist/chunk-LCQIQFWD.cjs.map +1 -0
  37. package/dist/{chunk-3TRBBYSN.js → chunk-LQMJFFST.js} +6 -4
  38. package/dist/chunk-LQMJFFST.js.map +1 -0
  39. package/dist/{chunk-K2QVR3LG.js → chunk-LTRJNCXB.js} +22 -18
  40. package/dist/chunk-LTRJNCXB.js.map +1 -0
  41. package/dist/{chunk-JDEZHITT.js → chunk-MC77SD42.js} +2 -2
  42. package/dist/chunk-MC77SD42.js.map +1 -0
  43. package/dist/{chunk-BYFLERF3.cjs → chunk-MOGPM5RM.cjs} +36 -32
  44. package/dist/chunk-MOGPM5RM.cjs.map +1 -0
  45. package/dist/{chunk-T23YD5BR.js → chunk-MYUJEVP6.js} +3 -3
  46. package/dist/{chunk-T23YD5BR.js.map → chunk-MYUJEVP6.js.map} +1 -1
  47. package/dist/chunk-N4FKPJ7J.cjs +4 -0
  48. package/dist/chunk-N4FKPJ7J.cjs.map +1 -0
  49. package/dist/{chunk-TBFA6QPH.cjs → chunk-O6LQV6BD.cjs} +4 -4
  50. package/dist/{chunk-TBFA6QPH.cjs.map → chunk-O6LQV6BD.cjs.map} +1 -1
  51. package/dist/{chunk-2DZWWIJ4.cjs → chunk-OI4RCW2J.cjs} +2 -2
  52. package/dist/chunk-OI4RCW2J.cjs.map +1 -0
  53. package/dist/{chunk-UIM5SLPP.cjs → chunk-PHBOLYRT.cjs} +4 -4
  54. package/dist/{chunk-UIM5SLPP.cjs.map → chunk-PHBOLYRT.cjs.map} +1 -1
  55. package/dist/{chunk-A5UGBCAW.js → chunk-Q6HMDIC4.js} +3 -3
  56. package/dist/{chunk-A5UGBCAW.js.map → chunk-Q6HMDIC4.js.map} +1 -1
  57. package/dist/{chunk-P2JYDWZT.cjs → chunk-QHCVKMSF.cjs} +3 -2
  58. package/dist/chunk-QHCVKMSF.cjs.map +1 -0
  59. package/dist/{chunk-7QOCWJKD.cjs → chunk-RPV4QBHS.cjs} +2 -2
  60. package/dist/{chunk-7QOCWJKD.cjs.map → chunk-RPV4QBHS.cjs.map} +1 -1
  61. package/dist/chunk-RQ6GE7KG.js +3 -0
  62. package/dist/chunk-RQ6GE7KG.js.map +1 -0
  63. package/dist/{chunk-C3LJ7HIH.cjs → chunk-S5BOU6JG.cjs} +6 -4
  64. package/dist/chunk-S5BOU6JG.cjs.map +1 -0
  65. package/dist/{chunk-3CB4WYEY.cjs → chunk-S5VSDJAM.cjs} +51 -7
  66. package/dist/chunk-S5VSDJAM.cjs.map +1 -0
  67. package/dist/{chunk-WNXX3B2A.js → chunk-SNPDM72K.js} +3 -2
  68. package/dist/chunk-SNPDM72K.js.map +1 -0
  69. package/dist/{chunk-GKTZHICS.cjs → chunk-UBZ2XVHM.cjs} +5 -5
  70. package/dist/{chunk-GKTZHICS.cjs.map → chunk-UBZ2XVHM.cjs.map} +1 -1
  71. package/dist/{chunk-WUKIJJG2.cjs → chunk-W63ZKKYT.cjs} +2 -2
  72. package/dist/chunk-W63ZKKYT.cjs.map +1 -0
  73. package/dist/{chunk-GRATHB3C.cjs → chunk-WSMZ3AAU.cjs} +9 -9
  74. package/dist/{chunk-GRATHB3C.cjs.map → chunk-WSMZ3AAU.cjs.map} +1 -1
  75. package/dist/{chunk-P2C33IOF.js → chunk-YEOK5A5H.js} +6 -3
  76. package/dist/chunk-YEOK5A5H.js.map +1 -0
  77. package/dist/entries/cast-swap.cjs +2 -2
  78. package/dist/entries/cast-swap.d.cts +16 -12
  79. package/dist/entries/cast-swap.d.ts +16 -12
  80. package/dist/entries/cast-swap.js +1 -1
  81. package/dist/entries/characters.d.cts +1 -1
  82. package/dist/entries/characters.d.ts +1 -1
  83. package/dist/entries/client.cjs +25 -24
  84. package/dist/entries/client.d.cts +4 -1
  85. package/dist/entries/client.d.ts +4 -1
  86. package/dist/entries/client.js +20 -19
  87. package/dist/entries/copilot.cjs +4 -4
  88. package/dist/entries/copilot.js +3 -3
  89. package/dist/entries/core.cjs +6 -6
  90. package/dist/entries/core.js +2 -2
  91. package/dist/entries/creatures.d.cts +1 -1
  92. package/dist/entries/creatures.d.ts +1 -1
  93. package/dist/entries/credits.cjs +2 -2
  94. package/dist/entries/credits.d.cts +89 -1
  95. package/dist/entries/credits.d.ts +89 -1
  96. package/dist/entries/credits.js +1 -1
  97. package/dist/entries/edit.cjs +7 -7
  98. package/dist/entries/edit.js +2 -2
  99. package/dist/entries/errors.cjs +28 -28
  100. package/dist/entries/errors.d.cts +6 -3
  101. package/dist/entries/errors.d.ts +6 -3
  102. package/dist/entries/errors.js +1 -1
  103. package/dist/entries/gallery.cjs +2 -2
  104. package/dist/entries/gallery.d.cts +5 -0
  105. package/dist/entries/gallery.d.ts +5 -0
  106. package/dist/entries/gallery.js +1 -1
  107. package/dist/entries/jobs.cjs +2 -2
  108. package/dist/entries/jobs.d.cts +26 -1
  109. package/dist/entries/jobs.d.ts +26 -1
  110. package/dist/entries/jobs.js +1 -1
  111. package/dist/entries/library.cjs +2 -2
  112. package/dist/entries/library.d.cts +6 -0
  113. package/dist/entries/library.d.ts +6 -0
  114. package/dist/entries/library.js +1 -1
  115. package/dist/entries/locations.d.cts +1 -1
  116. package/dist/entries/locations.d.ts +1 -1
  117. package/dist/entries/media.cjs +4 -4
  118. package/dist/entries/media.js +3 -3
  119. package/dist/entries/models.cjs +2 -2
  120. package/dist/entries/models.d.cts +2 -0
  121. package/dist/entries/models.d.ts +2 -0
  122. package/dist/entries/models.js +1 -1
  123. package/dist/entries/nodes.cjs +3 -3
  124. package/dist/entries/nodes.d.cts +1 -1
  125. package/dist/entries/nodes.d.ts +1 -1
  126. package/dist/entries/nodes.js +2 -2
  127. package/dist/entries/objects.d.cts +1 -1
  128. package/dist/entries/objects.d.ts +1 -1
  129. package/dist/entries/scene3d.d.cts +2 -2
  130. package/dist/entries/scene3d.d.ts +2 -2
  131. package/dist/entries/studio.cjs +5 -5
  132. package/dist/entries/studio.js +2 -2
  133. package/dist/entries/surface.cjs +13 -0
  134. package/dist/entries/surface.cjs.map +1 -0
  135. package/dist/entries/surface.d.cts +47 -0
  136. package/dist/entries/surface.d.ts +47 -0
  137. package/dist/entries/surface.js +4 -0
  138. package/dist/entries/surface.js.map +1 -0
  139. package/dist/entries/uploads.cjs +2 -2
  140. package/dist/entries/uploads.d.cts +4 -1
  141. package/dist/entries/uploads.d.ts +4 -1
  142. package/dist/entries/uploads.js +1 -1
  143. package/dist/entries/voices.cjs +2 -2
  144. package/dist/entries/voices.d.cts +32 -9
  145. package/dist/entries/voices.d.ts +32 -9
  146. package/dist/entries/voices.js +1 -1
  147. package/dist/index.cjs +87 -81
  148. package/dist/index.d.cts +5 -4
  149. package/dist/index.d.ts +5 -4
  150. package/dist/index.js +23 -21
  151. package/dist/{nodes-BXL3qXlY.d.ts → nodes-C9O2tdGH.d.ts} +17 -1
  152. package/dist/{nodes-Dx8rpU12.d.cts → nodes-WkaQjuwS.d.cts} +17 -1
  153. package/dist/supabase-browser.cjs +43 -5
  154. package/dist/supabase-browser.cjs.map +1 -1
  155. package/dist/supabase-browser.d.cts +11 -0
  156. package/dist/supabase-browser.d.ts +11 -0
  157. package/dist/supabase-browser.js +43 -5
  158. package/dist/supabase-browser.js.map +1 -1
  159. package/package.json +8 -3
  160. package/dist/chunk-2DZWWIJ4.cjs.map +0 -1
  161. package/dist/chunk-3CB4WYEY.cjs.map +0 -1
  162. package/dist/chunk-3TRBBYSN.js.map +0 -1
  163. package/dist/chunk-4BAHF762.cjs.map +0 -1
  164. package/dist/chunk-7QK2NXJA.js.map +0 -1
  165. package/dist/chunk-BYFLERF3.cjs.map +0 -1
  166. package/dist/chunk-C3LJ7HIH.cjs.map +0 -1
  167. package/dist/chunk-CRIQLLR2.js.map +0 -1
  168. package/dist/chunk-DR5WM36L.cjs.map +0 -1
  169. package/dist/chunk-HW3CSUVC.cjs.map +0 -1
  170. package/dist/chunk-JDEZHITT.js.map +0 -1
  171. package/dist/chunk-K2QVR3LG.js.map +0 -1
  172. package/dist/chunk-L3RTC4FL.js.map +0 -1
  173. package/dist/chunk-P2C33IOF.js.map +0 -1
  174. package/dist/chunk-P2JYDWZT.cjs.map +0 -1
  175. package/dist/chunk-P6E4QDJN.js.map +0 -1
  176. package/dist/chunk-SVWEWBXI.js.map +0 -1
  177. package/dist/chunk-UPGZTLK7.cjs.map +0 -1
  178. package/dist/chunk-WNXX3B2A.js.map +0 -1
  179. package/dist/chunk-WUKIJJG2.cjs.map +0 -1
@@ -268,6 +268,13 @@ interface Job {
268
268
  * unrated. Returned by `get()` and `list()`; absent like `favorited`.
269
269
  */
270
270
  rating?: JobRating | null;
271
+ /**
272
+ * The owner's own name for the job ({@link JobsResource.rename}) — "Wedding
273
+ * toast, final" — or `null` until named. One line of plain text, up to 120
274
+ * characters. Returned wherever the job is: `get()`, `list()`, a session's
275
+ * items, the Trash. Absent from an older server.
276
+ */
277
+ title?: string | null;
271
278
  /**
272
279
  * Where the job stands in line while it waits for a free slot: present on
273
280
  * `get()` only while `status` is `queued` (never on `list()`). See
@@ -342,6 +349,13 @@ interface RateJobResult {
342
349
  rating: JobRating | null;
343
350
  };
344
351
  }
352
+ /** What {@link JobsResource.rename} answers: the job's name now (`null` once cleared). */
353
+ interface RenameJobResult {
354
+ data: {
355
+ jobId: string;
356
+ title: string | null;
357
+ };
358
+ }
345
359
  /**
346
360
  * {@link JobsResource.fromUpload}'s body: an image edited in the browser,
347
361
  * already stored with `client.uploads.upload`, and what it was made from.
@@ -429,6 +443,17 @@ declare class JobsResource {
429
443
  * and filters {@link list}. OAuth apps need the `assets:write` scope.
430
444
  */
431
445
  rate(id: string, rating: JobRating | null): Promise<RateJobResult>;
446
+ /**
447
+ * Name one of your jobs — "Wedding toast, final" on a picture, a clip, a
448
+ * track or a speech take — or clear its name with `null` (`PATCH
449
+ * /v1/jobs/:id`). Trimmed; one line of plain text, 1–120 characters, any
450
+ * language: a longer or multi-line name is a `NodaroError`
451
+ * (`validation_error`). Only the job's owner names it — anyone else's job is
452
+ * a `NotFoundError`. Free; any job type and status, the Trash included;
453
+ * nothing else about the job changes. The name reads back as `Job.title`
454
+ * wherever the job is returned. OAuth apps need the `assets:write` scope.
455
+ */
456
+ rename(id: string, title: string | null): Promise<RenameJobResult>;
432
457
  /**
433
458
  * Get the lean status of a single job (poll-loop friendly).
434
459
  * Hits `GET /v1/jobs/:id/status` — returns only id/status/progress/
@@ -472,4 +497,4 @@ declare class JobsResource {
472
497
  }>;
473
498
  }
474
499
 
475
- export { type CancelJobResult, type CreditStatus, type CreditsHint, type DeleteJobResult, type InputRefusedHint, type Job, type JobErrorHint, type JobFromUploadParams, type JobQueueInfo, type JobRating, type JobRatingFilter, type JobSessionRef, type JobSource, type JobStatus, type JobStatusResult, JobsResource, type ListJobsPage, type ListJobsParams, type PolicyBlockHint, type QueueTimeoutHint, type RateJobResult, type RequestRefusedHint, type SafetyBlockHint };
500
+ export { type CancelJobResult, type CreditStatus, type CreditsHint, type DeleteJobResult, type InputRefusedHint, type Job, type JobErrorHint, type JobFromUploadParams, type JobQueueInfo, type JobRating, type JobRatingFilter, type JobSessionRef, type JobSource, type JobStatus, type JobStatusResult, JobsResource, type ListJobsPage, type ListJobsParams, type PolicyBlockHint, type QueueTimeoutHint, type RateJobResult, type RenameJobResult, type RequestRefusedHint, type SafetyBlockHint };
@@ -1,4 +1,4 @@
1
1
  import '../chunk-I3TYBAOX.js';
2
- export { JobsResource } from '../chunk-SVWEWBXI.js';
2
+ export { JobsResource } from '../chunk-ADW6LPRT.js';
3
3
  //# sourceMappingURL=jobs.js.map
4
4
  //# sourceMappingURL=jobs.js.map
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-5UQNMNUE.cjs');
4
- var chunk2DZWWIJ4_cjs = require('../chunk-2DZWWIJ4.cjs');
4
+ var chunkOI4RCW2J_cjs = require('../chunk-OI4RCW2J.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "LibraryResource", {
9
9
  enumerable: true,
10
- get: function () { return chunk2DZWWIJ4_cjs.LibraryResource; }
10
+ get: function () { return chunkOI4RCW2J_cjs.LibraryResource; }
11
11
  });
12
12
  //# sourceMappingURL=library.cjs.map
13
13
  //# sourceMappingURL=library.cjs.map
@@ -41,6 +41,12 @@ interface LibraryAsset {
41
41
  * leave it out.
42
42
  */
43
43
  readonly jobId?: string | null;
44
+ /**
45
+ * The name the owner gave the job that made the file
46
+ * (`client.jobs.rename`), or `null` when it is unnamed or there is no job
47
+ * (an upload). Not the file's `filename`. Absent from an older server.
48
+ */
49
+ readonly title?: string | null;
44
50
  readonly createdAt: string;
45
51
  }
46
52
  interface ListLibraryParams {
@@ -41,6 +41,12 @@ interface LibraryAsset {
41
41
  * leave it out.
42
42
  */
43
43
  readonly jobId?: string | null;
44
+ /**
45
+ * The name the owner gave the job that made the file
46
+ * (`client.jobs.rename`), or `null` when it is unnamed or there is no job
47
+ * (an upload). Not the file's `filename`. Absent from an older server.
48
+ */
49
+ readonly title?: string | null;
44
50
  readonly createdAt: string;
45
51
  }
46
52
  interface ListLibraryParams {
@@ -1,4 +1,4 @@
1
1
  import '../chunk-A3THLBFG.js';
2
- export { LibraryResource } from '../chunk-P6E4QDJN.js';
2
+ export { LibraryResource } from '../chunk-GG7DOKTH.js';
3
3
  //# sourceMappingURL=library.js.map
4
4
  //# sourceMappingURL=library.js.map
@@ -2,7 +2,7 @@ import { LocationAssetType, CharacterAspectRatio, LocationAttachColumn, Surround
2
2
  export { LOCATION_ASSET_TYPES, LOCATION_ATTACH_COLUMNS, LocationAssetType, LocationAttachColumn, SURROUND_DIRECTIONS, SurroundDirection } from '@nodaro/shared/entities';
3
3
  import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.cjs';
4
4
  import { SetKeeperCatalogInput, SetKeeperCatalogResult } from './keepers.cjs';
5
- import { l as GenerationSessionParams } from '../nodes-Dx8rpU12.cjs';
5
+ import { l as GenerationSessionParams } from '../nodes-WkaQjuwS.cjs';
6
6
  import '@nodaro/shared/apps';
7
7
  import '@nodaro/shared/organizations';
8
8
  import '@nodaro/shared/types';
@@ -2,7 +2,7 @@ import { LocationAssetType, CharacterAspectRatio, LocationAttachColumn, Surround
2
2
  export { LOCATION_ASSET_TYPES, LOCATION_ATTACH_COLUMNS, LocationAssetType, LocationAttachColumn, SURROUND_DIRECTIONS, SurroundDirection } from '@nodaro/shared/entities';
3
3
  import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.js';
4
4
  import { SetKeeperCatalogInput, SetKeeperCatalogResult } from './keepers.js';
5
- import { l as GenerationSessionParams } from '../nodes-BXL3qXlY.js';
5
+ import { l as GenerationSessionParams } from '../nodes-C9O2tdGH.js';
6
6
  import '@nodaro/shared/apps';
7
7
  import '@nodaro/shared/organizations';
8
8
  import '@nodaro/shared/types';
@@ -1,15 +1,15 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-RHETJOUM.cjs');
4
- var chunkUIM5SLPP_cjs = require('../chunk-UIM5SLPP.cjs');
5
- require('../chunk-KP2DIIKO.cjs');
6
- require('../chunk-P2JYDWZT.cjs');
4
+ var chunkPHBOLYRT_cjs = require('../chunk-PHBOLYRT.cjs');
5
+ require('../chunk-DQQRFBWY.cjs');
6
+ require('../chunk-QHCVKMSF.cjs');
7
7
 
8
8
 
9
9
 
10
10
  Object.defineProperty(exports, "MediaResource", {
11
11
  enumerable: true,
12
- get: function () { return chunkUIM5SLPP_cjs.MediaResource; }
12
+ get: function () { return chunkPHBOLYRT_cjs.MediaResource; }
13
13
  });
14
14
  //# sourceMappingURL=media.cjs.map
15
15
  //# sourceMappingURL=media.cjs.map
@@ -1,6 +1,6 @@
1
1
  import '../chunk-ES2E65HT.js';
2
- export { MediaResource } from '../chunk-3HL3IHVE.js';
3
- import '../chunk-A75Q7UEU.js';
4
- import '../chunk-WNXX3B2A.js';
2
+ export { MediaResource } from '../chunk-CSIPRLX3.js';
3
+ import '../chunk-JC66EEFI.js';
4
+ import '../chunk-SNPDM72K.js';
5
5
  //# sourceMappingURL=media.js.map
6
6
  //# sourceMappingURL=media.js.map
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-QUFU5RJ7.cjs');
4
- var chunk7QOCWJKD_cjs = require('../chunk-7QOCWJKD.cjs');
4
+ var chunkRPV4QBHS_cjs = require('../chunk-RPV4QBHS.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "ModelsResource", {
9
9
  enumerable: true,
10
- get: function () { return chunk7QOCWJKD_cjs.ModelsResource; }
10
+ get: function () { return chunkRPV4QBHS_cjs.ModelsResource; }
11
11
  });
12
12
  //# sourceMappingURL=models.cjs.map
13
13
  //# sourceMappingURL=models.cjs.map
@@ -47,6 +47,8 @@ interface ModelSummary {
47
47
  aspectRatios?: string[];
48
48
  resolutions?: string[];
49
49
  qualities?: string[];
50
+ /** The image background settings the model takes (`auto`, `opaque`, `transparent`). */
51
+ backgrounds?: string[];
50
52
  durations?: number[];
51
53
  /** Compact per-model prompting tips (present when a doctrine exists). */
52
54
  promptTips?: string[];
@@ -47,6 +47,8 @@ interface ModelSummary {
47
47
  aspectRatios?: string[];
48
48
  resolutions?: string[];
49
49
  qualities?: string[];
50
+ /** The image background settings the model takes (`auto`, `opaque`, `transparent`). */
51
+ backgrounds?: string[];
50
52
  durations?: number[];
51
53
  /** Compact per-model prompting tips (present when a doctrine exists). */
52
54
  promptTips?: string[];
@@ -1,4 +1,4 @@
1
1
  import '../chunk-OMH7ATOQ.js';
2
- export { ModelsResource } from '../chunk-Y6V6CBY5.js';
2
+ export { ModelsResource } from '../chunk-KNNSGWHO.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 chunkDR5WM36L_cjs = require('../chunk-DR5WM36L.cjs');
5
- require('../chunk-P2JYDWZT.cjs');
4
+ var chunkEWVQFW5L_cjs = require('../chunk-EWVQFW5L.cjs');
5
+ require('../chunk-QHCVKMSF.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 chunkDR5WM36L_cjs.NodesResource; }
19
+ get: function () { return chunkEWVQFW5L_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-Dx8rpU12.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-WkaQjuwS.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-BXL3qXlY.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-C9O2tdGH.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-L3RTC4FL.js';
3
- import '../chunk-WNXX3B2A.js';
2
+ export { NodesResource } from '../chunk-KEZMNVN3.js';
3
+ import '../chunk-SNPDM72K.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-Dx8rpU12.cjs';
5
+ import { l as GenerationSessionParams } from '../nodes-WkaQjuwS.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-BXL3qXlY.js';
5
+ import { l as GenerationSessionParams } from '../nodes-C9O2tdGH.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-Dx8rpU12.cjs';
2
- export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-Dx8rpU12.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-WkaQjuwS.cjs';
2
+ export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-WkaQjuwS.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-BXL3qXlY.js';
2
- export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-BXL3qXlY.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-C9O2tdGH.js';
2
+ export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-C9O2tdGH.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 chunkYLXCXVYF_cjs = require('../chunk-YLXCXVYF.cjs');
5
- require('../chunk-P2JYDWZT.cjs');
4
+ var chunkKAYCRIMA_cjs = require('../chunk-KAYCRIMA.cjs');
5
+ require('../chunk-QHCVKMSF.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "StudioProductionsResource", {
10
10
  enumerable: true,
11
- get: function () { return chunkYLXCXVYF_cjs.StudioProductionsResource; }
11
+ get: function () { return chunkKAYCRIMA_cjs.StudioProductionsResource; }
12
12
  });
13
13
  Object.defineProperty(exports, "StudioResource", {
14
14
  enumerable: true,
15
- get: function () { return chunkYLXCXVYF_cjs.StudioResource; }
15
+ get: function () { return chunkKAYCRIMA_cjs.StudioResource; }
16
16
  });
17
17
  Object.defineProperty(exports, "isStudioGenerateEstimate", {
18
18
  enumerable: true,
19
- get: function () { return chunkYLXCXVYF_cjs.isStudioGenerateEstimate; }
19
+ get: function () { return chunkKAYCRIMA_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-A5UGBCAW.js';
3
- import '../chunk-WNXX3B2A.js';
2
+ export { StudioProductionsResource, StudioResource, isStudioGenerateEstimate } from '../chunk-Q6HMDIC4.js';
3
+ import '../chunk-SNPDM72K.js';
4
4
  //# sourceMappingURL=studio.js.map
5
5
  //# sourceMappingURL=studio.js.map
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ require('../chunk-N4FKPJ7J.cjs');
4
+ var chunkHFDTOEAL_cjs = require('../chunk-HFDTOEAL.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "SurfaceResource", {
9
+ enumerable: true,
10
+ get: function () { return chunkHFDTOEAL_cjs.SurfaceResource; }
11
+ });
12
+ //# sourceMappingURL=surface.cjs.map
13
+ //# sourceMappingURL=surface.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"surface.cjs"}
@@ -0,0 +1,47 @@
1
+ import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.cjs';
2
+ import '@nodaro/shared/apps';
3
+ import '@nodaro/shared/organizations';
4
+
5
+ /**
6
+ * What this deployment offers the caller — the shape of `GET
7
+ * /v1/surface/availability` (`backend/src/routes/surface-availability.ts`, the
8
+ * source of truth: keep these in sync if it changes). The answer depends on who
9
+ * asks: an admin is still offered a node the admin switch withholds from users.
10
+ */
11
+ /** One world (a tab of the shared site header) and whether the caller is offered it. */
12
+ interface SurfaceAvailabilityWorld {
13
+ /** A world id: `explore`, `image`, `video`, `music`, `trends`, `motion`, `voice`, `app` or `studio`. A newer server may add one, so handle an id you do not know. */
14
+ id: string;
15
+ /** `true` when the deployment's profile lets the world through and every node type it runs is available to the caller. */
16
+ enabled: boolean;
17
+ }
18
+ interface SurfaceAvailability {
19
+ /** Node types the caller is not offered; for an admin, `hiddenFromUsers` names those the admin switch withholds from users only. */
20
+ nodes: {
21
+ denied: string[];
22
+ hiddenFromUsers: string[];
23
+ };
24
+ /** Model ids nobody on this deployment is offered. */
25
+ models: {
26
+ denied: string[];
27
+ };
28
+ /** Web Scrape sources withdrawn with the node that governs them (Instagram follows the Instagram node). */
29
+ webScrapeSources: {
30
+ denied: string[];
31
+ hiddenFromUsers: string[];
32
+ };
33
+ /** Every world, in the deployment's display order. */
34
+ worlds: SurfaceAvailabilityWorld[];
35
+ }
36
+ declare class SurfaceResource {
37
+ private client;
38
+ constructor(client: NodaroClientCore);
39
+ /**
40
+ * `GET /v1/surface/availability` → the node types, models, Web Scrape
41
+ * sources and worlds this deployment offers the caller. Signed out, the
42
+ * answer is a user's. Never cached by a shared cache (`private, no-store`).
43
+ */
44
+ availability(): Promise<SurfaceAvailability>;
45
+ }
46
+
47
+ export { type SurfaceAvailability, type SurfaceAvailabilityWorld, SurfaceResource };
@@ -0,0 +1,47 @@
1
+ import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.js';
2
+ import '@nodaro/shared/apps';
3
+ import '@nodaro/shared/organizations';
4
+
5
+ /**
6
+ * What this deployment offers the caller — the shape of `GET
7
+ * /v1/surface/availability` (`backend/src/routes/surface-availability.ts`, the
8
+ * source of truth: keep these in sync if it changes). The answer depends on who
9
+ * asks: an admin is still offered a node the admin switch withholds from users.
10
+ */
11
+ /** One world (a tab of the shared site header) and whether the caller is offered it. */
12
+ interface SurfaceAvailabilityWorld {
13
+ /** A world id: `explore`, `image`, `video`, `music`, `trends`, `motion`, `voice`, `app` or `studio`. A newer server may add one, so handle an id you do not know. */
14
+ id: string;
15
+ /** `true` when the deployment's profile lets the world through and every node type it runs is available to the caller. */
16
+ enabled: boolean;
17
+ }
18
+ interface SurfaceAvailability {
19
+ /** Node types the caller is not offered; for an admin, `hiddenFromUsers` names those the admin switch withholds from users only. */
20
+ nodes: {
21
+ denied: string[];
22
+ hiddenFromUsers: string[];
23
+ };
24
+ /** Model ids nobody on this deployment is offered. */
25
+ models: {
26
+ denied: string[];
27
+ };
28
+ /** Web Scrape sources withdrawn with the node that governs them (Instagram follows the Instagram node). */
29
+ webScrapeSources: {
30
+ denied: string[];
31
+ hiddenFromUsers: string[];
32
+ };
33
+ /** Every world, in the deployment's display order. */
34
+ worlds: SurfaceAvailabilityWorld[];
35
+ }
36
+ declare class SurfaceResource {
37
+ private client;
38
+ constructor(client: NodaroClientCore);
39
+ /**
40
+ * `GET /v1/surface/availability` → the node types, models, Web Scrape
41
+ * sources and worlds this deployment offers the caller. Signed out, the
42
+ * answer is a user's. Never cached by a shared cache (`private, no-store`).
43
+ */
44
+ availability(): Promise<SurfaceAvailability>;
45
+ }
46
+
47
+ export { type SurfaceAvailability, type SurfaceAvailabilityWorld, SurfaceResource };
@@ -0,0 +1,4 @@
1
+ import '../chunk-RQ6GE7KG.js';
2
+ export { SurfaceResource } from '../chunk-HADYBDBT.js';
3
+ //# sourceMappingURL=surface.js.map
4
+ //# sourceMappingURL=surface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"surface.js"}
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-ZE5RISBZ.cjs');
4
- var chunkUPGZTLK7_cjs = require('../chunk-UPGZTLK7.cjs');
4
+ var chunkF6KAMECM_cjs = require('../chunk-F6KAMECM.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "UploadsResource", {
9
9
  enumerable: true,
10
- get: function () { return chunkUPGZTLK7_cjs.UploadsResource; }
10
+ get: function () { return chunkF6KAMECM_cjs.UploadsResource; }
11
11
  });
12
12
  //# sourceMappingURL=uploads.cjs.map
13
13
  //# sourceMappingURL=uploads.cjs.map
@@ -59,7 +59,10 @@ declare class UploadsResource {
59
59
  * An import of a link runs the platform's content rights check: pass the
60
60
  * `confirmationId` from `contentRights.confirm({ url })` when the deployment
61
61
  * requires one (`403 rights_confirmation_required` otherwise). A site an
62
- * administrator disabled answers `403 import_source_disabled`.
62
+ * administrator disabled answers `403 import_source_disabled`, and a
63
+ * deployment that turned link imports off answers `403 link_imports_disabled`
64
+ * for a link to another site (a file of the deployment's own storage is still
65
+ * imported as before).
63
66
  */
64
67
  importUrl(url: string, options?: {
65
68
  confirmationId?: string;
@@ -59,7 +59,10 @@ declare class UploadsResource {
59
59
  * An import of a link runs the platform's content rights check: pass the
60
60
  * `confirmationId` from `contentRights.confirm({ url })` when the deployment
61
61
  * requires one (`403 rights_confirmation_required` otherwise). A site an
62
- * administrator disabled answers `403 import_source_disabled`.
62
+ * administrator disabled answers `403 import_source_disabled`, and a
63
+ * deployment that turned link imports off answers `403 link_imports_disabled`
64
+ * for a link to another site (a file of the deployment's own storage is still
65
+ * imported as before).
63
66
  */
64
67
  importUrl(url: string, options?: {
65
68
  confirmationId?: string;
@@ -1,4 +1,4 @@
1
1
  import '../chunk-CGNVHN4V.js';
2
- export { UploadsResource } from '../chunk-P2C33IOF.js';
2
+ export { UploadsResource } from '../chunk-YEOK5A5H.js';
3
3
  //# sourceMappingURL=uploads.js.map
4
4
  //# sourceMappingURL=uploads.js.map
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-KTTL7BND.cjs');
4
- var chunk3CB4WYEY_cjs = require('../chunk-3CB4WYEY.cjs');
4
+ var chunkS5VSDJAM_cjs = require('../chunk-S5VSDJAM.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "VoicesResource", {
9
9
  enumerable: true,
10
- get: function () { return chunk3CB4WYEY_cjs.VoicesResource; }
10
+ get: function () { return chunkS5VSDJAM_cjs.VoicesResource; }
11
11
  });
12
12
  //# sourceMappingURL=voices.cjs.map
13
13
  //# sourceMappingURL=voices.cjs.map
@@ -1,5 +1,5 @@
1
- import { Voice, VoiceLibraryParams, VoiceLibraryResponse, VoiceClone } from '@nodaro/shared/pipeline';
2
- export { SharedVoice, Voice, VoiceClone, VoiceLibraryParams, VoiceLibraryResponse } from '@nodaro/shared/pipeline';
1
+ import { Voice, VoiceLibraryParams, VoiceLibraryResponse, VoiceLibraryFacetsParams, VoiceLibraryFacets, VoiceClone, VoiceFavorite, VoiceFavoriteInput } from '@nodaro/shared/pipeline';
2
+ export { SharedVoice, Voice, VoiceClone, VoiceFavorite, VoiceFavoriteInput, VoiceFavoriteType, VoiceLibraryDescriptive, VoiceLibraryFacetCount, VoiceLibraryFacets, VoiceLibraryFacetsParams, VoiceLibraryParams, VoiceLibraryResponse, VoiceLibraryUseCase } from '@nodaro/shared/pipeline';
3
3
  import { AudioFxPreset } from '@nodaro/shared/media';
4
4
  export { AudioFxPreset } from '@nodaro/shared/media';
5
5
  import { DialogueProvider } from '@nodaro/shared/models';
@@ -7,13 +7,6 @@ import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.cjs';
7
7
  import '@nodaro/shared/apps';
8
8
  import '@nodaro/shared/organizations';
9
9
 
10
- /**
11
- * Re-export the shared voice types so SDK consumers don't have to add
12
- * `@nodaro/shared` as a second dependency just to type a `Voice` row, a
13
- * `VoiceClone`, or a `searchLibrary` call. Single source of truth lives in
14
- * `@nodaro/shared`.
15
- */
16
- /** Audio-FX preset union (reverb spaces / telephone / megaphone / echo / custom) — used by {@link VoiceChangerProInput.voiceFx}. */
17
10
  /**
18
11
  * Read access to ElevenLabs voices: the premade catalog plus the shared
19
12
  * community Voice Library (both public GETs, no body), and the signed-in
@@ -34,6 +27,20 @@ declare class VoicesResource {
34
27
  * drives "load more" pagination.
35
28
  */
36
29
  searchLibrary(params?: VoiceLibraryParams): Promise<VoiceLibraryResponse>;
30
+ /**
31
+ * How many Voice Library voices each category (`use_cases`), tone
32
+ * (`descriptives`), language, gender, age, accent and category has, for the
33
+ * filters you hold (`GET /v1/voices/library/facets`) — one public call,
34
+ * no credits, that fills a whole picker screen: counts on the categories,
35
+ * tones with no voices hidden, "no Hebrew voices here" said before the
36
+ * click. `total` applies every filter; each facet's counts apply every
37
+ * filter except its own, so every category keeps its count while one is
38
+ * chosen. Counted over the platform's copy of the library (`updatedAt`),
39
+ * refreshed on a schedule; with `search`, a lower estimate (`approximate`).
40
+ * Answers `503 voice_library_warming` for the few minutes after a
41
+ * deployment first reads the library; retry after `Retry-After` seconds.
42
+ */
43
+ libraryFacets(params?: VoiceLibraryFacetsParams): Promise<VoiceLibraryFacets>;
37
44
  /**
38
45
  * List the signed-in user's voice clones (`GET /v1/voice-clones`). The route
39
46
  * wraps the rows in `{ voiceClones }`; we unwrap to the bare array.
@@ -52,6 +59,22 @@ declare class VoicesResource {
52
59
  }): Promise<VoiceClone>;
53
60
  /** Delete one of the user's voice clones (`DELETE /v1/voice-clones/:id`). */
54
61
  deleteClone(id: string): Promise<void>;
62
+ /**
63
+ * The signed-in user's favorite voices (`GET /v1/voices/favorites`), newest
64
+ * first. Each carries the `voiceId` + `voiceType` a text-to-speech run takes
65
+ * and the `name` / `previewUrl` snapshot it was starred with, so a favorites
66
+ * list renders with no second lookup. OAuth apps need `assets:read`.
67
+ */
68
+ listFavorites(): Promise<VoiceFavorite[]>;
69
+ /**
70
+ * Star a voice (`PUT /v1/voices/favorites/:voiceId`) — a premade voice, a
71
+ * Voice Library voice or one of the user's clones — with the snapshot to show
72
+ * it by. Idempotent: starring it again refreshes the snapshot. OAuth apps need
73
+ * `assets:write`. Answers `409 limit_reached` past the per-user cap.
74
+ */
75
+ favorite(input: VoiceFavoriteInput): Promise<VoiceFavorite>;
76
+ /** Unstar a voice (`DELETE /v1/voices/favorites/:voiceId`). Idempotent. */
77
+ unfavorite(voiceId: string): Promise<void>;
55
78
  /**
56
79
  * Replace the voice in a recording — or in a whole talking video — with a
57
80
  * different voice (`POST /v1/voice-changer`). Pass `audioUrl` to revoice