@nodaro/sdk 2.47.0 → 2.51.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 (88) hide show
  1. package/dist/{chunk-KBHDUHKM.js → chunk-2SQ7V6EX.js} +2 -2
  2. package/dist/chunk-2SQ7V6EX.js.map +1 -0
  3. package/dist/{chunk-FIMBPKIH.cjs → chunk-4BAHF762.cjs} +43 -2
  4. package/dist/chunk-4BAHF762.cjs.map +1 -0
  5. package/dist/chunk-6FZN3QQO.cjs +146 -0
  6. package/dist/chunk-6FZN3QQO.cjs.map +1 -0
  7. package/dist/{chunk-5MOJSYHI.js → chunk-7QK2NXJA.js} +43 -2
  8. package/dist/chunk-7QK2NXJA.js.map +1 -0
  9. package/dist/{chunk-JTAW54UM.js → chunk-AEUPH7EE.js} +2 -2
  10. package/dist/{chunk-34PU2DAT.cjs.map → chunk-AEUPH7EE.js.map} +1 -1
  11. package/dist/{chunk-DIF7A5OH.cjs → chunk-E5MJK3W5.cjs} +2 -2
  12. package/dist/chunk-E5MJK3W5.cjs.map +1 -0
  13. package/dist/{chunk-I7AHLDXV.js → chunk-EC6MC46Y.js} +10 -10
  14. package/dist/{chunk-I7AHLDXV.js.map → chunk-EC6MC46Y.js.map} +1 -1
  15. package/dist/{chunk-NP6KDFIJ.cjs → chunk-HPSENMVN.cjs} +18 -18
  16. package/dist/{chunk-NP6KDFIJ.cjs.map → chunk-HPSENMVN.cjs.map} +1 -1
  17. package/dist/{chunk-XKDVEQVD.cjs → chunk-LTZKNAXM.cjs} +2 -2
  18. package/dist/chunk-LTZKNAXM.cjs.map +1 -0
  19. package/dist/{chunk-OWG3XAHQ.js → chunk-OCRUDBPG.js} +10 -6
  20. package/dist/chunk-OCRUDBPG.js.map +1 -0
  21. package/dist/{chunk-MYTMNPCP.cjs → chunk-OMX7JBGY.cjs} +3 -3
  22. package/dist/{chunk-MYTMNPCP.cjs.map → chunk-OMX7JBGY.cjs.map} +1 -1
  23. package/dist/{chunk-7LTVS75S.cjs → chunk-P6AM42UB.cjs} +2 -2
  24. package/dist/chunk-P6AM42UB.cjs.map +1 -0
  25. package/dist/{chunk-34PU2DAT.cjs → chunk-Q45PC4YD.cjs} +2 -2
  26. package/dist/chunk-Q45PC4YD.cjs.map +1 -0
  27. package/dist/{chunk-PQHZUWSL.js → chunk-THLTFB6I.js} +2 -2
  28. package/dist/chunk-THLTFB6I.js.map +1 -0
  29. package/dist/{chunk-GDDV5U32.cjs → chunk-TY2S25W5.cjs} +10 -6
  30. package/dist/chunk-TY2S25W5.cjs.map +1 -0
  31. package/dist/chunk-WYYDWJFF.js +144 -0
  32. package/dist/chunk-WYYDWJFF.js.map +1 -0
  33. package/dist/{chunk-FCYN4N3M.js → chunk-XISHBW5I.js} +3 -3
  34. package/dist/{chunk-FCYN4N3M.js.map → chunk-XISHBW5I.js.map} +1 -1
  35. package/dist/{chunk-XILR6TFO.js → chunk-YXVMQEJX.js} +2 -2
  36. package/dist/chunk-YXVMQEJX.js.map +1 -0
  37. package/dist/entries/billing.cjs +2 -2
  38. package/dist/entries/billing.d.cts +202 -3
  39. package/dist/entries/billing.d.ts +202 -3
  40. package/dist/entries/billing.js +1 -1
  41. package/dist/entries/cast-swap.cjs +2 -2
  42. package/dist/entries/cast-swap.d.cts +34 -31
  43. package/dist/entries/cast-swap.d.ts +34 -31
  44. package/dist/entries/cast-swap.js +1 -1
  45. package/dist/entries/client.cjs +14 -14
  46. package/dist/entries/client.js +9 -9
  47. package/dist/entries/core.cjs +5 -5
  48. package/dist/entries/core.js +1 -1
  49. package/dist/entries/credits.cjs +2 -2
  50. package/dist/entries/credits.d.cts +179 -1
  51. package/dist/entries/credits.d.ts +179 -1
  52. package/dist/entries/credits.js +1 -1
  53. package/dist/entries/jobs.cjs +2 -2
  54. package/dist/entries/jobs.d.cts +18 -7
  55. package/dist/entries/jobs.d.ts +18 -7
  56. package/dist/entries/jobs.js +1 -1
  57. package/dist/entries/node-presets.cjs +2 -2
  58. package/dist/entries/node-presets.d.cts +6 -0
  59. package/dist/entries/node-presets.d.ts +6 -0
  60. package/dist/entries/node-presets.js +1 -1
  61. package/dist/entries/trash.cjs +2 -2
  62. package/dist/entries/trash.d.cts +4 -1
  63. package/dist/entries/trash.d.ts +4 -1
  64. package/dist/entries/trash.js +1 -1
  65. package/dist/entries/trends.cjs +2 -2
  66. package/dist/entries/trends.d.cts +22 -13
  67. package/dist/entries/trends.d.ts +22 -13
  68. package/dist/entries/trends.js +1 -1
  69. package/dist/index.cjs +22 -22
  70. package/dist/index.d.cts +2 -2
  71. package/dist/index.d.ts +2 -2
  72. package/dist/index.js +9 -9
  73. package/package.json +3 -3
  74. package/dist/chunk-5MOJSYHI.js.map +0 -1
  75. package/dist/chunk-7LTVS75S.cjs.map +0 -1
  76. package/dist/chunk-DIF7A5OH.cjs.map +0 -1
  77. package/dist/chunk-FIMBPKIH.cjs.map +0 -1
  78. package/dist/chunk-GDDV5U32.cjs.map +0 -1
  79. package/dist/chunk-J4WFSKY6.js +0 -50
  80. package/dist/chunk-J4WFSKY6.js.map +0 -1
  81. package/dist/chunk-JTAW54UM.js.map +0 -1
  82. package/dist/chunk-KBHDUHKM.js.map +0 -1
  83. package/dist/chunk-NGKODS3J.cjs +0 -52
  84. package/dist/chunk-NGKODS3J.cjs.map +0 -1
  85. package/dist/chunk-OWG3XAHQ.js.map +0 -1
  86. package/dist/chunk-PQHZUWSL.js.map +0 -1
  87. package/dist/chunk-XILR6TFO.js.map +0 -1
  88. package/dist/chunk-XKDVEQVD.cjs.map +0 -1
@@ -133,17 +133,28 @@ interface Job {
133
133
  * `usage_logs.status`. `null` when there is no usage log to report. Never
134
134
  * changes the meaning of `credits` (the reserved amount) below. */
135
135
  credit_status?: CreditStatus | null;
136
- /** The credits HELD when the job was accepted. Never changes — a job can
137
- * settle below it; read {@link Job.credits_charged} for what it cost. */
136
+ /** The credits the job itself HELD when it was accepted. Never changes — a
137
+ * job can settle below it; read {@link Job.credits_charged} for what it cost. */
138
138
  credits: number | null;
139
139
  /**
140
- * What the job actually cost once its hold settled. Can be lower than
141
- * `credits` (the unused part goes back to the balance), `0` when the hold was
142
- * refunded, `null` while the job is still running or when it reserved
143
- * nothing of its own. Sum this — not `credits` — to total spend. Returned by
144
- * `get()` and `list()`.
140
+ * What the job actually cost once its hold settled, INCLUDING the steps it
141
+ * ran: a job that runs other jobs for you (a Nodaro Motion run's reference
142
+ * preparation, mask and video) is charged for each, and they are not listed
143
+ * on their own. A step adds its charge once it settles. Can be lower than
144
+ * {@link Job.credits_held} (the unused part goes back to the balance). `0`
145
+ * when the run's own hold was refunded, plus any settled steps (a refunded
146
+ * Nodaro Motion run whose reference and mask steps committed reads
147
+ * `credit_status: "refunded"` with `credits_charged: 165`). `null` while the
148
+ * job's own hold is still open (even when some steps have settled), when
149
+ * nothing in the run was reserved, or when its steps could not be read for a
150
+ * moment (unknown — never a lower figure). Sum this — not `credits` — to
151
+ * total spend. Returned by `get()` and `list()`.
145
152
  */
146
153
  credits_charged?: number | null;
154
+ /** The run's hold: the job's own `credits` plus its steps' holds (equals `credits` for a job with no steps). */
155
+ credits_held?: number | null;
156
+ /** What went back from `credits_held` once every hold in the run settled; `null` until then. */
157
+ credits_released?: number | null;
147
158
  job_type: string | null;
148
159
  created_at: string;
149
160
  started_at: string | null;
@@ -1,4 +1,4 @@
1
1
  import '../chunk-I3TYBAOX.js';
2
- export { JobsResource } from '../chunk-PQHZUWSL.js';
2
+ export { JobsResource } from '../chunk-THLTFB6I.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-RA42NMWV.cjs');
4
- var chunk34PU2DAT_cjs = require('../chunk-34PU2DAT.cjs');
4
+ var chunkQ45PC4YD_cjs = require('../chunk-Q45PC4YD.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "PresetsResource", {
9
9
  enumerable: true,
10
- get: function () { return chunk34PU2DAT_cjs.PresetsResource; }
10
+ get: function () { return chunkQ45PC4YD_cjs.PresetsResource; }
11
11
  });
12
12
  //# sourceMappingURL=node-presets.cjs.map
13
13
  //# sourceMappingURL=node-presets.cjs.map
@@ -58,6 +58,12 @@ interface FactoryPresetEntry extends FactoryPreset {
58
58
  * server you asked — or null while the preset has none.
59
59
  */
60
60
  previewUrl?: string | null;
61
+ /**
62
+ * The same picture at its two sizes for an `<img srcset>` — the tile picture
63
+ * at 512w and the full-screen one at up to 1024w. Present only when the
64
+ * preset has both; absent from servers that predate it.
65
+ */
66
+ previewSrcSet?: string;
61
67
  }
62
68
  /**
63
69
  * Result of `GET /v1/node-presets/factory` — the built-in (factory) catalog for
@@ -58,6 +58,12 @@ interface FactoryPresetEntry extends FactoryPreset {
58
58
  * server you asked — or null while the preset has none.
59
59
  */
60
60
  previewUrl?: string | null;
61
+ /**
62
+ * The same picture at its two sizes for an `<img srcset>` — the tile picture
63
+ * at 512w and the full-screen one at up to 1024w. Present only when the
64
+ * preset has both; absent from servers that predate it.
65
+ */
66
+ previewSrcSet?: string;
61
67
  }
62
68
  /**
63
69
  * Result of `GET /v1/node-presets/factory` — the built-in (factory) catalog for
@@ -1,4 +1,4 @@
1
1
  import '../chunk-NX67YIF3.js';
2
- export { PresetsResource } from '../chunk-JTAW54UM.js';
2
+ export { PresetsResource } from '../chunk-AEUPH7EE.js';
3
3
  //# sourceMappingURL=node-presets.js.map
4
4
  //# sourceMappingURL=node-presets.js.map
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-UANHMQ3A.cjs');
4
- var chunkXKDVEQVD_cjs = require('../chunk-XKDVEQVD.cjs');
4
+ var chunkLTZKNAXM_cjs = require('../chunk-LTZKNAXM.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "TrashResource", {
9
9
  enumerable: true,
10
- get: function () { return chunkXKDVEQVD_cjs.TrashResource; }
10
+ get: function () { return chunkLTZKNAXM_cjs.TrashResource; }
11
11
  });
12
12
  //# sourceMappingURL=trash.cjs.map
13
13
  //# sourceMappingURL=trash.cjs.map
@@ -3,10 +3,13 @@ import { Job } from './jobs.cjs';
3
3
  import '@nodaro/shared/apps';
4
4
  import '@nodaro/shared/organizations';
5
5
 
6
- /** The session a removed item was removed from. */
6
+ /** The session a removed item was removed from — restore it there with
7
+ * `client.sessions.restoreItem(session.id, job.id)`. */
7
8
  interface TrashSession {
8
9
  id: string;
10
+ /** `null` = untitled; a UI may fall back to the first prompt. */
9
11
  title: string | null;
12
+ /** The session's project, or `null` when it has none. */
10
13
  projectId: string | null;
11
14
  }
12
15
  /**
@@ -3,10 +3,13 @@ import { Job } from './jobs.js';
3
3
  import '@nodaro/shared/apps';
4
4
  import '@nodaro/shared/organizations';
5
5
 
6
- /** The session a removed item was removed from. */
6
+ /** The session a removed item was removed from — restore it there with
7
+ * `client.sessions.restoreItem(session.id, job.id)`. */
7
8
  interface TrashSession {
8
9
  id: string;
10
+ /** `null` = untitled; a UI may fall back to the first prompt. */
9
11
  title: string | null;
12
+ /** The session's project, or `null` when it has none. */
10
13
  projectId: string | null;
11
14
  }
12
15
  /**
@@ -1,4 +1,4 @@
1
1
  import '../chunk-6NTKEXT5.js';
2
- export { TrashResource } from '../chunk-KBHDUHKM.js';
2
+ export { TrashResource } from '../chunk-2SQ7V6EX.js';
3
3
  //# sourceMappingURL=trash.js.map
4
4
  //# sourceMappingURL=trash.js.map
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-PG2GBS3K.cjs');
4
- var chunkDIF7A5OH_cjs = require('../chunk-DIF7A5OH.cjs');
4
+ var chunkE5MJK3W5_cjs = require('../chunk-E5MJK3W5.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "TrendsResource", {
9
9
  enumerable: true,
10
- get: function () { return chunkDIF7A5OH_cjs.TrendsResource; }
10
+ get: function () { return chunkE5MJK3W5_cjs.TrendsResource; }
11
11
  });
12
12
  //# sourceMappingURL=trends.cjs.map
13
13
  //# sourceMappingURL=trends.cjs.map
@@ -24,7 +24,7 @@ type TrendChipKey = keyof TrendChips;
24
24
  type TrendResolution = "480p" | "720p" | "1080p";
25
25
  /**
26
26
  * The engine a trend runs on, by its public id ({@link CastSwapEngine}):
27
- * `"motion-pro"` (Nodaro Motion Pro) or `"motion-lite"` (Nodaro Motion Lite).
27
+ * `"motion-prism"` (Nodaro Motion Prism) or `"motion-pulse"` (Nodaro Motion Pulse).
28
28
  * The trend chooses it, never the person running it.
29
29
  */
30
30
  type TrendEngine = CastSwapEngine;
@@ -119,14 +119,14 @@ interface TrendDetail extends TrendCard {
119
119
  * Absent only on a version without a display copy (and from an older server).
120
120
  */
121
121
  original?: TrendOriginal;
122
- /** The engine every run of this trend uses. Absent (an older server) = `"motion-pro"`. */
122
+ /** The engine every run of this trend uses. Absent (an older server) = `"motion-prism"`. */
123
123
  engine?: TrendEngine;
124
- /** Its name to show: "Nodaro Motion Pro" or "Nodaro Motion Lite". Absent from an older server. */
124
+ /** Its name to show: "Nodaro Motion Prism" or "Nodaro Motion Pulse". Absent from an older server. */
125
125
  engineName?: string;
126
126
  /**
127
- * The resolutions a run may ask for, the default first. Nodaro Motion Pro:
127
+ * The resolutions a run may ask for, the default first. Nodaro Motion Prism:
128
128
  * `["480p", "720p", "1080p"]`, where 480p is a draft (show it as one);
129
- * Nodaro Motion Lite: `["720p", "1080p"]`, no draft. Offer exactly these.
129
+ * Nodaro Motion Pulse: `["720p", "1080p"]`, no draft. Offer exactly these.
130
130
  */
131
131
  resolutions: TrendResolution[];
132
132
  slots: TrendDetailSlot[];
@@ -157,13 +157,13 @@ interface TrendRunRequest {
157
157
  preview?: boolean;
158
158
  /**
159
159
  * One of the trend's {@link TrendDetail.resolutions}; default its first
160
- * (`"480p"` on Nodaro Motion Pro, `"720p"` on Nodaro Motion Lite). Another answers 400
160
+ * (`"480p"` on Nodaro Motion Prism, `"720p"` on Nodaro Motion Pulse). Another answers 400
161
161
  * `resolution_unsupported`.
162
162
  */
163
163
  resolution?: TrendResolution;
164
164
  /**
165
- * A draft run, only at 480p on a Nodaro Motion Pro trend. Default `true` at
166
- * 480p. `true` on a Nodaro Motion Lite trend answers 400 `draft_unsupported`.
165
+ * A draft run, only at 480p on a Nodaro Motion Prism trend. Default `true` at
166
+ * 480p. `true` on a Nodaro Motion Pulse trend answers 400 `draft_unsupported`.
167
167
  */
168
168
  draft?: boolean;
169
169
  /**
@@ -277,18 +277,27 @@ interface TrendRun {
277
277
  preview: boolean;
278
278
  resolution: string;
279
279
  draft: boolean;
280
- /** The engine the run was made on. Absent (an older server) = `"motion-pro"`. */
280
+ /** The engine the run was made on. Absent (an older server) = `"motion-prism"`. */
281
281
  engine?: TrendEngine;
282
- /** Its name to show: "Nodaro Motion Pro" or "Nodaro Motion Lite". Absent from an older server. */
282
+ /** Its name to show: "Nodaro Motion Prism" or "Nodaro Motion Pulse". Absent from an older server. */
283
283
  engineName?: string;
284
284
  /** The result, once completed. */
285
285
  videoUrl: string | null;
286
286
  posterUrl: string | null;
287
+ /**
288
+ * What the run was charged once settled, every step it ran included (its
289
+ * reference preparation, mask and video); `null` until the run's own hold
290
+ * settles. A step adds its charge once it settles.
291
+ */
287
292
  creditsCharged: number | null;
288
- /** A Full Quality version: the job id of the run (a draft, or a Nodaro Motion Lite 720p run) it was made from. `null` for any other run. */
293
+ /** The run's hold: its own plus its steps'. Absent from an older server. */
294
+ creditsHeld?: number | null;
295
+ /** What went back from `creditsHeld` once every hold in the run settled; `null` until then. Absent from an older server. */
296
+ creditsReleased?: number | null;
297
+ /** A Full Quality version: the job id of the run (a draft, or a Nodaro Motion Pulse 720p run) it was made from. `null` for any other run. */
289
298
  fullQualityOf: string | null;
290
299
  /**
291
- * A draft's (or Nodaro Motion Lite 720p run's) newest Full Quality try, if one was started: a pointer only,
300
+ * A draft's (or Nodaro Motion Pulse 720p run's) newest Full Quality try, if one was started: a pointer only,
292
301
  * to know an upgrade exists and how it is going. Its video and charge are on
293
302
  * that run, listed on its own (its `fullQualityOf` is this run's `jobId`) —
294
303
  * read it there (`getRun(fullQuality.jobId)`). Older tries of the draft (a
@@ -301,7 +310,7 @@ interface TrendRun {
301
310
  } | null;
302
311
  /**
303
312
  * Until when a completed run can be redone in Full Quality — a Nodaro Motion
304
- * Pro draft (the same take at 1080p) or a Nodaro Motion Lite run at 720p (a new take at
313
+ * Prism draft (the same take at 1080p) or a Nodaro Motion Pulse run at 720p (a new take at
305
314
  * 1080p); `null` otherwise.
306
315
  */
307
316
  fullQualityUntil: string | null;
@@ -24,7 +24,7 @@ type TrendChipKey = keyof TrendChips;
24
24
  type TrendResolution = "480p" | "720p" | "1080p";
25
25
  /**
26
26
  * The engine a trend runs on, by its public id ({@link CastSwapEngine}):
27
- * `"motion-pro"` (Nodaro Motion Pro) or `"motion-lite"` (Nodaro Motion Lite).
27
+ * `"motion-prism"` (Nodaro Motion Prism) or `"motion-pulse"` (Nodaro Motion Pulse).
28
28
  * The trend chooses it, never the person running it.
29
29
  */
30
30
  type TrendEngine = CastSwapEngine;
@@ -119,14 +119,14 @@ interface TrendDetail extends TrendCard {
119
119
  * Absent only on a version without a display copy (and from an older server).
120
120
  */
121
121
  original?: TrendOriginal;
122
- /** The engine every run of this trend uses. Absent (an older server) = `"motion-pro"`. */
122
+ /** The engine every run of this trend uses. Absent (an older server) = `"motion-prism"`. */
123
123
  engine?: TrendEngine;
124
- /** Its name to show: "Nodaro Motion Pro" or "Nodaro Motion Lite". Absent from an older server. */
124
+ /** Its name to show: "Nodaro Motion Prism" or "Nodaro Motion Pulse". Absent from an older server. */
125
125
  engineName?: string;
126
126
  /**
127
- * The resolutions a run may ask for, the default first. Nodaro Motion Pro:
127
+ * The resolutions a run may ask for, the default first. Nodaro Motion Prism:
128
128
  * `["480p", "720p", "1080p"]`, where 480p is a draft (show it as one);
129
- * Nodaro Motion Lite: `["720p", "1080p"]`, no draft. Offer exactly these.
129
+ * Nodaro Motion Pulse: `["720p", "1080p"]`, no draft. Offer exactly these.
130
130
  */
131
131
  resolutions: TrendResolution[];
132
132
  slots: TrendDetailSlot[];
@@ -157,13 +157,13 @@ interface TrendRunRequest {
157
157
  preview?: boolean;
158
158
  /**
159
159
  * One of the trend's {@link TrendDetail.resolutions}; default its first
160
- * (`"480p"` on Nodaro Motion Pro, `"720p"` on Nodaro Motion Lite). Another answers 400
160
+ * (`"480p"` on Nodaro Motion Prism, `"720p"` on Nodaro Motion Pulse). Another answers 400
161
161
  * `resolution_unsupported`.
162
162
  */
163
163
  resolution?: TrendResolution;
164
164
  /**
165
- * A draft run, only at 480p on a Nodaro Motion Pro trend. Default `true` at
166
- * 480p. `true` on a Nodaro Motion Lite trend answers 400 `draft_unsupported`.
165
+ * A draft run, only at 480p on a Nodaro Motion Prism trend. Default `true` at
166
+ * 480p. `true` on a Nodaro Motion Pulse trend answers 400 `draft_unsupported`.
167
167
  */
168
168
  draft?: boolean;
169
169
  /**
@@ -277,18 +277,27 @@ interface TrendRun {
277
277
  preview: boolean;
278
278
  resolution: string;
279
279
  draft: boolean;
280
- /** The engine the run was made on. Absent (an older server) = `"motion-pro"`. */
280
+ /** The engine the run was made on. Absent (an older server) = `"motion-prism"`. */
281
281
  engine?: TrendEngine;
282
- /** Its name to show: "Nodaro Motion Pro" or "Nodaro Motion Lite". Absent from an older server. */
282
+ /** Its name to show: "Nodaro Motion Prism" or "Nodaro Motion Pulse". Absent from an older server. */
283
283
  engineName?: string;
284
284
  /** The result, once completed. */
285
285
  videoUrl: string | null;
286
286
  posterUrl: string | null;
287
+ /**
288
+ * What the run was charged once settled, every step it ran included (its
289
+ * reference preparation, mask and video); `null` until the run's own hold
290
+ * settles. A step adds its charge once it settles.
291
+ */
287
292
  creditsCharged: number | null;
288
- /** A Full Quality version: the job id of the run (a draft, or a Nodaro Motion Lite 720p run) it was made from. `null` for any other run. */
293
+ /** The run's hold: its own plus its steps'. Absent from an older server. */
294
+ creditsHeld?: number | null;
295
+ /** What went back from `creditsHeld` once every hold in the run settled; `null` until then. Absent from an older server. */
296
+ creditsReleased?: number | null;
297
+ /** A Full Quality version: the job id of the run (a draft, or a Nodaro Motion Pulse 720p run) it was made from. `null` for any other run. */
289
298
  fullQualityOf: string | null;
290
299
  /**
291
- * A draft's (or Nodaro Motion Lite 720p run's) newest Full Quality try, if one was started: a pointer only,
300
+ * A draft's (or Nodaro Motion Pulse 720p run's) newest Full Quality try, if one was started: a pointer only,
292
301
  * to know an upgrade exists and how it is going. Its video and charge are on
293
302
  * that run, listed on its own (its `fullQualityOf` is this run's `jobId`) —
294
303
  * read it there (`getRun(fullQuality.jobId)`). Older tries of the draft (a
@@ -301,7 +310,7 @@ interface TrendRun {
301
310
  } | null;
302
311
  /**
303
312
  * Until when a completed run can be redone in Full Quality — a Nodaro Motion
304
- * Pro draft (the same take at 1080p) or a Nodaro Motion Lite run at 720p (a new take at
313
+ * Prism draft (the same take at 1080p) or a Nodaro Motion Pulse run at 720p (a new take at
305
314
  * 1080p); `null` otherwise.
306
315
  */
307
316
  fullQualityUntil: string | null;
@@ -1,4 +1,4 @@
1
1
  import '../chunk-YCVRQZT3.js';
2
- export { TrendsResource } from '../chunk-XILR6TFO.js';
2
+ export { TrendsResource } from '../chunk-YXVMQEJX.js';
3
3
  //# sourceMappingURL=trends.js.map
4
4
  //# sourceMappingURL=trends.js.map
package/dist/index.cjs CHANGED
@@ -52,7 +52,7 @@ require('./chunk-IS26FJO7.cjs');
52
52
  require('./chunk-RQSGS7ZK.cjs');
53
53
  require('./chunk-43NO4SGC.cjs');
54
54
  require('./chunk-JOX5BJ6K.cjs');
55
- var chunkNP6KDFIJ_cjs = require('./chunk-NP6KDFIJ.cjs');
55
+ var chunkHPSENMVN_cjs = require('./chunk-HPSENMVN.cjs');
56
56
  var chunkJTOEHQQJ_cjs = require('./chunk-JTOEHQQJ.cjs');
57
57
  var chunkW5VHATSR_cjs = require('./chunk-W5VHATSR.cjs');
58
58
  var chunkR63TTR35_cjs = require('./chunk-R63TTR35.cjs');
@@ -64,8 +64,8 @@ var chunkWMT7HEBZ_cjs = require('./chunk-WMT7HEBZ.cjs');
64
64
  var chunkMBFUMWI5_cjs = require('./chunk-MBFUMWI5.cjs');
65
65
  var chunkNKH2UFSD_cjs = require('./chunk-NKH2UFSD.cjs');
66
66
  var chunkUIBYZNDR_cjs = require('./chunk-UIBYZNDR.cjs');
67
- var chunkXKDVEQVD_cjs = require('./chunk-XKDVEQVD.cjs');
68
- var chunkDIF7A5OH_cjs = require('./chunk-DIF7A5OH.cjs');
67
+ var chunkLTZKNAXM_cjs = require('./chunk-LTZKNAXM.cjs');
68
+ var chunkE5MJK3W5_cjs = require('./chunk-E5MJK3W5.cjs');
69
69
  var chunkKMNSPC72_cjs = require('./chunk-KMNSPC72.cjs');
70
70
  var chunkNBVARNVA_cjs = require('./chunk-NBVARNVA.cjs');
71
71
  var chunk7YHIFCJ4_cjs = require('./chunk-7YHIFCJ4.cjs');
@@ -78,7 +78,7 @@ var chunkSYVNY3AH_cjs = require('./chunk-SYVNY3AH.cjs');
78
78
  var chunk22P4X3N5_cjs = require('./chunk-22P4X3N5.cjs');
79
79
  var chunk7QOCWJKD_cjs = require('./chunk-7QOCWJKD.cjs');
80
80
  var chunkZCWKX4V6_cjs = require('./chunk-ZCWKX4V6.cjs');
81
- var chunk34PU2DAT_cjs = require('./chunk-34PU2DAT.cjs');
81
+ var chunkQ45PC4YD_cjs = require('./chunk-Q45PC4YD.cjs');
82
82
  var chunkTK2CEVSK_cjs = require('./chunk-TK2CEVSK.cjs');
83
83
  var chunkGVIFLUYZ_cjs = require('./chunk-GVIFLUYZ.cjs');
84
84
  var chunkCR5E2SF3_cjs = require('./chunk-CR5E2SF3.cjs');
@@ -86,7 +86,7 @@ var chunkJ5LGGCAS_cjs = require('./chunk-J5LGGCAS.cjs');
86
86
  var chunkSF2CMKWA_cjs = require('./chunk-SF2CMKWA.cjs');
87
87
  var chunkSBV5MWEL_cjs = require('./chunk-SBV5MWEL.cjs');
88
88
  var chunkWUKIJJG2_cjs = require('./chunk-WUKIJJG2.cjs');
89
- var chunk7LTVS75S_cjs = require('./chunk-7LTVS75S.cjs');
89
+ var chunkP6AM42UB_cjs = require('./chunk-P6AM42UB.cjs');
90
90
  var chunk2DZWWIJ4_cjs = require('./chunk-2DZWWIJ4.cjs');
91
91
  var chunkSS3B6PHT_cjs = require('./chunk-SS3B6PHT.cjs');
92
92
  var chunkMQ74AKA2_cjs = require('./chunk-MQ74AKA2.cjs');
@@ -95,15 +95,15 @@ var chunk43FVH6LJ_cjs = require('./chunk-43FVH6LJ.cjs');
95
95
  var chunkYFS2LMG4_cjs = require('./chunk-YFS2LMG4.cjs');
96
96
  var chunkOSMKIRKI_cjs = require('./chunk-OSMKIRKI.cjs');
97
97
  require('./chunk-FRQJNGJS.cjs');
98
- var chunkMYTMNPCP_cjs = require('./chunk-MYTMNPCP.cjs');
98
+ var chunkOMX7JBGY_cjs = require('./chunk-OMX7JBGY.cjs');
99
99
  var chunkFM2KM5TY_cjs = require('./chunk-FM2KM5TY.cjs');
100
100
  var chunkHGCVWOGK_cjs = require('./chunk-HGCVWOGK.cjs');
101
- var chunkFIMBPKIH_cjs = require('./chunk-FIMBPKIH.cjs');
101
+ var chunk4BAHF762_cjs = require('./chunk-4BAHF762.cjs');
102
102
  var chunkA3S55XGF_cjs = require('./chunk-A3S55XGF.cjs');
103
103
  var chunkJOXZ4ZIF_cjs = require('./chunk-JOXZ4ZIF.cjs');
104
104
  var chunkGA4LZZKQ_cjs = require('./chunk-GA4LZZKQ.cjs');
105
- var chunkNGKODS3J_cjs = require('./chunk-NGKODS3J.cjs');
106
- var chunkGDDV5U32_cjs = require('./chunk-GDDV5U32.cjs');
105
+ var chunk6FZN3QQO_cjs = require('./chunk-6FZN3QQO.cjs');
106
+ var chunkTY2S25W5_cjs = require('./chunk-TY2S25W5.cjs');
107
107
  var chunkBPWUWUZ3_cjs = require('./chunk-BPWUWUZ3.cjs');
108
108
  var chunkHAKYPZLB_cjs = require('./chunk-HAKYPZLB.cjs');
109
109
 
@@ -143,11 +143,11 @@ Object.defineProperty(exports, "unwrapEditPlanOutput", {
143
143
  });
144
144
  Object.defineProperty(exports, "NodaroClient", {
145
145
  enumerable: true,
146
- get: function () { return chunkNP6KDFIJ_cjs.NodaroClient; }
146
+ get: function () { return chunkHPSENMVN_cjs.NodaroClient; }
147
147
  });
148
148
  Object.defineProperty(exports, "createClient", {
149
149
  enumerable: true,
150
- get: function () { return chunkNP6KDFIJ_cjs.createClient; }
150
+ get: function () { return chunkHPSENMVN_cjs.createClient; }
151
151
  });
152
152
  Object.defineProperty(exports, "UploadsResource", {
153
153
  enumerable: true,
@@ -207,11 +207,11 @@ Object.defineProperty(exports, "TemplatesResource", {
207
207
  });
208
208
  Object.defineProperty(exports, "TrashResource", {
209
209
  enumerable: true,
210
- get: function () { return chunkXKDVEQVD_cjs.TrashResource; }
210
+ get: function () { return chunkLTZKNAXM_cjs.TrashResource; }
211
211
  });
212
212
  Object.defineProperty(exports, "TrendsResource", {
213
213
  enumerable: true,
214
- get: function () { return chunkDIF7A5OH_cjs.TrendsResource; }
214
+ get: function () { return chunkE5MJK3W5_cjs.TrendsResource; }
215
215
  });
216
216
  Object.defineProperty(exports, "TutorialsResource", {
217
217
  enumerable: true,
@@ -279,7 +279,7 @@ Object.defineProperty(exports, "moodboardDirectionId", {
279
279
  });
280
280
  Object.defineProperty(exports, "PresetsResource", {
281
281
  enumerable: true,
282
- get: function () { return chunk34PU2DAT_cjs.PresetsResource; }
282
+ get: function () { return chunkQ45PC4YD_cjs.PresetsResource; }
283
283
  });
284
284
  Object.defineProperty(exports, "NodesResource", {
285
285
  enumerable: true,
@@ -351,7 +351,7 @@ Object.defineProperty(exports, "GalleryResource", {
351
351
  });
352
352
  Object.defineProperty(exports, "JobsResource", {
353
353
  enumerable: true,
354
- get: function () { return chunk7LTVS75S_cjs.JobsResource; }
354
+ get: function () { return chunkP6AM42UB_cjs.JobsResource; }
355
355
  });
356
356
  Object.defineProperty(exports, "LibraryResource", {
357
357
  enumerable: true,
@@ -395,19 +395,19 @@ Object.defineProperty(exports, "CopilotResource", {
395
395
  });
396
396
  Object.defineProperty(exports, "CallbackAuth", {
397
397
  enumerable: true,
398
- get: function () { return chunkMYTMNPCP_cjs.CallbackAuth; }
398
+ get: function () { return chunkOMX7JBGY_cjs.CallbackAuth; }
399
399
  });
400
400
  Object.defineProperty(exports, "NodaroClientCore", {
401
401
  enumerable: true,
402
- get: function () { return chunkMYTMNPCP_cjs.NodaroClientCore; }
402
+ get: function () { return chunkOMX7JBGY_cjs.NodaroClientCore; }
403
403
  });
404
404
  Object.defineProperty(exports, "StaticTokenAuth", {
405
405
  enumerable: true,
406
- get: function () { return chunkMYTMNPCP_cjs.StaticTokenAuth; }
406
+ get: function () { return chunkOMX7JBGY_cjs.StaticTokenAuth; }
407
407
  });
408
408
  Object.defineProperty(exports, "supabaseAuth", {
409
409
  enumerable: true,
410
- get: function () { return chunkMYTMNPCP_cjs.supabaseAuth; }
410
+ get: function () { return chunkOMX7JBGY_cjs.supabaseAuth; }
411
411
  });
412
412
  Object.defineProperty(exports, "AlreadyRunningError", {
413
413
  enumerable: true,
@@ -523,7 +523,7 @@ Object.defineProperty(exports, "CreaturesResource", {
523
523
  });
524
524
  Object.defineProperty(exports, "CreditsResource", {
525
525
  enumerable: true,
526
- get: function () { return chunkFIMBPKIH_cjs.CreditsResource; }
526
+ get: function () { return chunk4BAHF762_cjs.CreditsResource; }
527
527
  });
528
528
  Object.defineProperty(exports, "DeveloperAppsResource", {
529
529
  enumerable: true,
@@ -539,11 +539,11 @@ Object.defineProperty(exports, "AudioResource", {
539
539
  });
540
540
  Object.defineProperty(exports, "BillingResource", {
541
541
  enumerable: true,
542
- get: function () { return chunkNGKODS3J_cjs.BillingResource; }
542
+ get: function () { return chunk6FZN3QQO_cjs.BillingResource; }
543
543
  });
544
544
  Object.defineProperty(exports, "CastSwapResource", {
545
545
  enumerable: true,
546
- get: function () { return chunkGDDV5U32_cjs.CastSwapResource; }
546
+ get: function () { return chunkTY2S25W5_cjs.CastSwapResource; }
547
547
  });
548
548
  Object.defineProperty(exports, "CatalogsResource", {
549
549
  enumerable: true,
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { AppRun, AppRunResult, AppRunResumePlan, AppRunResumeRefusalCode, AppRunResumeResult, AppRunResumeStep, AppsResource, DeleteAppRunResult, ListAppRunsParams, ListAppsParams, ListAppsResult, PublishedApp, PublishedAppDetail, ResumeAppRunOptions, RunAppOptions } from './entries/apps.cjs';
2
2
  export { AudioResource, TranscribeJobOutput, TranscribeWord } from './entries/audio.cjs';
3
- export { BillingAccountSummary, BillingMoney, BillingMonthlyPrice, BillingPlan, BillingPlanPrices, BillingPlansResult, BillingPriceCredits, BillingResource, BillingSubscription, BillingSubscriptionResult, BillingSurface, BillingTopUp, BillingUsageCategory, BillingYearlyPrice } from './entries/billing.cjs';
3
+ export { BillingAccountSummary, BillingAutoRecharge, BillingAutoRechargeInput, BillingAutoRechargeSaved, BillingCard, BillingChangePlanInput, BillingChangePlanResult, BillingCheckoutInput, BillingCheckoutSession, BillingDetails, BillingDocument, BillingLoadInput, BillingLoadSession, BillingMoney, BillingMonthlyPrice, BillingPaymentMethod, BillingPlan, BillingPlanPrices, BillingPlansResult, BillingPortalInput, BillingPortalSession, BillingPriceCredits, BillingPurchase, BillingResource, BillingSubscription, BillingSubscriptionResult, BillingSurface, BillingTopUp, BillingUsageCategory, BillingYearlyPrice } from './entries/billing.cjs';
4
4
  export { CastSwapEngine, CastSwapEngineLegacyId, CastSwapEstimate, CastSwapFaceMasking, CastSwapFaceMaskingZone, CastSwapFullQualityEstimate, CastSwapFullQualityKind, CastSwapFullQualityParams, CastSwapFullQualityRefusalCode, CastSwapFullQualityResult, CastSwapKlingLength, CastSwapLocationRole, CastSwapMotionLength, CastSwapParams, CastSwapPersonRole, CastSwapPetRole, CastSwapProductRole, CastSwapReference, CastSwapResource, CastSwapRole, CastSwapRolePreviewSettings, CastSwapRunOptions, CastSwapTraitSource } from './entries/cast-swap.cjs';
5
5
  export { CatalogsListResponse, CatalogsResource, ProjectedCatalog, ProjectedCatalogDimension, ProjectedCatalogOption, ProjectedCatalogSection } from './entries/catalogs.cjs';
6
6
  export { ApprovePortraitResult, Character, CharacterDetail, CharacterTrainingState, CharacterTrainingStatus, CharacterUsage, CharactersResource, DuplicateCharacterInput, GenerateAssetInput, GenerateCharacterInput, GenerateCharacterResult, GenerateMotionInput, GetCharacterOptions, ListCharactersParams, ListCharactersResult, RecaptionResult, ReferencePhoto, ReferencePhotoKind, TrainCharacterInput, TrainCharacterRefusalCode, TrainCharacterResult, UpsertCharacterInput, UpsertCharacterResult, buildPersonSeedPrompt } from './entries/characters.cjs';
@@ -13,7 +13,7 @@ export { ActionCard, ActionCardKind, ActionCardPriority, AdviceFamily, AdviceRec
13
13
  export { CompetitorsResource } from './entries/competitors.cjs';
14
14
  export { CopilotMemorySavedFrameData, CopilotMessage, CopilotMessagePart, CopilotMetadataFrameData, CopilotModelTier, CopilotResource, CopilotRunMode, CopilotRunProposalFrameData, CopilotRunProposalNode, CopilotStreamFrame, CopilotStreamOptions, CopilotSurface, CopilotThread, CopilotThreadWorkflow, CopilotToolCallFrameData, CopilotWiredAsset, CopilotWorkflowCreatedFrameData, CopilotWorkflowUpdateFrameData, CreateCopilotThreadInput } from './entries/copilot.cjs';
15
15
  export { ApproveCreatureMainImageResult, CREATURE_ASSET_TYPES, CreateCreatureInput, Creature, CreatureAssetType, CreatureDetail, CreatureReferencePhoto, CreatureReferencePhotoKind, CreatureVoice, CreaturesResource, GenerateCreatureAssetInput, GenerateCreatureAssetResult, GenerateCreatureInput, GenerateCreatureMotionInput, GenerateCreatureMotionResult, GenerateCreatureResult, ListCreaturesParams, RecaptionCreatureResult, UpdateCreatureInput, UpdateCreatureResult, UpsertCreatureInput, UpsertCreatureResult } from './entries/creatures.cjs';
16
- export { CreditTransaction, CreditTransactionsOptions, CreditTransactionsPage, CreditsResource, FreeGrantState, ModelCostError, ModelCostResult, ModelCostsResult, SignupGrantClaimResult, SignupKeys, UserBalance, WelcomeOfferClaimInput, WelcomeOfferClaimResult, WelcomeOfferSeenResult, WelcomeOfferState } from './entries/credits.cjs';
16
+ export { CreditHistoryEntry, CreditHistoryFilters, CreditHistoryJob, CreditHistoryKind, CreditHistoryOptions, CreditHistoryPage, CreditTransaction, CreditTransactionsOptions, CreditTransactionsPage, CreditsResource, FreeGrantState, ModelCostError, ModelCostResult, ModelCostsResult, SignupGrantClaimResult, SignupKeys, UsageByCategory, UsageByGroup, UsageByModel, UsageOverTime, UsageSummary, UsageSummaryBucket, UsageSummaryOptions, UsageSummaryTotals, UserBalance, WelcomeOfferClaimInput, WelcomeOfferClaimResult, WelcomeOfferSeenResult, WelcomeOfferState } from './entries/credits.cjs';
17
17
  export { ChapterSet, EditPlanMode, EditPlanTier, Edl, EdlClipSet, SpeakerMapResult, Transcript, unwrapEditPlanOutput } from '@nodaro/shared/edl';
18
18
  export { ApplyEdlInput, AudioSyncInput, AudioSyncOffset, AudioSyncResult, AudioSyncSource, CLIP_PACK_MAX_TARGET_SEC, CLIP_PACK_MIN_TARGET_SEC, CameraSwitchInput, ClipPackEmphasis, ClipPackInput, EditJobResult, EditPlanInput, EditPlanSource, EditResource, EpisodeChaptersInput, EpisodeTrailerInput, SilenceDetectInput, SilenceRanges, SpeakerLayoutInput, SpeakerMapInput, SpeakerMapSource, TRAILER_FORMATS, TightenEpisodeEstimate, TightenEpisodeInput, TightenEpisodeJobResult, TrailerFormat, UseCaseContinueInput, UseCaseEstimate, UseCaseJobResult, UseCaseRecordingsInput, UseCaseRequestOptions } from './entries/edit.cjs';
19
19
  export { AlreadyRunningError, AppRunVersionChangedError, CREDIT_CAP_CODES, ContinuationPreviewPendingError, ContinuationRefusedError, CreditCapCode, CreditCapExceededError, ForbiddenError, HeldFinalRun, InsufficientCreditsError, JobAbortedError, JobBlockedError, JobFailedError, JobHeldError, JobTimeoutError, NodaroError, NotFoundError, RateLimitedError, StorageExceededError, StudioOpError, StudioPreviewAppliedError, StudioPreviewUnavailable, UnauthorizedError, WorkflowConflictCode, WorkflowConflictError, throwFromResponse } from './entries/errors.cjs';
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { AppRun, AppRunResult, AppRunResumePlan, AppRunResumeRefusalCode, AppRunResumeResult, AppRunResumeStep, AppsResource, DeleteAppRunResult, ListAppRunsParams, ListAppsParams, ListAppsResult, PublishedApp, PublishedAppDetail, ResumeAppRunOptions, RunAppOptions } from './entries/apps.js';
2
2
  export { AudioResource, TranscribeJobOutput, TranscribeWord } from './entries/audio.js';
3
- export { BillingAccountSummary, BillingMoney, BillingMonthlyPrice, BillingPlan, BillingPlanPrices, BillingPlansResult, BillingPriceCredits, BillingResource, BillingSubscription, BillingSubscriptionResult, BillingSurface, BillingTopUp, BillingUsageCategory, BillingYearlyPrice } from './entries/billing.js';
3
+ export { BillingAccountSummary, BillingAutoRecharge, BillingAutoRechargeInput, BillingAutoRechargeSaved, BillingCard, BillingChangePlanInput, BillingChangePlanResult, BillingCheckoutInput, BillingCheckoutSession, BillingDetails, BillingDocument, BillingLoadInput, BillingLoadSession, BillingMoney, BillingMonthlyPrice, BillingPaymentMethod, BillingPlan, BillingPlanPrices, BillingPlansResult, BillingPortalInput, BillingPortalSession, BillingPriceCredits, BillingPurchase, BillingResource, BillingSubscription, BillingSubscriptionResult, BillingSurface, BillingTopUp, BillingUsageCategory, BillingYearlyPrice } from './entries/billing.js';
4
4
  export { CastSwapEngine, CastSwapEngineLegacyId, CastSwapEstimate, CastSwapFaceMasking, CastSwapFaceMaskingZone, CastSwapFullQualityEstimate, CastSwapFullQualityKind, CastSwapFullQualityParams, CastSwapFullQualityRefusalCode, CastSwapFullQualityResult, CastSwapKlingLength, CastSwapLocationRole, CastSwapMotionLength, CastSwapParams, CastSwapPersonRole, CastSwapPetRole, CastSwapProductRole, CastSwapReference, CastSwapResource, CastSwapRole, CastSwapRolePreviewSettings, CastSwapRunOptions, CastSwapTraitSource } from './entries/cast-swap.js';
5
5
  export { CatalogsListResponse, CatalogsResource, ProjectedCatalog, ProjectedCatalogDimension, ProjectedCatalogOption, ProjectedCatalogSection } from './entries/catalogs.js';
6
6
  export { ApprovePortraitResult, Character, CharacterDetail, CharacterTrainingState, CharacterTrainingStatus, CharacterUsage, CharactersResource, DuplicateCharacterInput, GenerateAssetInput, GenerateCharacterInput, GenerateCharacterResult, GenerateMotionInput, GetCharacterOptions, ListCharactersParams, ListCharactersResult, RecaptionResult, ReferencePhoto, ReferencePhotoKind, TrainCharacterInput, TrainCharacterRefusalCode, TrainCharacterResult, UpsertCharacterInput, UpsertCharacterResult, buildPersonSeedPrompt } from './entries/characters.js';
@@ -13,7 +13,7 @@ export { ActionCard, ActionCardKind, ActionCardPriority, AdviceFamily, AdviceRec
13
13
  export { CompetitorsResource } from './entries/competitors.js';
14
14
  export { CopilotMemorySavedFrameData, CopilotMessage, CopilotMessagePart, CopilotMetadataFrameData, CopilotModelTier, CopilotResource, CopilotRunMode, CopilotRunProposalFrameData, CopilotRunProposalNode, CopilotStreamFrame, CopilotStreamOptions, CopilotSurface, CopilotThread, CopilotThreadWorkflow, CopilotToolCallFrameData, CopilotWiredAsset, CopilotWorkflowCreatedFrameData, CopilotWorkflowUpdateFrameData, CreateCopilotThreadInput } from './entries/copilot.js';
15
15
  export { ApproveCreatureMainImageResult, CREATURE_ASSET_TYPES, CreateCreatureInput, Creature, CreatureAssetType, CreatureDetail, CreatureReferencePhoto, CreatureReferencePhotoKind, CreatureVoice, CreaturesResource, GenerateCreatureAssetInput, GenerateCreatureAssetResult, GenerateCreatureInput, GenerateCreatureMotionInput, GenerateCreatureMotionResult, GenerateCreatureResult, ListCreaturesParams, RecaptionCreatureResult, UpdateCreatureInput, UpdateCreatureResult, UpsertCreatureInput, UpsertCreatureResult } from './entries/creatures.js';
16
- export { CreditTransaction, CreditTransactionsOptions, CreditTransactionsPage, CreditsResource, FreeGrantState, ModelCostError, ModelCostResult, ModelCostsResult, SignupGrantClaimResult, SignupKeys, UserBalance, WelcomeOfferClaimInput, WelcomeOfferClaimResult, WelcomeOfferSeenResult, WelcomeOfferState } from './entries/credits.js';
16
+ export { CreditHistoryEntry, CreditHistoryFilters, CreditHistoryJob, CreditHistoryKind, CreditHistoryOptions, CreditHistoryPage, CreditTransaction, CreditTransactionsOptions, CreditTransactionsPage, CreditsResource, FreeGrantState, ModelCostError, ModelCostResult, ModelCostsResult, SignupGrantClaimResult, SignupKeys, UsageByCategory, UsageByGroup, UsageByModel, UsageOverTime, UsageSummary, UsageSummaryBucket, UsageSummaryOptions, UsageSummaryTotals, UserBalance, WelcomeOfferClaimInput, WelcomeOfferClaimResult, WelcomeOfferSeenResult, WelcomeOfferState } from './entries/credits.js';
17
17
  export { ChapterSet, EditPlanMode, EditPlanTier, Edl, EdlClipSet, SpeakerMapResult, Transcript, unwrapEditPlanOutput } from '@nodaro/shared/edl';
18
18
  export { ApplyEdlInput, AudioSyncInput, AudioSyncOffset, AudioSyncResult, AudioSyncSource, CLIP_PACK_MAX_TARGET_SEC, CLIP_PACK_MIN_TARGET_SEC, CameraSwitchInput, ClipPackEmphasis, ClipPackInput, EditJobResult, EditPlanInput, EditPlanSource, EditResource, EpisodeChaptersInput, EpisodeTrailerInput, SilenceDetectInput, SilenceRanges, SpeakerLayoutInput, SpeakerMapInput, SpeakerMapSource, TRAILER_FORMATS, TightenEpisodeEstimate, TightenEpisodeInput, TightenEpisodeJobResult, TrailerFormat, UseCaseContinueInput, UseCaseEstimate, UseCaseJobResult, UseCaseRecordingsInput, UseCaseRequestOptions } from './entries/edit.js';
19
19
  export { AlreadyRunningError, AppRunVersionChangedError, CREDIT_CAP_CODES, ContinuationPreviewPendingError, ContinuationRefusedError, CreditCapCode, CreditCapExceededError, ForbiddenError, HeldFinalRun, InsufficientCreditsError, JobAbortedError, JobBlockedError, JobFailedError, JobHeldError, JobTimeoutError, NodaroError, NotFoundError, RateLimitedError, StorageExceededError, StudioOpError, StudioPreviewAppliedError, StudioPreviewUnavailable, UnauthorizedError, WorkflowConflictCode, WorkflowConflictError, throwFromResponse } from './entries/errors.js';
package/dist/index.js CHANGED
@@ -50,7 +50,7 @@ import './chunk-M6Y5TOYE.js';
50
50
  import './chunk-KARJ7P7Y.js';
51
51
  import './chunk-SUCHGNYT.js';
52
52
  import './chunk-SLPD47SR.js';
53
- export { NodaroClient, createClient } from './chunk-I7AHLDXV.js';
53
+ export { NodaroClient, createClient } from './chunk-EC6MC46Y.js';
54
54
  export { UploadsResource } from './chunk-WY4QRJZW.js';
55
55
  export { VideoProResource } from './chunk-ERLXU47J.js';
56
56
  export { VoicesResource } from './chunk-T7N7DFQJ.js';
@@ -62,8 +62,8 @@ export { SessionsResource } from './chunk-WS4ZQ4AA.js';
62
62
  export { ShotsResource } from './chunk-WVFAQBS7.js';
63
63
  export { StudioProductionsResource, StudioResource, isStudioGenerateEstimate } from './chunk-AUKHMT53.js';
64
64
  export { TemplatesResource } from './chunk-M7VSFZMV.js';
65
- export { TrashResource } from './chunk-KBHDUHKM.js';
66
- export { TrendsResource } from './chunk-XILR6TFO.js';
65
+ export { TrashResource } from './chunk-2SQ7V6EX.js';
66
+ export { TrendsResource } from './chunk-YXVMQEJX.js';
67
67
  export { TutorialsResource } from './chunk-HPXE3NZW.js';
68
68
  export { PALETTE_DIRECTION_PREFIX, PalettesResource, paletteDirectionId } from './chunk-WEQWU2IC.js';
69
69
  export { PickerCatalogsResource } from './chunk-KFZOJBI5.js';
@@ -76,7 +76,7 @@ export { SavedPostsResource } from './chunk-NCCBS6GU.js';
76
76
  export { MediaResource } from './chunk-BQAW4RX2.js';
77
77
  export { ModelsResource } from './chunk-Y6V6CBY5.js';
78
78
  export { MOODBOARD_DIRECTION_PREFIX, MoodboardsResource, moodboardDirectionId } from './chunk-YVU2M7MI.js';
79
- export { PresetsResource } from './chunk-JTAW54UM.js';
79
+ export { PresetsResource } from './chunk-AEUPH7EE.js';
80
80
  export { NodesResource } from './chunk-GW76IRQD.js';
81
81
  export { OAuthResource } from './chunk-Z7LGWNI7.js';
82
82
  export { OBJECT_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS, OBJECT_ASSET_TYPES, OBJECT_ATTACH_COLUMNS, ObjectsResource } from './chunk-7LSFG2AF.js';
@@ -84,7 +84,7 @@ export { OrganizationsResource } from './chunk-ALSLZG3U.js';
84
84
  export { CLIP_PACK_MAX_TARGET_SEC, CLIP_PACK_MIN_TARGET_SEC, EditResource, TRAILER_FORMATS, USE_CASE_NODE_TYPES } from './chunk-RBX3QTKB.js';
85
85
  export { ExecutionsResource, OUTPUT_BEARING_NODE_STATUSES, nodeStateMayCarryOutput } from './chunk-Z3ZKFI2M.js';
86
86
  export { GalleryResource } from './chunk-JDEZHITT.js';
87
- export { JobsResource } from './chunk-PQHZUWSL.js';
87
+ export { JobsResource } from './chunk-THLTFB6I.js';
88
88
  export { LibraryResource } from './chunk-P6E4QDJN.js';
89
89
  export { LlmResource } from './chunk-E37CVHWW.js';
90
90
  export { LOCATION_ASSET_TYPES, LOCATION_ATTACH_COLUMNS, LocationsResource, SURROUND_DIRECTIONS } from './chunk-TVENC6PH.js';
@@ -93,15 +93,15 @@ export { CommunityResource } from './chunk-SFB4YLCS.js';
93
93
  export { CompetitorsResource } from './chunk-BU5A6K4C.js';
94
94
  export { CopilotResource } from './chunk-D2ILCSOQ.js';
95
95
  import './chunk-7CUWAVWB.js';
96
- export { CallbackAuth, NodaroClientCore, StaticTokenAuth, supabaseAuth } from './chunk-FCYN4N3M.js';
96
+ export { CallbackAuth, NodaroClientCore, StaticTokenAuth, supabaseAuth } from './chunk-XISHBW5I.js';
97
97
  export { AlreadyRunningError, AppRunVersionChangedError, CREDIT_CAP_CODES, ContinuationPreviewPendingError, ContinuationRefusedError, CreditCapExceededError, ForbiddenError, InsufficientCreditsError, JobAbortedError, JobBlockedError, JobFailedError, JobHeldError, JobTimeoutError, NodaroError, NotFoundError, RateLimitedError, StorageExceededError, StudioOpError, StudioPreviewAppliedError, StudioPreviewUnavailable, UnauthorizedError, WorkflowConflictError, throwFromResponse } from './chunk-L6T44A3G.js';
98
98
  export { OBJECT_ASPECT_DEFAULTS as CREATURE_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS as CREATURE_ASPECT_OPTIONS, CREATURE_ASSET_TYPES, CREATURE_ATTACH_COLUMNS, CreaturesResource } from './chunk-CK3AMMSC.js';
99
- export { CreditsResource } from './chunk-5MOJSYHI.js';
99
+ export { CreditsResource } from './chunk-7QK2NXJA.js';
100
100
  export { DeveloperAppsResource } from './chunk-65E3JBFZ.js';
101
101
  export { AppsResource } from './chunk-7LODCIQK.js';
102
102
  export { AudioResource } from './chunk-3QFTP5P5.js';
103
- export { BillingResource } from './chunk-J4WFSKY6.js';
104
- export { CastSwapResource } from './chunk-OWG3XAHQ.js';
103
+ export { BillingResource } from './chunk-WYYDWJFF.js';
104
+ export { CastSwapResource } from './chunk-OCRUDBPG.js';
105
105
  export { CatalogsResource } from './chunk-KG4R454Z.js';
106
106
  export { CHARACTER_ASPECT_DEFAULTS, CHARACTER_ASPECT_OPTIONS, CHARACTER_STYLES, CharactersResource, PEOPLE, PERSON_DIMENSION_LABELS, PERSON_DIMENSION_ORDER, buildPersonHints, buildPersonSeedPrompt } from './chunk-EJSGJDZY.js';
107
107
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nodaro/sdk",
3
- "version": "2.47.0",
3
+ "version": "2.51.0",
4
4
  "description": "Typed REST client for the Nodaro API — workflows, jobs, executions, apps, characters, and more.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -312,8 +312,8 @@
312
312
  "test:watch": "vitest"
313
313
  },
314
314
  "dependencies": {
315
- "@nodaro/shared": "^3.44.0",
316
- "@nodaro/prompts": "^1.42.1"
315
+ "@nodaro/shared": "^3.45.0",
316
+ "@nodaro/prompts": "^1.44.0"
317
317
  },
318
318
  "peerDependencies": {
319
319
  "@fingerprintjs/fingerprintjs": "^5.2.0",