@nodaro/sdk 2.60.1 → 2.62.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 (173) hide show
  1. package/dist/{chunk-Z3ZKFI2M.js → chunk-22XXTB2R.js} +2 -2
  2. package/dist/chunk-22XXTB2R.js.map +1 -0
  3. package/dist/{chunk-ALDXFMD7.js → chunk-2ENKGVRS.js} +17 -6
  4. package/dist/chunk-2ENKGVRS.js.map +1 -0
  5. package/dist/chunk-2M4VYNSE.cjs +4 -0
  6. package/dist/chunk-2M4VYNSE.cjs.map +1 -0
  7. package/dist/chunk-3OARKXWT.cjs +53 -0
  8. package/dist/chunk-3OARKXWT.cjs.map +1 -0
  9. package/dist/{chunk-JJMQ2EVL.js → chunk-5AS4LKEF.js} +23 -3
  10. package/dist/chunk-5AS4LKEF.js.map +1 -0
  11. package/dist/{chunk-MWSD2FSG.cjs → chunk-5LI4CVJB.cjs} +2 -2
  12. package/dist/chunk-5LI4CVJB.cjs.map +1 -0
  13. package/dist/{chunk-GSE7SB3I.cjs → chunk-7GC5LKCR.cjs} +24 -2
  14. package/dist/chunk-7GC5LKCR.cjs.map +1 -0
  15. package/dist/{chunk-X24USXOQ.js → chunk-A42R7UT7.js} +2 -2
  16. package/dist/chunk-A42R7UT7.js.map +1 -0
  17. package/dist/{chunk-3Y5TDB5K.cjs → chunk-ASPUFRHB.cjs} +11 -7
  18. package/dist/chunk-ASPUFRHB.cjs.map +1 -0
  19. package/dist/{chunk-3JJP6BR2.js → chunk-BCZGMK5P.js} +4 -4
  20. package/dist/{chunk-3JJP6BR2.js.map → chunk-BCZGMK5P.js.map} +1 -1
  21. package/dist/{chunk-HPAHAE4U.cjs → chunk-DCMB5XOH.cjs} +5 -5
  22. package/dist/{chunk-HPAHAE4U.cjs.map → chunk-DCMB5XOH.cjs.map} +1 -1
  23. package/dist/{chunk-RCD4HDBI.js → chunk-DIPHH4OP.js} +3 -3
  24. package/dist/{chunk-RCD4HDBI.js.map → chunk-DIPHH4OP.js.map} +1 -1
  25. package/dist/{chunk-GWTKYJJO.cjs → chunk-DODUCQ6B.cjs} +36 -25
  26. package/dist/chunk-DODUCQ6B.cjs.map +1 -0
  27. package/dist/{chunk-YYMX3VN7.js → chunk-DT3Q22NZ.js} +3 -3
  28. package/dist/{chunk-YYMX3VN7.js.map → chunk-DT3Q22NZ.js.map} +1 -1
  29. package/dist/{chunk-COCKKMNP.cjs → chunk-G4AFHCNA.cjs} +2 -2
  30. package/dist/chunk-G4AFHCNA.cjs.map +1 -0
  31. package/dist/{chunk-TVPYDC5T.cjs → chunk-GGIWDFER.cjs} +2 -2
  32. package/dist/chunk-GGIWDFER.cjs.map +1 -0
  33. package/dist/{chunk-GDUEOKBF.cjs → chunk-GSKGWWBR.cjs} +4 -4
  34. package/dist/{chunk-GDUEOKBF.cjs.map → chunk-GSKGWWBR.cjs.map} +1 -1
  35. package/dist/{chunk-TSM3S2QS.cjs → chunk-IVM4WMMD.cjs} +5 -5
  36. package/dist/{chunk-TSM3S2QS.cjs.map → chunk-IVM4WMMD.cjs.map} +1 -1
  37. package/dist/{chunk-K4RQOSJH.js → chunk-J2DBYYXC.js} +2 -2
  38. package/dist/chunk-J2DBYYXC.js.map +1 -0
  39. package/dist/{chunk-DOMNKVKA.cjs → chunk-JW5FH4TE.cjs} +9 -9
  40. package/dist/{chunk-DOMNKVKA.cjs.map → chunk-JW5FH4TE.cjs.map} +1 -1
  41. package/dist/chunk-K2VWXAGK.js +51 -0
  42. package/dist/chunk-K2VWXAGK.js.map +1 -0
  43. package/dist/{chunk-KU3UITCU.cjs → chunk-KCQ3I6NW.cjs} +5 -5
  44. package/dist/{chunk-KU3UITCU.cjs.map → chunk-KCQ3I6NW.cjs.map} +1 -1
  45. package/dist/chunk-NMLYZWIW.cjs +4 -0
  46. package/dist/chunk-NMLYZWIW.cjs.map +1 -0
  47. package/dist/{chunk-VTL4DBX4.js → chunk-NQXBWK2D.js} +3 -3
  48. package/dist/{chunk-VTL4DBX4.js.map → chunk-NQXBWK2D.js.map} +1 -1
  49. package/dist/{chunk-DTYN7QAZ.js → chunk-P2C33IOF.js} +9 -4
  50. package/dist/chunk-P2C33IOF.js.map +1 -0
  51. package/dist/chunk-RKW3N463.cjs +83 -0
  52. package/dist/chunk-RKW3N463.cjs.map +1 -0
  53. package/dist/{chunk-ND7JMM5H.js → chunk-SEETG3EM.js} +10 -6
  54. package/dist/chunk-SEETG3EM.js.map +1 -0
  55. package/dist/{chunk-7DJFJZ35.cjs → chunk-SXV6OBKE.cjs} +41 -33
  56. package/dist/chunk-SXV6OBKE.cjs.map +1 -0
  57. package/dist/chunk-TLTPIS2A.js +81 -0
  58. package/dist/chunk-TLTPIS2A.js.map +1 -0
  59. package/dist/chunk-UIBY7JVJ.js +3 -0
  60. package/dist/chunk-UIBY7JVJ.js.map +1 -0
  61. package/dist/{chunk-NOZWIS7M.cjs → chunk-UPGZTLK7.cjs} +9 -4
  62. package/dist/chunk-UPGZTLK7.cjs.map +1 -0
  63. package/dist/{chunk-TO2RA7BF.js → chunk-UR7S4GGS.js} +29 -21
  64. package/dist/chunk-UR7S4GGS.js.map +1 -0
  65. package/dist/{chunk-MUHRK4OI.js → chunk-VAEXSUUY.js} +3 -3
  66. package/dist/{chunk-MUHRK4OI.js.map → chunk-VAEXSUUY.js.map} +1 -1
  67. package/dist/{chunk-ZVKEPVDQ.js → chunk-VQOUF4F5.js} +2 -2
  68. package/dist/chunk-VQOUF4F5.js.map +1 -0
  69. package/dist/{chunk-SBV5MWEL.cjs → chunk-VUTNNRDW.cjs} +2 -2
  70. package/dist/chunk-VUTNNRDW.cjs.map +1 -0
  71. package/dist/{chunk-VKE6UEDY.cjs → chunk-WYX44JHE.cjs} +12 -2
  72. package/dist/chunk-WYX44JHE.cjs.map +1 -0
  73. package/dist/{chunk-7OUDMUXF.js → chunk-X4QICOOM.js} +12 -2
  74. package/dist/chunk-X4QICOOM.js.map +1 -0
  75. package/dist/chunk-XV4MDWHF.js +3 -0
  76. package/dist/chunk-XV4MDWHF.js.map +1 -0
  77. package/dist/entries/billing.cjs +2 -2
  78. package/dist/entries/billing.d.cts +5 -1
  79. package/dist/entries/billing.d.ts +5 -1
  80. package/dist/entries/billing.js +1 -1
  81. package/dist/entries/cast-swap.cjs +2 -2
  82. package/dist/entries/cast-swap.d.cts +50 -8
  83. package/dist/entries/cast-swap.d.ts +50 -8
  84. package/dist/entries/cast-swap.js +1 -1
  85. package/dist/entries/characters.d.cts +1 -1
  86. package/dist/entries/characters.d.ts +1 -1
  87. package/dist/entries/client.cjs +29 -27
  88. package/dist/entries/client.d.cts +7 -1
  89. package/dist/entries/client.d.ts +7 -1
  90. package/dist/entries/client.js +24 -22
  91. package/dist/entries/content-rights.cjs +13 -0
  92. package/dist/entries/content-rights.cjs.map +1 -0
  93. package/dist/entries/content-rights.d.cts +82 -0
  94. package/dist/entries/content-rights.d.ts +82 -0
  95. package/dist/entries/content-rights.js +4 -0
  96. package/dist/entries/content-rights.js.map +1 -0
  97. package/dist/entries/copilot.cjs +4 -4
  98. package/dist/entries/copilot.js +3 -3
  99. package/dist/entries/core.cjs +6 -6
  100. package/dist/entries/core.js +2 -2
  101. package/dist/entries/creatures.d.cts +1 -1
  102. package/dist/entries/creatures.d.ts +1 -1
  103. package/dist/entries/edit.cjs +7 -7
  104. package/dist/entries/edit.js +2 -2
  105. package/dist/entries/errors.cjs +34 -26
  106. package/dist/entries/errors.d.cts +31 -2
  107. package/dist/entries/errors.d.ts +31 -2
  108. package/dist/entries/errors.js +1 -1
  109. package/dist/entries/executions.cjs +4 -4
  110. package/dist/entries/executions.d.cts +8 -0
  111. package/dist/entries/executions.d.ts +8 -0
  112. package/dist/entries/executions.js +1 -1
  113. package/dist/entries/jobs.cjs +2 -2
  114. package/dist/entries/jobs.d.cts +50 -1
  115. package/dist/entries/jobs.d.ts +50 -1
  116. package/dist/entries/jobs.js +1 -1
  117. package/dist/entries/locations.d.cts +1 -1
  118. package/dist/entries/locations.d.ts +1 -1
  119. package/dist/entries/media.cjs +4 -4
  120. package/dist/entries/media.d.cts +8 -3
  121. package/dist/entries/media.d.ts +8 -3
  122. package/dist/entries/media.js +3 -3
  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/pipelines.cjs +2 -2
  130. package/dist/entries/pipelines.d.cts +7 -0
  131. package/dist/entries/pipelines.d.ts +7 -0
  132. package/dist/entries/pipelines.js +1 -1
  133. package/dist/entries/scene3d.d.cts +2 -2
  134. package/dist/entries/scene3d.d.ts +2 -2
  135. package/dist/entries/studio.cjs +5 -5
  136. package/dist/entries/studio.js +2 -2
  137. package/dist/entries/trend-radar.cjs +13 -0
  138. package/dist/entries/trend-radar.cjs.map +1 -0
  139. package/dist/entries/trend-radar.d.cts +243 -0
  140. package/dist/entries/trend-radar.d.ts +243 -0
  141. package/dist/entries/trend-radar.js +4 -0
  142. package/dist/entries/trend-radar.js.map +1 -0
  143. package/dist/entries/uploads.cjs +2 -2
  144. package/dist/entries/uploads.d.cts +8 -1
  145. package/dist/entries/uploads.d.ts +8 -1
  146. package/dist/entries/uploads.js +1 -1
  147. package/dist/index.cjs +135 -115
  148. package/dist/index.d.cts +6 -4
  149. package/dist/index.d.ts +6 -4
  150. package/dist/index.js +33 -29
  151. package/dist/{nodes-Cy6dmQEz.d.ts → nodes-BXL3qXlY.d.ts} +10 -2
  152. package/dist/{nodes-Di-Z7-vr.d.cts → nodes-Dx8rpU12.d.cts} +10 -2
  153. package/package.json +12 -2
  154. package/dist/chunk-3Y5TDB5K.cjs.map +0 -1
  155. package/dist/chunk-7DJFJZ35.cjs.map +0 -1
  156. package/dist/chunk-7OUDMUXF.js.map +0 -1
  157. package/dist/chunk-ALDXFMD7.js.map +0 -1
  158. package/dist/chunk-COCKKMNP.cjs.map +0 -1
  159. package/dist/chunk-DTYN7QAZ.js.map +0 -1
  160. package/dist/chunk-GSE7SB3I.cjs.map +0 -1
  161. package/dist/chunk-GWTKYJJO.cjs.map +0 -1
  162. package/dist/chunk-JJMQ2EVL.js.map +0 -1
  163. package/dist/chunk-K4RQOSJH.js.map +0 -1
  164. package/dist/chunk-MWSD2FSG.cjs.map +0 -1
  165. package/dist/chunk-ND7JMM5H.js.map +0 -1
  166. package/dist/chunk-NOZWIS7M.cjs.map +0 -1
  167. package/dist/chunk-SBV5MWEL.cjs.map +0 -1
  168. package/dist/chunk-TO2RA7BF.js.map +0 -1
  169. package/dist/chunk-TVPYDC5T.cjs.map +0 -1
  170. package/dist/chunk-VKE6UEDY.cjs.map +0 -1
  171. package/dist/chunk-X24USXOQ.js.map +0 -1
  172. package/dist/chunk-Z3ZKFI2M.js.map +0 -1
  173. package/dist/chunk-ZVKEPVDQ.js.map +0 -1
@@ -47,6 +47,33 @@ declare class ModelUnavailableError extends ForbiddenError {
47
47
  readonly code: ModelUnavailableCode;
48
48
  constructor(code: ModelUnavailableCode, message?: string);
49
49
  }
50
+ type ImportRefusalCode = "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";
51
+ /**
52
+ * The 403 codes {@link ImportRefusedError} carries: the link's site is
53
+ * disabled by an administrator (`import_source_disabled`), or the content
54
+ * rights confirmation is missing while the deployment requires one
55
+ * (`rights_confirmation_required`; for an import through an API key or an AI
56
+ * agent with no standing authorization, `rights_authorization_required`), does
57
+ * not exist, is for another link or account, was made under an older
58
+ * declaration, expired, or was used for an import already.
59
+ */
60
+ declare const IMPORT_REFUSAL_CODES: ReadonlySet<ImportRefusalCode>;
61
+ /**
62
+ * HTTP 403 refusing an IMPORT OF A LINK (`media.downloadVideo`,
63
+ * `uploads.importUrl`, the audio imports): the content rights check or the
64
+ * site's policy said no, before anything was fetched. A
65
+ * {@link ForbiddenError}, so existing catches keep working; `code` is the
66
+ * server's own code and says which. The remedy for a `rights_confirmation_*`
67
+ * code is `contentRights.confirm({ url })` again and a new import with the
68
+ * answered id; for `rights_authorization_required` it is the person giving
69
+ * the standing authorization in their settings (`contentRights.authorize`, in
70
+ * their own session); an `import_source_disabled` site has no remedy on the
71
+ * caller's side, and the message names no site.
72
+ */
73
+ declare class ImportRefusedError extends ForbiddenError {
74
+ readonly code: ImportRefusalCode;
75
+ constructor(code: ImportRefusalCode, message?: string);
76
+ }
50
77
  declare class NotFoundError extends NodaroError {
51
78
  constructor(message?: string);
52
79
  }
@@ -257,7 +284,9 @@ declare class JobFailedError extends NodaroError {
257
284
  }
258
285
  /**
259
286
  * `nodes.runAndWait` polled past its `maxMs` deadline without the job reaching
260
- * a terminal status. Not an HTTP error — `status` is 0; catch by type/`code`.
287
+ * a terminal status. Time the job spent `queued` (waiting for a free slot)
288
+ * does not count toward the deadline. Not an HTTP error — `status` is 0; catch
289
+ * by type/`code`.
261
290
  */
262
291
  declare class JobTimeoutError extends NodaroError {
263
292
  readonly jobId: string;
@@ -408,4 +437,4 @@ interface ApiErrorBody {
408
437
  }
409
438
  declare function throwFromResponse(status: number, body: ApiErrorBody): never;
410
439
 
411
- export { AlreadyRunningError, AppRunVersionChangedError, CREDIT_CAP_CODES, ContinuationPreviewPendingError, ContinuationRefusedError, type CreditCapCode, CreditCapExceededError, ForbiddenError, type HeldFinalRun, InsufficientCreditsError, JobAbortedError, JobBlockedError, JobFailedError, JobHeldError, JobTimeoutError, MODEL_UNAVAILABLE_CODES, type ModelUnavailableCode, ModelUnavailableError, NodaroError, NotFoundError, RateLimitedError, StorageExceededError, StudioOpError, StudioPreviewAppliedError, StudioPreviewUnavailable, UnauthorizedError, type WorkflowConflictCode, WorkflowConflictError, throwFromResponse };
440
+ export { AlreadyRunningError, AppRunVersionChangedError, CREDIT_CAP_CODES, ContinuationPreviewPendingError, ContinuationRefusedError, type CreditCapCode, CreditCapExceededError, ForbiddenError, type HeldFinalRun, IMPORT_REFUSAL_CODES, type ImportRefusalCode, ImportRefusedError, InsufficientCreditsError, JobAbortedError, JobBlockedError, JobFailedError, JobHeldError, JobTimeoutError, MODEL_UNAVAILABLE_CODES, type ModelUnavailableCode, ModelUnavailableError, NodaroError, NotFoundError, RateLimitedError, StorageExceededError, StudioOpError, StudioPreviewAppliedError, StudioPreviewUnavailable, UnauthorizedError, type WorkflowConflictCode, WorkflowConflictError, throwFromResponse };
@@ -1,4 +1,4 @@
1
1
  import '../chunk-CJFIOVBA.js';
2
- export { AlreadyRunningError, AppRunVersionChangedError, CREDIT_CAP_CODES, ContinuationPreviewPendingError, ContinuationRefusedError, CreditCapExceededError, ForbiddenError, InsufficientCreditsError, JobAbortedError, JobBlockedError, JobFailedError, JobHeldError, JobTimeoutError, MODEL_UNAVAILABLE_CODES, ModelUnavailableError, NodaroError, NotFoundError, RateLimitedError, StorageExceededError, StudioOpError, StudioPreviewAppliedError, StudioPreviewUnavailable, UnauthorizedError, WorkflowConflictError, throwFromResponse } from '../chunk-JJMQ2EVL.js';
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-5AS4LKEF.js';
3
3
  //# sourceMappingURL=errors.js.map
4
4
  //# sourceMappingURL=errors.js.map
@@ -1,21 +1,21 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-YOJ2XNQX.cjs');
4
- var chunkSBV5MWEL_cjs = require('../chunk-SBV5MWEL.cjs');
4
+ var chunkVUTNNRDW_cjs = require('../chunk-VUTNNRDW.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "ExecutionsResource", {
9
9
  enumerable: true,
10
- get: function () { return chunkSBV5MWEL_cjs.ExecutionsResource; }
10
+ get: function () { return chunkVUTNNRDW_cjs.ExecutionsResource; }
11
11
  });
12
12
  Object.defineProperty(exports, "OUTPUT_BEARING_NODE_STATUSES", {
13
13
  enumerable: true,
14
- get: function () { return chunkSBV5MWEL_cjs.OUTPUT_BEARING_NODE_STATUSES; }
14
+ get: function () { return chunkVUTNNRDW_cjs.OUTPUT_BEARING_NODE_STATUSES; }
15
15
  });
16
16
  Object.defineProperty(exports, "nodeStateMayCarryOutput", {
17
17
  enumerable: true,
18
- get: function () { return chunkSBV5MWEL_cjs.nodeStateMayCarryOutput; }
18
+ get: function () { return chunkVUTNNRDW_cjs.nodeStateMayCarryOutput; }
19
19
  });
20
20
  //# sourceMappingURL=executions.cjs.map
21
21
  //# sourceMappingURL=executions.cjs.map
@@ -1,6 +1,7 @@
1
1
  import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.cjs';
2
2
  import { ExecutionOutcome, NodeExecutionStateWire } from '@nodaro/shared/workflow';
3
3
  export { ExecutionOutcome, NodeExecutionStatus, NodeSkipReason, OUTPUT_BEARING_NODE_STATUSES, nodeStateMayCarryOutput } from '@nodaro/shared/workflow';
4
+ import { JobQueueInfo } from './jobs.cjs';
4
5
  import '@nodaro/shared/apps';
5
6
  import '@nodaro/shared/organizations';
6
7
 
@@ -63,6 +64,13 @@ interface WorkflowExecution {
63
64
  completedAt: string | null;
64
65
  createdAt: string;
65
66
  updatedAt: string;
67
+ /**
68
+ * Where the run stands in line while it waits for its turn (a free run
69
+ * slot); its `status` stays `pending` meanwhile. Present on `get()` only
70
+ * while it waits — a single-node job read here carries it while the job is
71
+ * `queued`. See {@link JobQueueInfo}.
72
+ */
73
+ queue?: JobQueueInfo;
66
74
  }
67
75
  /** Summary returned by `listForWorkflow()`. Excludes per-row `triggerData`/`updatedAt`. */
68
76
  interface WorkflowExecutionSummary {
@@ -1,6 +1,7 @@
1
1
  import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.js';
2
2
  import { ExecutionOutcome, NodeExecutionStateWire } from '@nodaro/shared/workflow';
3
3
  export { ExecutionOutcome, NodeExecutionStatus, NodeSkipReason, OUTPUT_BEARING_NODE_STATUSES, nodeStateMayCarryOutput } from '@nodaro/shared/workflow';
4
+ import { JobQueueInfo } from './jobs.js';
4
5
  import '@nodaro/shared/apps';
5
6
  import '@nodaro/shared/organizations';
6
7
 
@@ -63,6 +64,13 @@ interface WorkflowExecution {
63
64
  completedAt: string | null;
64
65
  createdAt: string;
65
66
  updatedAt: string;
67
+ /**
68
+ * Where the run stands in line while it waits for its turn (a free run
69
+ * slot); its `status` stays `pending` meanwhile. Present on `get()` only
70
+ * while it waits — a single-node job read here carries it while the job is
71
+ * `queued`. See {@link JobQueueInfo}.
72
+ */
73
+ queue?: JobQueueInfo;
66
74
  }
67
75
  /** Summary returned by `listForWorkflow()`. Excludes per-row `triggerData`/`updatedAt`. */
68
76
  interface WorkflowExecutionSummary {
@@ -1,4 +1,4 @@
1
1
  import '../chunk-OPR4TULG.js';
2
- export { ExecutionsResource, OUTPUT_BEARING_NODE_STATUSES, nodeStateMayCarryOutput } from '../chunk-Z3ZKFI2M.js';
2
+ export { ExecutionsResource, OUTPUT_BEARING_NODE_STATUSES, nodeStateMayCarryOutput } from '../chunk-22XXTB2R.js';
3
3
  //# sourceMappingURL=executions.js.map
4
4
  //# sourceMappingURL=executions.js.map
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-EHRWTYGR.cjs');
4
- var chunkMWSD2FSG_cjs = require('../chunk-MWSD2FSG.cjs');
4
+ var chunk5LI4CVJB_cjs = require('../chunk-5LI4CVJB.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "JobsResource", {
9
9
  enumerable: true,
10
- get: function () { return chunkMWSD2FSG_cjs.JobsResource; }
10
+ get: function () { return chunk5LI4CVJB_cjs.JobsResource; }
11
11
  });
12
12
  //# sourceMappingURL=jobs.cjs.map
13
13
  //# sourceMappingURL=jobs.cjs.map
@@ -116,6 +116,47 @@ type JobErrorHint = SafetyBlockHint | PolicyBlockHint | CreditsHint | InputRefus
116
116
  * free run) or hasn't reserved credits yet.
117
117
  */
118
118
  type CreditStatus = "reserved" | "committed" | "refunded";
119
+ /**
120
+ * Where a job (or a workflow run) that is waiting for a free concurrency slot
121
+ * stands in line — the `queue` field of a status read. Present ONLY while it
122
+ * waits (a job's `status` is `queued`); absent on every other read, and when
123
+ * the server could not read the line at that moment.
124
+ *
125
+ * HAND-COPIED MIRROR of `QueueInfo` in the platform's
126
+ * `backend/src/lib/concurrency-lanes/queue-info.ts` (its `lane`, `reason` and
127
+ * `upgradeHint` lists are `vocabulary.ts` there). Nothing links the two at
128
+ * build time: a change there has to be pasted here in the same change, with a
129
+ * changeset. Treat an unknown `lane` or `reason` like a known one you do not
130
+ * special-case.
131
+ */
132
+ interface JobQueueInfo {
133
+ /**
134
+ * The kind of work it waits to run as: `provider` (a call to an AI
135
+ * provider), `llm` (a text model call), `local` (processing on the
136
+ * platform's servers) or `run` (a whole workflow run or pipeline).
137
+ */
138
+ lane: "provider" | "llm" | "local" | "run";
139
+ /** Its place in line: `1` runs next. */
140
+ position: number;
141
+ /** How many of that kind its line runs at once (`0` for a `server_busy` wait). */
142
+ limit: number;
143
+ /** How many run in that line now (`0` for a `server_busy` wait). */
144
+ running: number;
145
+ /**
146
+ * `user_lane`: the line (yours, or the workspace's) is full. `provider_ceiling`:
147
+ * the provider is busy across the platform. `server_busy`: the server is busy
148
+ * across the platform.
149
+ */
150
+ reason: "user_lane" | "provider_ceiling" | "server_busy";
151
+ /** How long it has waited so far, in whole seconds, from when it first started waiting for a slot. */
152
+ waitedSeconds: number;
153
+ /**
154
+ * What would let more run at once — set only when the line itself is full
155
+ * (`reason: "user_lane"`): `"plan"`, a bigger plan; `"workspace"`, the
156
+ * workspace's plan (the work is billed to a workspace). `null` otherwise.
157
+ */
158
+ upgradeHint: "plan" | "workspace" | null;
159
+ }
119
160
  /** A job owner's rating of their job — set with {@link JobsResource.rate}. */
120
161
  type JobRating = "good" | "bad";
121
162
  /**
@@ -211,6 +252,12 @@ interface Job {
211
252
  * unrated. Returned by `get()` and `list()`; absent like `favorited`.
212
253
  */
213
254
  rating?: JobRating | null;
255
+ /**
256
+ * Where the job stands in line while it waits for a free slot: present on
257
+ * `get()` only while `status` is `queued` (never on `list()`). See
258
+ * {@link JobQueueInfo}.
259
+ */
260
+ queue?: JobQueueInfo;
214
261
  }
215
262
  interface CancelJobResult {
216
263
  success: true;
@@ -324,6 +371,8 @@ interface JobStatusResult {
324
371
  credit_status?: CreditStatus | null;
325
372
  /** When the job finished, on the server's clock; null until it has. */
326
373
  completed_at?: string | null;
374
+ /** Present only while `status` is `queued` (the job waits for a free slot). See {@link JobQueueInfo}. */
375
+ queue?: JobQueueInfo;
327
376
  }
328
377
  declare class JobsResource {
329
378
  private client;
@@ -407,4 +456,4 @@ declare class JobsResource {
407
456
  }>;
408
457
  }
409
458
 
410
- export { type CancelJobResult, type CreditStatus, type CreditsHint, type DeleteJobResult, type InputRefusedHint, type Job, type JobErrorHint, type JobFromUploadParams, type JobRating, type JobRatingFilter, type JobSessionRef, type JobSource, type JobStatus, type JobStatusResult, JobsResource, type ListJobsPage, type ListJobsParams, type PolicyBlockHint, type QueueTimeoutHint, type RateJobResult, type SafetyBlockHint };
459
+ 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 SafetyBlockHint };
@@ -116,6 +116,47 @@ type JobErrorHint = SafetyBlockHint | PolicyBlockHint | CreditsHint | InputRefus
116
116
  * free run) or hasn't reserved credits yet.
117
117
  */
118
118
  type CreditStatus = "reserved" | "committed" | "refunded";
119
+ /**
120
+ * Where a job (or a workflow run) that is waiting for a free concurrency slot
121
+ * stands in line — the `queue` field of a status read. Present ONLY while it
122
+ * waits (a job's `status` is `queued`); absent on every other read, and when
123
+ * the server could not read the line at that moment.
124
+ *
125
+ * HAND-COPIED MIRROR of `QueueInfo` in the platform's
126
+ * `backend/src/lib/concurrency-lanes/queue-info.ts` (its `lane`, `reason` and
127
+ * `upgradeHint` lists are `vocabulary.ts` there). Nothing links the two at
128
+ * build time: a change there has to be pasted here in the same change, with a
129
+ * changeset. Treat an unknown `lane` or `reason` like a known one you do not
130
+ * special-case.
131
+ */
132
+ interface JobQueueInfo {
133
+ /**
134
+ * The kind of work it waits to run as: `provider` (a call to an AI
135
+ * provider), `llm` (a text model call), `local` (processing on the
136
+ * platform's servers) or `run` (a whole workflow run or pipeline).
137
+ */
138
+ lane: "provider" | "llm" | "local" | "run";
139
+ /** Its place in line: `1` runs next. */
140
+ position: number;
141
+ /** How many of that kind its line runs at once (`0` for a `server_busy` wait). */
142
+ limit: number;
143
+ /** How many run in that line now (`0` for a `server_busy` wait). */
144
+ running: number;
145
+ /**
146
+ * `user_lane`: the line (yours, or the workspace's) is full. `provider_ceiling`:
147
+ * the provider is busy across the platform. `server_busy`: the server is busy
148
+ * across the platform.
149
+ */
150
+ reason: "user_lane" | "provider_ceiling" | "server_busy";
151
+ /** How long it has waited so far, in whole seconds, from when it first started waiting for a slot. */
152
+ waitedSeconds: number;
153
+ /**
154
+ * What would let more run at once — set only when the line itself is full
155
+ * (`reason: "user_lane"`): `"plan"`, a bigger plan; `"workspace"`, the
156
+ * workspace's plan (the work is billed to a workspace). `null` otherwise.
157
+ */
158
+ upgradeHint: "plan" | "workspace" | null;
159
+ }
119
160
  /** A job owner's rating of their job — set with {@link JobsResource.rate}. */
120
161
  type JobRating = "good" | "bad";
121
162
  /**
@@ -211,6 +252,12 @@ interface Job {
211
252
  * unrated. Returned by `get()` and `list()`; absent like `favorited`.
212
253
  */
213
254
  rating?: JobRating | null;
255
+ /**
256
+ * Where the job stands in line while it waits for a free slot: present on
257
+ * `get()` only while `status` is `queued` (never on `list()`). See
258
+ * {@link JobQueueInfo}.
259
+ */
260
+ queue?: JobQueueInfo;
214
261
  }
215
262
  interface CancelJobResult {
216
263
  success: true;
@@ -324,6 +371,8 @@ interface JobStatusResult {
324
371
  credit_status?: CreditStatus | null;
325
372
  /** When the job finished, on the server's clock; null until it has. */
326
373
  completed_at?: string | null;
374
+ /** Present only while `status` is `queued` (the job waits for a free slot). See {@link JobQueueInfo}. */
375
+ queue?: JobQueueInfo;
327
376
  }
328
377
  declare class JobsResource {
329
378
  private client;
@@ -407,4 +456,4 @@ declare class JobsResource {
407
456
  }>;
408
457
  }
409
458
 
410
- export { type CancelJobResult, type CreditStatus, type CreditsHint, type DeleteJobResult, type InputRefusedHint, type Job, type JobErrorHint, type JobFromUploadParams, type JobRating, type JobRatingFilter, type JobSessionRef, type JobSource, type JobStatus, type JobStatusResult, JobsResource, type ListJobsPage, type ListJobsParams, type PolicyBlockHint, type QueueTimeoutHint, type RateJobResult, type SafetyBlockHint };
459
+ 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 SafetyBlockHint };
@@ -1,4 +1,4 @@
1
1
  import '../chunk-I3TYBAOX.js';
2
- export { JobsResource } from '../chunk-X24USXOQ.js';
2
+ export { JobsResource } from '../chunk-A42R7UT7.js';
3
3
  //# sourceMappingURL=jobs.js.map
4
4
  //# sourceMappingURL=jobs.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-Di-Z7-vr.cjs';
5
+ import { l as GenerationSessionParams } from '../nodes-Dx8rpU12.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-Cy6dmQEz.js';
5
+ import { l as GenerationSessionParams } from '../nodes-BXL3qXlY.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 chunk3Y5TDB5K_cjs = require('../chunk-3Y5TDB5K.cjs');
5
- require('../chunk-KU3UITCU.cjs');
6
- require('../chunk-GSE7SB3I.cjs');
4
+ var chunkASPUFRHB_cjs = require('../chunk-ASPUFRHB.cjs');
5
+ require('../chunk-KCQ3I6NW.cjs');
6
+ require('../chunk-7GC5LKCR.cjs');
7
7
 
8
8
 
9
9
 
10
10
  Object.defineProperty(exports, "MediaResource", {
11
11
  enumerable: true,
12
- get: function () { return chunk3Y5TDB5K_cjs.MediaResource; }
12
+ get: function () { return chunkASPUFRHB_cjs.MediaResource; }
13
13
  });
14
14
  //# sourceMappingURL=media.cjs.map
15
15
  //# sourceMappingURL=media.cjs.map
@@ -101,8 +101,8 @@ declare class MediaResource {
101
101
  private client;
102
102
  constructor(client: NodaroClientCore);
103
103
  /**
104
- * Download a social video (YouTube / TikTok / Instagram / X / Facebook) into
105
- * your storage (`POST /v1/download-video`). `maxHeight` caps the resolution
104
+ * Download the video behind a link (the video's page, or a direct video file
105
+ * link) into your storage (`POST /v1/download-video`). `maxHeight` caps the resolution
106
106
  * (default "best"); `sectionStartSec` + `sectionEndSec` (both-or-neither) fetch
107
107
  * ONLY that time range instead of the whole video. A download that arrives
108
108
  * with no audio stream FAILS by default (it is usually a degraded source
@@ -112,7 +112,11 @@ declare class MediaResource {
112
112
  * `GET /v1/download-video/progress/:downloadId` (server-sent events) and the
113
113
  * finished file lands in your library. A section is fetched with ±3 s of
114
114
  * padding for the caller to trim; `exactSection: true` cuts it exactly at
115
- * `sectionStartSec`–`sectionEndSec` instead.
115
+ * `sectionStartSec`–`sectionEndSec` instead. `confirmationId` is the content
116
+ * rights confirmation the import is made under (`contentRights.confirm`):
117
+ * checked and consumed before the download starts, written on the stored
118
+ * file; a download without one is refused (`403 rights_confirmation_required`)
119
+ * once the deployment requires it, so a client always sends one.
116
120
  */
117
121
  downloadVideo(input: {
118
122
  url: string;
@@ -121,6 +125,7 @@ declare class MediaResource {
121
125
  sectionEndSec?: number;
122
126
  exactSection?: boolean;
123
127
  requireAudio?: boolean;
128
+ confirmationId?: string;
124
129
  }): Promise<{
125
130
  downloadId: string;
126
131
  }>;
@@ -101,8 +101,8 @@ declare class MediaResource {
101
101
  private client;
102
102
  constructor(client: NodaroClientCore);
103
103
  /**
104
- * Download a social video (YouTube / TikTok / Instagram / X / Facebook) into
105
- * your storage (`POST /v1/download-video`). `maxHeight` caps the resolution
104
+ * Download the video behind a link (the video's page, or a direct video file
105
+ * link) into your storage (`POST /v1/download-video`). `maxHeight` caps the resolution
106
106
  * (default "best"); `sectionStartSec` + `sectionEndSec` (both-or-neither) fetch
107
107
  * ONLY that time range instead of the whole video. A download that arrives
108
108
  * with no audio stream FAILS by default (it is usually a degraded source
@@ -112,7 +112,11 @@ declare class MediaResource {
112
112
  * `GET /v1/download-video/progress/:downloadId` (server-sent events) and the
113
113
  * finished file lands in your library. A section is fetched with ±3 s of
114
114
  * padding for the caller to trim; `exactSection: true` cuts it exactly at
115
- * `sectionStartSec`–`sectionEndSec` instead.
115
+ * `sectionStartSec`–`sectionEndSec` instead. `confirmationId` is the content
116
+ * rights confirmation the import is made under (`contentRights.confirm`):
117
+ * checked and consumed before the download starts, written on the stored
118
+ * file; a download without one is refused (`403 rights_confirmation_required`)
119
+ * once the deployment requires it, so a client always sends one.
116
120
  */
117
121
  downloadVideo(input: {
118
122
  url: string;
@@ -121,6 +125,7 @@ declare class MediaResource {
121
125
  sectionEndSec?: number;
122
126
  exactSection?: boolean;
123
127
  requireAudio?: boolean;
128
+ confirmationId?: string;
124
129
  }): Promise<{
125
130
  downloadId: string;
126
131
  }>;
@@ -1,6 +1,6 @@
1
1
  import '../chunk-ES2E65HT.js';
2
- export { MediaResource } from '../chunk-ND7JMM5H.js';
3
- import '../chunk-YYMX3VN7.js';
4
- import '../chunk-JJMQ2EVL.js';
2
+ export { MediaResource } from '../chunk-SEETG3EM.js';
3
+ import '../chunk-DT3Q22NZ.js';
4
+ import '../chunk-5AS4LKEF.js';
5
5
  //# sourceMappingURL=media.js.map
6
6
  //# sourceMappingURL=media.js.map
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var chunk7CK6I4CT_cjs = require('../chunk-7CK6I4CT.cjs');
4
- var chunkGWTKYJJO_cjs = require('../chunk-GWTKYJJO.cjs');
5
- require('../chunk-GSE7SB3I.cjs');
4
+ var chunkDODUCQ6B_cjs = require('../chunk-DODUCQ6B.cjs');
5
+ require('../chunk-7GC5LKCR.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 chunkGWTKYJJO_cjs.NodesResource; }
19
+ get: function () { return chunkDODUCQ6B_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-Di-Z7-vr.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-Dx8rpU12.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-Cy6dmQEz.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-BXL3qXlY.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-ALDXFMD7.js';
3
- import '../chunk-JJMQ2EVL.js';
2
+ export { NodesResource } from '../chunk-2ENKGVRS.js';
3
+ import '../chunk-5AS4LKEF.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-Di-Z7-vr.cjs';
5
+ import { l as GenerationSessionParams } from '../nodes-Dx8rpU12.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-Cy6dmQEz.js';
5
+ import { l as GenerationSessionParams } from '../nodes-BXL3qXlY.js';
6
6
  import '@nodaro/shared/apps';
7
7
  import '@nodaro/shared/organizations';
8
8
  import '@nodaro/shared/types';
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-ZQPLRNKX.cjs');
4
- var chunkCOCKKMNP_cjs = require('../chunk-COCKKMNP.cjs');
4
+ var chunkG4AFHCNA_cjs = require('../chunk-G4AFHCNA.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "PipelinesResource", {
9
9
  enumerable: true,
10
- get: function () { return chunkCOCKKMNP_cjs.PipelinesResource; }
10
+ get: function () { return chunkG4AFHCNA_cjs.PipelinesResource; }
11
11
  });
12
12
  //# sourceMappingURL=pipelines.cjs.map
13
13
  //# sourceMappingURL=pipelines.cjs.map
@@ -1,6 +1,7 @@
1
1
  import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.cjs';
2
2
  import { PipelineStageName, ProposedChange, PipelineInput, PipelineStatus, PipelineMode, AnimateSubGate, ChatEnabledStage } from '@nodaro/shared/pipeline';
3
3
  export { AnimateSubGate, ChatEnabledStage, PipelineInput, PipelineMode, PipelineStageName, PipelineStatus, ProposedChange, SubGateName } from '@nodaro/shared/pipeline';
4
+ import { JobQueueInfo } from './jobs.cjs';
4
5
  import '@nodaro/shared/apps';
5
6
  import '@nodaro/shared/organizations';
6
7
 
@@ -20,6 +21,12 @@ interface PipelineRecord {
20
21
  mode: PipelineMode | null;
21
22
  failure_reason: string | null;
22
23
  current_progress_message: string | null;
24
+ /**
25
+ * Where the pipeline stands in line while it waits for its turn (a free run
26
+ * slot); its `status` stays `queued` meanwhile. Present on `get()` only while
27
+ * it waits, never on `list()`. See {@link JobQueueInfo}.
28
+ */
29
+ queue?: JobQueueInfo;
23
30
  }
24
31
  /** One stage currently awaiting approval (from `pendingApprovals`). */
25
32
  interface PendingApproval {
@@ -1,6 +1,7 @@
1
1
  import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.js';
2
2
  import { PipelineStageName, ProposedChange, PipelineInput, PipelineStatus, PipelineMode, AnimateSubGate, ChatEnabledStage } from '@nodaro/shared/pipeline';
3
3
  export { AnimateSubGate, ChatEnabledStage, PipelineInput, PipelineMode, PipelineStageName, PipelineStatus, ProposedChange, SubGateName } from '@nodaro/shared/pipeline';
4
+ import { JobQueueInfo } from './jobs.js';
4
5
  import '@nodaro/shared/apps';
5
6
  import '@nodaro/shared/organizations';
6
7
 
@@ -20,6 +21,12 @@ interface PipelineRecord {
20
21
  mode: PipelineMode | null;
21
22
  failure_reason: string | null;
22
23
  current_progress_message: string | null;
24
+ /**
25
+ * Where the pipeline stands in line while it waits for its turn (a free run
26
+ * slot); its `status` stays `queued` meanwhile. Present on `get()` only while
27
+ * it waits, never on `list()`. See {@link JobQueueInfo}.
28
+ */
29
+ queue?: JobQueueInfo;
23
30
  }
24
31
  /** One stage currently awaiting approval (from `pendingApprovals`). */
25
32
  interface PendingApproval {
@@ -1,4 +1,4 @@
1
1
  import '../chunk-IQ6KWSXP.js';
2
- export { PipelinesResource } from '../chunk-K4RQOSJH.js';
2
+ export { PipelinesResource } from '../chunk-J2DBYYXC.js';
3
3
  //# sourceMappingURL=pipelines.js.map
4
4
  //# sourceMappingURL=pipelines.js.map
@@ -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-Di-Z7-vr.cjs';
2
- export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-Di-Z7-vr.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-Dx8rpU12.cjs';
2
+ export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-Dx8rpU12.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-Cy6dmQEz.js';
2
- export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-Cy6dmQEz.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-BXL3qXlY.js';
2
+ export { T as SCENE3D_DELIVERY_ASSET_USAGE, U as Scene3DAuthoringEngine, Y as Scene3DDeliveryAssetKind } from '../nodes-BXL3qXlY.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 chunkTSM3S2QS_cjs = require('../chunk-TSM3S2QS.cjs');
5
- require('../chunk-GSE7SB3I.cjs');
4
+ var chunkIVM4WMMD_cjs = require('../chunk-IVM4WMMD.cjs');
5
+ require('../chunk-7GC5LKCR.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "StudioProductionsResource", {
10
10
  enumerable: true,
11
- get: function () { return chunkTSM3S2QS_cjs.StudioProductionsResource; }
11
+ get: function () { return chunkIVM4WMMD_cjs.StudioProductionsResource; }
12
12
  });
13
13
  Object.defineProperty(exports, "StudioResource", {
14
14
  enumerable: true,
15
- get: function () { return chunkTSM3S2QS_cjs.StudioResource; }
15
+ get: function () { return chunkIVM4WMMD_cjs.StudioResource; }
16
16
  });
17
17
  Object.defineProperty(exports, "isStudioGenerateEstimate", {
18
18
  enumerable: true,
19
- get: function () { return chunkTSM3S2QS_cjs.isStudioGenerateEstimate; }
19
+ get: function () { return chunkIVM4WMMD_cjs.isStudioGenerateEstimate; }
20
20
  });
21
21
  //# sourceMappingURL=studio.cjs.map
22
22
  //# sourceMappingURL=studio.cjs.map