@nodaro/sdk 2.65.0 → 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 (189) 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-S4BERJXU.js → chunk-GQU5FXYB.js} +4 -4
  20. package/dist/{chunk-S4BERJXU.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-DHJRS65Q.js → chunk-LQMJFFST.js} +6 -4
  38. package/dist/chunk-LQMJFFST.js.map +1 -0
  39. package/dist/{chunk-QUYZCZ33.js → chunk-LTRJNCXB.js} +23 -19
  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-VQOUF4F5.js → chunk-MCXZV3CW.js} +20 -9
  44. package/dist/chunk-MCXZV3CW.js.map +1 -0
  45. package/dist/{chunk-XZYJBJ2K.cjs → chunk-MOGPM5RM.cjs} +38 -34
  46. package/dist/chunk-MOGPM5RM.cjs.map +1 -0
  47. package/dist/{chunk-T23YD5BR.js → chunk-MYUJEVP6.js} +3 -3
  48. package/dist/{chunk-T23YD5BR.js.map → chunk-MYUJEVP6.js.map} +1 -1
  49. package/dist/chunk-N4FKPJ7J.cjs +4 -0
  50. package/dist/chunk-N4FKPJ7J.cjs.map +1 -0
  51. package/dist/{chunk-TBFA6QPH.cjs → chunk-O6LQV6BD.cjs} +4 -4
  52. package/dist/{chunk-TBFA6QPH.cjs.map → chunk-O6LQV6BD.cjs.map} +1 -1
  53. package/dist/{chunk-2DZWWIJ4.cjs → chunk-OI4RCW2J.cjs} +2 -2
  54. package/dist/chunk-OI4RCW2J.cjs.map +1 -0
  55. package/dist/{chunk-UIM5SLPP.cjs → chunk-PHBOLYRT.cjs} +4 -4
  56. package/dist/{chunk-UIM5SLPP.cjs.map → chunk-PHBOLYRT.cjs.map} +1 -1
  57. package/dist/{chunk-A5UGBCAW.js → chunk-Q6HMDIC4.js} +3 -3
  58. package/dist/{chunk-A5UGBCAW.js.map → chunk-Q6HMDIC4.js.map} +1 -1
  59. package/dist/{chunk-P2JYDWZT.cjs → chunk-QHCVKMSF.cjs} +3 -2
  60. package/dist/chunk-QHCVKMSF.cjs.map +1 -0
  61. package/dist/{chunk-7QOCWJKD.cjs → chunk-RPV4QBHS.cjs} +2 -2
  62. package/dist/{chunk-7QOCWJKD.cjs.map → chunk-RPV4QBHS.cjs.map} +1 -1
  63. package/dist/chunk-RQ6GE7KG.js +3 -0
  64. package/dist/chunk-RQ6GE7KG.js.map +1 -0
  65. package/dist/{chunk-QTO2U6JZ.cjs → chunk-S5BOU6JG.cjs} +6 -4
  66. package/dist/chunk-S5BOU6JG.cjs.map +1 -0
  67. package/dist/{chunk-3CB4WYEY.cjs → chunk-S5VSDJAM.cjs} +51 -7
  68. package/dist/chunk-S5VSDJAM.cjs.map +1 -0
  69. package/dist/{chunk-WNXX3B2A.js → chunk-SNPDM72K.js} +3 -2
  70. package/dist/chunk-SNPDM72K.js.map +1 -0
  71. package/dist/{chunk-ZVG5ODVY.cjs → chunk-UBZ2XVHM.cjs} +5 -5
  72. package/dist/{chunk-ZVG5ODVY.cjs.map → chunk-UBZ2XVHM.cjs.map} +1 -1
  73. package/dist/{chunk-WUKIJJG2.cjs → chunk-W63ZKKYT.cjs} +2 -2
  74. package/dist/chunk-W63ZKKYT.cjs.map +1 -0
  75. package/dist/{chunk-GRATHB3C.cjs → chunk-WSMZ3AAU.cjs} +9 -9
  76. package/dist/{chunk-GRATHB3C.cjs.map → chunk-WSMZ3AAU.cjs.map} +1 -1
  77. package/dist/{chunk-GGIWDFER.cjs → chunk-XSYNVD3X.cjs} +20 -9
  78. package/dist/chunk-XSYNVD3X.cjs.map +1 -0
  79. package/dist/{chunk-P2C33IOF.js → chunk-YEOK5A5H.js} +6 -3
  80. package/dist/chunk-YEOK5A5H.js.map +1 -0
  81. package/dist/entries/billing.cjs +2 -2
  82. package/dist/entries/billing.d.cts +18 -7
  83. package/dist/entries/billing.d.ts +18 -7
  84. package/dist/entries/billing.js +1 -1
  85. package/dist/entries/cast-swap.cjs +2 -2
  86. package/dist/entries/cast-swap.d.cts +22 -17
  87. package/dist/entries/cast-swap.d.ts +22 -17
  88. package/dist/entries/cast-swap.js +1 -1
  89. package/dist/entries/characters.d.cts +1 -1
  90. package/dist/entries/characters.d.ts +1 -1
  91. package/dist/entries/client.cjs +26 -25
  92. package/dist/entries/client.d.cts +4 -1
  93. package/dist/entries/client.d.ts +4 -1
  94. package/dist/entries/client.js +21 -20
  95. package/dist/entries/copilot.cjs +4 -4
  96. package/dist/entries/copilot.js +3 -3
  97. package/dist/entries/core.cjs +6 -6
  98. package/dist/entries/core.js +2 -2
  99. package/dist/entries/creatures.d.cts +1 -1
  100. package/dist/entries/creatures.d.ts +1 -1
  101. package/dist/entries/credits.cjs +2 -2
  102. package/dist/entries/credits.d.cts +89 -1
  103. package/dist/entries/credits.d.ts +89 -1
  104. package/dist/entries/credits.js +1 -1
  105. package/dist/entries/edit.cjs +7 -7
  106. package/dist/entries/edit.js +2 -2
  107. package/dist/entries/errors.cjs +28 -28
  108. package/dist/entries/errors.d.cts +6 -3
  109. package/dist/entries/errors.d.ts +6 -3
  110. package/dist/entries/errors.js +1 -1
  111. package/dist/entries/gallery.cjs +2 -2
  112. package/dist/entries/gallery.d.cts +5 -0
  113. package/dist/entries/gallery.d.ts +5 -0
  114. package/dist/entries/gallery.js +1 -1
  115. package/dist/entries/jobs.cjs +2 -2
  116. package/dist/entries/jobs.d.cts +26 -1
  117. package/dist/entries/jobs.d.ts +26 -1
  118. package/dist/entries/jobs.js +1 -1
  119. package/dist/entries/library.cjs +2 -2
  120. package/dist/entries/library.d.cts +6 -0
  121. package/dist/entries/library.d.ts +6 -0
  122. package/dist/entries/library.js +1 -1
  123. package/dist/entries/locations.d.cts +1 -1
  124. package/dist/entries/locations.d.ts +1 -1
  125. package/dist/entries/media.cjs +4 -4
  126. package/dist/entries/media.js +3 -3
  127. package/dist/entries/models.cjs +2 -2
  128. package/dist/entries/models.d.cts +2 -0
  129. package/dist/entries/models.d.ts +2 -0
  130. package/dist/entries/models.js +1 -1
  131. package/dist/entries/nodes.cjs +3 -3
  132. package/dist/entries/nodes.d.cts +1 -1
  133. package/dist/entries/nodes.d.ts +1 -1
  134. package/dist/entries/nodes.js +2 -2
  135. package/dist/entries/objects.d.cts +1 -1
  136. package/dist/entries/objects.d.ts +1 -1
  137. package/dist/entries/scene3d.d.cts +2 -2
  138. package/dist/entries/scene3d.d.ts +2 -2
  139. package/dist/entries/studio.cjs +5 -5
  140. package/dist/entries/studio.js +2 -2
  141. package/dist/entries/surface.cjs +13 -0
  142. package/dist/entries/surface.cjs.map +1 -0
  143. package/dist/entries/surface.d.cts +47 -0
  144. package/dist/entries/surface.d.ts +47 -0
  145. package/dist/entries/surface.js +4 -0
  146. package/dist/entries/surface.js.map +1 -0
  147. package/dist/entries/uploads.cjs +2 -2
  148. package/dist/entries/uploads.d.cts +4 -1
  149. package/dist/entries/uploads.d.ts +4 -1
  150. package/dist/entries/uploads.js +1 -1
  151. package/dist/entries/voices.cjs +2 -2
  152. package/dist/entries/voices.d.cts +32 -9
  153. package/dist/entries/voices.d.ts +32 -9
  154. package/dist/entries/voices.js +1 -1
  155. package/dist/index.cjs +89 -83
  156. package/dist/index.d.cts +5 -4
  157. package/dist/index.d.ts +5 -4
  158. package/dist/index.js +24 -22
  159. package/dist/{nodes-BXL3qXlY.d.ts → nodes-C9O2tdGH.d.ts} +17 -1
  160. package/dist/{nodes-Dx8rpU12.d.cts → nodes-WkaQjuwS.d.cts} +17 -1
  161. package/dist/supabase-browser.cjs +43 -5
  162. package/dist/supabase-browser.cjs.map +1 -1
  163. package/dist/supabase-browser.d.cts +11 -0
  164. package/dist/supabase-browser.d.ts +11 -0
  165. package/dist/supabase-browser.js +43 -5
  166. package/dist/supabase-browser.js.map +1 -1
  167. package/package.json +8 -3
  168. package/dist/chunk-2DZWWIJ4.cjs.map +0 -1
  169. package/dist/chunk-3CB4WYEY.cjs.map +0 -1
  170. package/dist/chunk-4BAHF762.cjs.map +0 -1
  171. package/dist/chunk-7QK2NXJA.js.map +0 -1
  172. package/dist/chunk-CRIQLLR2.js.map +0 -1
  173. package/dist/chunk-DHJRS65Q.js.map +0 -1
  174. package/dist/chunk-DR5WM36L.cjs.map +0 -1
  175. package/dist/chunk-GGIWDFER.cjs.map +0 -1
  176. package/dist/chunk-HW3CSUVC.cjs.map +0 -1
  177. package/dist/chunk-JDEZHITT.js.map +0 -1
  178. package/dist/chunk-L3RTC4FL.js.map +0 -1
  179. package/dist/chunk-P2C33IOF.js.map +0 -1
  180. package/dist/chunk-P2JYDWZT.cjs.map +0 -1
  181. package/dist/chunk-P6E4QDJN.js.map +0 -1
  182. package/dist/chunk-QTO2U6JZ.cjs.map +0 -1
  183. package/dist/chunk-QUYZCZ33.js.map +0 -1
  184. package/dist/chunk-SVWEWBXI.js.map +0 -1
  185. package/dist/chunk-UPGZTLK7.cjs.map +0 -1
  186. package/dist/chunk-VQOUF4F5.js.map +0 -1
  187. package/dist/chunk-WNXX3B2A.js.map +0 -1
  188. package/dist/chunk-WUKIJJG2.cjs.map +0 -1
  189. package/dist/chunk-XZYJBJ2K.cjs.map +0 -1
@@ -47,13 +47,14 @@ declare class ModelUnavailableError extends ForbiddenError {
47
47
  readonly code: ModelUnavailableCode;
48
48
  constructor(code: ModelUnavailableCode, message?: string);
49
49
  }
50
- type ImportRefusalCode = "imports_blocked" | "import_source_disabled" | "rights_confirmation_required" | "rights_authorization_required" | "rights_confirmation_not_found" | "rights_confirmation_mismatch" | "rights_confirmation_stale" | "rights_confirmation_expired" | "rights_confirmation_used";
50
+ type ImportRefusalCode = "imports_blocked" | "import_source_disabled" | "link_imports_disabled" | "rights_confirmation_required" | "rights_authorization_required" | "rights_confirmation_not_found" | "rights_confirmation_mismatch" | "rights_confirmation_stale" | "rights_confirmation_expired" | "rights_confirmation_used";
51
51
  /**
52
52
  * The 403 codes {@link ImportRefusedError} carries: imports of links are
53
53
  * blocked on the account, or the account is closed, under the deployment's
54
54
  * repeat-infringer policy (`imports_blocked`; the message says until when),
55
55
  * the link's site is disabled by an administrator (`import_source_disabled`),
56
- * or the content rights confirmation is missing while the deployment requires
56
+ * the deployment turned link imports off (`link_imports_disabled`), or the
57
+ * content rights confirmation is missing while the deployment requires
57
58
  * one (`rights_confirmation_required`; for an import through an API key or an
58
59
  * AI agent with no standing authorization, `rights_authorization_required`),
59
60
  * does not exist, is for another link or account, was made under an older
@@ -72,7 +73,9 @@ declare const IMPORT_REFUSAL_CODES: ReadonlySet<ImportRefusalCode>;
72
73
  * their own session); `imports_blocked` lasts until the date its message names
73
74
  * or until an administrator lifts it, and the account's owner reads why in
74
75
  * their settings; an `import_source_disabled` site has no remedy on the
75
- * caller's side, and the message names no site.
76
+ * caller's side, and the message names no site; `link_imports_disabled` means
77
+ * a link to another site is refused on this deployment altogether (upload the
78
+ * file instead).
76
79
  */
77
80
  declare class ImportRefusedError extends ForbiddenError {
78
81
  readonly code: ImportRefusalCode;
@@ -1,4 +1,4 @@
1
1
  import '../chunk-CJFIOVBA.js';
2
- 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-WNXX3B2A.js';
2
+ 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-SNPDM72K.js';
3
3
  //# sourceMappingURL=errors.js.map
4
4
  //# sourceMappingURL=errors.js.map
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-KAIE6WJB.cjs');
4
- var chunkWUKIJJG2_cjs = require('../chunk-WUKIJJG2.cjs');
4
+ var chunkW63ZKKYT_cjs = require('../chunk-W63ZKKYT.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "GalleryResource", {
9
9
  enumerable: true,
10
- get: function () { return chunkWUKIJJG2_cjs.GalleryResource; }
10
+ get: function () { return chunkW63ZKKYT_cjs.GalleryResource; }
11
11
  });
12
12
  //# sourceMappingURL=gallery.cjs.map
13
13
  //# sourceMappingURL=gallery.cjs.map
@@ -19,6 +19,11 @@ interface GalleryItem {
19
19
  readonly createdAt: string;
20
20
  readonly prompt: string | null;
21
21
  readonly model: string | null;
22
+ /**
23
+ * The owner's own name for the job (`client.jobs.rename`), or `null` until
24
+ * named. Public like the prompt beside it. Absent from an older server.
25
+ */
26
+ readonly title?: string | null;
22
27
  /** A private 720p Preview render (Apply EDL at proxy quality). Present only when true. */
23
28
  readonly preview?: true;
24
29
  }
@@ -19,6 +19,11 @@ interface GalleryItem {
19
19
  readonly createdAt: string;
20
20
  readonly prompt: string | null;
21
21
  readonly model: string | null;
22
+ /**
23
+ * The owner's own name for the job (`client.jobs.rename`), or `null` until
24
+ * named. Public like the prompt beside it. Absent from an older server.
25
+ */
26
+ readonly title?: string | null;
22
27
  /** A private 720p Preview render (Apply EDL at proxy quality). Present only when true. */
23
28
  readonly preview?: true;
24
29
  }
@@ -1,4 +1,4 @@
1
1
  import '../chunk-C22RJDW3.js';
2
- export { GalleryResource } from '../chunk-JDEZHITT.js';
2
+ export { GalleryResource } from '../chunk-MC77SD42.js';
3
3
  //# sourceMappingURL=gallery.js.map
4
4
  //# sourceMappingURL=gallery.js.map
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-EHRWTYGR.cjs');
4
- var chunkHW3CSUVC_cjs = require('../chunk-HW3CSUVC.cjs');
4
+ var chunkLCQIQFWD_cjs = require('../chunk-LCQIQFWD.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "JobsResource", {
9
9
  enumerable: true,
10
- get: function () { return chunkHW3CSUVC_cjs.JobsResource; }
10
+ get: function () { return chunkLCQIQFWD_cjs.JobsResource; }
11
11
  });
12
12
  //# sourceMappingURL=jobs.cjs.map
13
13
  //# sourceMappingURL=jobs.cjs.map
@@ -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 };
@@ -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"}