@nodaro/sdk 2.63.0 → 2.65.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 (83) hide show
  1. package/dist/{chunk-R63TTR35.cjs → chunk-3CB4WYEY.cjs} +2 -2
  2. package/dist/{chunk-R63TTR35.cjs.map → chunk-3CB4WYEY.cjs.map} +1 -1
  3. package/dist/{chunk-72ZJ72WF.js → chunk-3HL3IHVE.js} +20 -5
  4. package/dist/chunk-3HL3IHVE.js.map +1 -0
  5. package/dist/{chunk-3OARKXWT.cjs → chunk-4DCXJ77J.cjs} +6 -4
  6. package/dist/chunk-4DCXJ77J.cjs.map +1 -0
  7. package/dist/{chunk-T7N7DFQJ.js → chunk-CRIQLLR2.js} +2 -2
  8. package/dist/{chunk-T7N7DFQJ.js.map → chunk-CRIQLLR2.js.map} +1 -1
  9. package/dist/{chunk-ZAATTX5W.js → chunk-DHJRS65Q.js} +5 -3
  10. package/dist/chunk-DHJRS65Q.js.map +1 -0
  11. package/dist/{chunk-K2VWXAGK.js → chunk-HAS6PMQN.js} +6 -4
  12. package/dist/chunk-HAS6PMQN.js.map +1 -0
  13. package/dist/{chunk-GHVCV4S5.cjs → chunk-HVF5DRGQ.cjs} +2 -2
  14. package/dist/{chunk-GHVCV4S5.cjs.map → chunk-HVF5DRGQ.cjs.map} +1 -1
  15. package/dist/{chunk-5LI4CVJB.cjs → chunk-HW3CSUVC.cjs} +2 -2
  16. package/dist/chunk-HW3CSUVC.cjs.map +1 -0
  17. package/dist/{chunk-3QFTP5P5.js → chunk-OHC4JIUP.js} +10 -2
  18. package/dist/chunk-OHC4JIUP.js.map +1 -0
  19. package/dist/{chunk-H3HUZT3T.js → chunk-OVFH7L2T.js} +2 -2
  20. package/dist/{chunk-H3HUZT3T.js.map → chunk-OVFH7L2T.js.map} +1 -1
  21. package/dist/{chunk-GA4LZZKQ.cjs → chunk-PGT4BXR2.cjs} +10 -2
  22. package/dist/chunk-PGT4BXR2.cjs.map +1 -0
  23. package/dist/{chunk-PTVUYLJO.cjs → chunk-QTO2U6JZ.cjs} +5 -3
  24. package/dist/chunk-QTO2U6JZ.cjs.map +1 -0
  25. package/dist/{chunk-POUMH7QE.js → chunk-QUYZCZ33.js} +10 -10
  26. package/dist/{chunk-POUMH7QE.js.map → chunk-QUYZCZ33.js.map} +1 -1
  27. package/dist/{chunk-CAQ2BKEP.js → chunk-S4BERJXU.js} +3 -3
  28. package/dist/{chunk-CAQ2BKEP.js.map → chunk-S4BERJXU.js.map} +1 -1
  29. package/dist/{chunk-A42R7UT7.js → chunk-SVWEWBXI.js} +2 -2
  30. package/dist/chunk-SVWEWBXI.js.map +1 -0
  31. package/dist/{chunk-JK3YVG6A.cjs → chunk-UIM5SLPP.cjs} +20 -5
  32. package/dist/chunk-UIM5SLPP.cjs.map +1 -0
  33. package/dist/{chunk-7IZ4ZMI5.cjs → chunk-XZYJBJ2K.cjs} +18 -18
  34. package/dist/{chunk-7IZ4ZMI5.cjs.map → chunk-XZYJBJ2K.cjs.map} +1 -1
  35. package/dist/{chunk-VU23J7US.cjs → chunk-ZVG5ODVY.cjs} +3 -3
  36. package/dist/{chunk-VU23J7US.cjs.map → chunk-ZVG5ODVY.cjs.map} +1 -1
  37. package/dist/entries/audio.cjs +2 -2
  38. package/dist/entries/audio.d.cts +10 -0
  39. package/dist/entries/audio.d.ts +10 -0
  40. package/dist/entries/audio.js +1 -1
  41. package/dist/entries/cast-swap.cjs +2 -2
  42. package/dist/entries/cast-swap.d.cts +52 -17
  43. package/dist/entries/cast-swap.d.ts +52 -17
  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/content-rights.cjs +2 -2
  48. package/dist/entries/content-rights.d.cts +4 -2
  49. package/dist/entries/content-rights.d.ts +4 -2
  50. package/dist/entries/content-rights.js +1 -1
  51. package/dist/entries/core.cjs +5 -5
  52. package/dist/entries/core.js +1 -1
  53. package/dist/entries/jobs.cjs +2 -2
  54. package/dist/entries/jobs.d.cts +24 -8
  55. package/dist/entries/jobs.d.ts +24 -8
  56. package/dist/entries/jobs.js +1 -1
  57. package/dist/entries/media.cjs +2 -2
  58. package/dist/entries/media.d.cts +78 -6
  59. package/dist/entries/media.d.ts +78 -6
  60. package/dist/entries/media.js +1 -1
  61. package/dist/entries/trends.cjs +2 -2
  62. package/dist/entries/trends.d.cts +11 -2
  63. package/dist/entries/trends.d.ts +11 -2
  64. package/dist/entries/trends.js +1 -1
  65. package/dist/entries/voices.cjs +2 -2
  66. package/dist/entries/voices.d.cts +16 -5
  67. package/dist/entries/voices.d.ts +16 -5
  68. package/dist/entries/voices.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-3OARKXWT.cjs.map +0 -1
  75. package/dist/chunk-3QFTP5P5.js.map +0 -1
  76. package/dist/chunk-5LI4CVJB.cjs.map +0 -1
  77. package/dist/chunk-72ZJ72WF.js.map +0 -1
  78. package/dist/chunk-A42R7UT7.js.map +0 -1
  79. package/dist/chunk-GA4LZZKQ.cjs.map +0 -1
  80. package/dist/chunk-JK3YVG6A.cjs.map +0 -1
  81. package/dist/chunk-K2VWXAGK.js.map +0 -1
  82. package/dist/chunk-PTVUYLJO.cjs.map +0 -1
  83. package/dist/chunk-ZAATTX5W.js.map +0 -1
@@ -273,17 +273,24 @@ interface CastSwapParams {
273
273
  */
274
274
  style?: CastSwapStyle;
275
275
  /**
276
- * Flex only (`style: "motion"`, a direct run): an art style that restyles
277
- * the whole video, as a `direction.style` id of the platform's `style`
278
- * picker catalog (the same ids an image's `direction.style` takes); the
279
- * platform words it. Refused with 400 `unknown_art_style` (not in the
280
- * catalog), `art_style_not_supported` (a saved moodboard, `moodboard:…`)
281
- * or `art_style_needs_flex` (a request with no `style: "motion"`, a trend
282
- * run, or a Flex run whose prompt is made Precise by Nodaro's setting for how
283
- * Flex runs are prepared; a forced Precise instead drops the art style, see
284
- * {@link CastSwapStyleChoice.styleOnly}), and on Nodaro Motion Pulse with
285
- * `art_style_needs_prism`. The estimate (sent with the same
286
- * `direction`) shows the price.
276
+ * A direct run on Nodaro Motion Prism: an art style that restyles the whole
277
+ * video, as a `direction.style` id of the platform's `style` picker catalog
278
+ * (the same ids an image's `direction.style` takes); the platform words it.
279
+ * A Flex run (`style: "motion"`) takes one, and so does a Precise run where
280
+ * {@link CastSwapResource.styleChoice} answers `preciseArtStyle` true for the
281
+ * engine. Nodaro may run such a Precise request as a Flex run (its engine does
282
+ * by default, unless Nodaro turns that off), exactly as if `style: "motion"` had
283
+ * been sent: its estimate, price and Full Quality are then a Flex run's, and the
284
+ * job records `input_data.style: "motion"`. Otherwise it is Precise's edit of
285
+ * the clip, drawn in the art style. Refused with
286
+ * 400 `unknown_art_style` (not in the catalog), `art_style_not_supported` (a
287
+ * saved moodboard, `moodboard:…`) or `art_style_needs_flex` (a trend run, a
288
+ * Flex run whose prompt is made Precise by Nodaro's setting for how Flex
289
+ * runs are prepared, or a Precise request on an engine from before Precise
290
+ * runs took one), and on Nodaro Motion Pulse with `art_style_needs_prism`.
291
+ * The estimate (sent with the same `direction`) shows the price: it changes
292
+ * only where Nodaro's setting for such runs first redraws the role pictures
293
+ * in the art style.
287
294
  *
288
295
  * Style only: with no role with images and no fixed reference, the art style
289
296
  * alone is the run's change (a pre or post prompt is still added). It
@@ -292,11 +299,14 @@ interface CastSwapParams {
292
299
  * `privacy` part). By default a black-and-white art style comes out
293
300
  * monochrome. Nodaro may run it the way other art-style runs run instead,
294
301
  * priced as those are and not made monochrome.
295
- * A preview takes its full run's path. Runs this way only where
296
- * {@link CastSwapResource.styleChoice} answers `styleOnly` true for the
297
- * engine; elsewhere on Nodaro Motion Prism an art style alone is refused, and
298
- * one with a pre or post prompt runs as any other art-style run. The job
299
- * records it in `input_data.direction`.
302
+ * A preview takes its full run's path. Runs this way only on a Flex run, and
303
+ * only where {@link CastSwapResource.styleChoice} answers `styleOnly` true
304
+ * for the engine; elsewhere on Nodaro Motion Prism an art style alone is
305
+ * refused (on a Precise run that stays Precise too, unless
306
+ * {@link CastSwapResource.styleChoice} answers `preciseArtStyleAlone` true for
307
+ * the engine, where it is that run's change), and one with a pre or post prompt
308
+ * runs as any other art-style run. The job records it in
309
+ * `input_data.direction`.
300
310
  */
301
311
  direction?: {
302
312
  style: string;
@@ -525,6 +535,29 @@ interface CastSwapStyleChoice {
525
535
  * an engine missing from it: `false`.
526
536
  */
527
537
  styleOnly?: Partial<Record<CastSwapEngine, boolean>>;
538
+ /**
539
+ * Per engine, whether a Precise run (no `style`, or `"precise"`) takes an
540
+ * art style (`direction`), as a Flex run does. Nodaro may run such a request as
541
+ * a Flex run (see {@link CastSwapParams}'s `direction`), which this does not
542
+ * say; otherwise it is Precise's edit of the clip, drawn in the art style, and,
543
+ * where {@link CastSwapStyleChoice.preciseArtStyleAlone} is not true for the
544
+ * engine, not on its own: a Precise run with nothing else to change is then refused.
545
+ * Where it is `true`, an engine answered
546
+ * `"precise"` keeps a Flex request's art style. Nodaro Motion Pulse is always
547
+ * `false` (it takes no art style). Absent from an older server, and an engine
548
+ * missing from it: `false` (offer an art style on Flex runs alone).
549
+ */
550
+ preciseArtStyle?: Partial<Record<CastSwapEngine, boolean>>;
551
+ /**
552
+ * Per engine, whether an art style (`direction`) alone is a Precise run's
553
+ * change there, so the run needs no role, reference or prompt. Nodaro may run
554
+ * such a request as a Flex run (see {@link CastSwapParams}'s `direction`), which
555
+ * this does not say. It answers
556
+ * `false` until the engine takes such runs. Nodaro Motion Pulse is always
557
+ * `false` (it takes no art style). Absent from an older server, and an engine
558
+ * missing from it: `false`.
559
+ */
560
+ preciseArtStyleAlone?: Partial<Record<CastSwapEngine, boolean>>;
528
561
  }
529
562
  declare class CastSwapResource {
530
563
  private client;
@@ -549,7 +582,9 @@ declare class CastSwapResource {
549
582
  * nothing to swap restyles the whole clip there. Where it is not `true`
550
583
  * (absent, or an engine missing from it, included) on Nodaro Motion Prism, an
551
584
  * art style alone is refused, and one with a pre or post prompt runs as any
552
- * other art-style run.
585
+ * other art-style run. Its `preciseArtStyle` says, per engine, whether a
586
+ * Precise run takes an art style there too, and its `preciseArtStyleAlone`
587
+ * whether that art style alone is the run's change.
553
588
  * Public (no sign-in needed); the answer may be up to a minute old.
554
589
  */
555
590
  styleChoice(): Promise<CastSwapStyleChoice>;
@@ -273,17 +273,24 @@ interface CastSwapParams {
273
273
  */
274
274
  style?: CastSwapStyle;
275
275
  /**
276
- * Flex only (`style: "motion"`, a direct run): an art style that restyles
277
- * the whole video, as a `direction.style` id of the platform's `style`
278
- * picker catalog (the same ids an image's `direction.style` takes); the
279
- * platform words it. Refused with 400 `unknown_art_style` (not in the
280
- * catalog), `art_style_not_supported` (a saved moodboard, `moodboard:…`)
281
- * or `art_style_needs_flex` (a request with no `style: "motion"`, a trend
282
- * run, or a Flex run whose prompt is made Precise by Nodaro's setting for how
283
- * Flex runs are prepared; a forced Precise instead drops the art style, see
284
- * {@link CastSwapStyleChoice.styleOnly}), and on Nodaro Motion Pulse with
285
- * `art_style_needs_prism`. The estimate (sent with the same
286
- * `direction`) shows the price.
276
+ * A direct run on Nodaro Motion Prism: an art style that restyles the whole
277
+ * video, as a `direction.style` id of the platform's `style` picker catalog
278
+ * (the same ids an image's `direction.style` takes); the platform words it.
279
+ * A Flex run (`style: "motion"`) takes one, and so does a Precise run where
280
+ * {@link CastSwapResource.styleChoice} answers `preciseArtStyle` true for the
281
+ * engine. Nodaro may run such a Precise request as a Flex run (its engine does
282
+ * by default, unless Nodaro turns that off), exactly as if `style: "motion"` had
283
+ * been sent: its estimate, price and Full Quality are then a Flex run's, and the
284
+ * job records `input_data.style: "motion"`. Otherwise it is Precise's edit of
285
+ * the clip, drawn in the art style. Refused with
286
+ * 400 `unknown_art_style` (not in the catalog), `art_style_not_supported` (a
287
+ * saved moodboard, `moodboard:…`) or `art_style_needs_flex` (a trend run, a
288
+ * Flex run whose prompt is made Precise by Nodaro's setting for how Flex
289
+ * runs are prepared, or a Precise request on an engine from before Precise
290
+ * runs took one), and on Nodaro Motion Pulse with `art_style_needs_prism`.
291
+ * The estimate (sent with the same `direction`) shows the price: it changes
292
+ * only where Nodaro's setting for such runs first redraws the role pictures
293
+ * in the art style.
287
294
  *
288
295
  * Style only: with no role with images and no fixed reference, the art style
289
296
  * alone is the run's change (a pre or post prompt is still added). It
@@ -292,11 +299,14 @@ interface CastSwapParams {
292
299
  * `privacy` part). By default a black-and-white art style comes out
293
300
  * monochrome. Nodaro may run it the way other art-style runs run instead,
294
301
  * priced as those are and not made monochrome.
295
- * A preview takes its full run's path. Runs this way only where
296
- * {@link CastSwapResource.styleChoice} answers `styleOnly` true for the
297
- * engine; elsewhere on Nodaro Motion Prism an art style alone is refused, and
298
- * one with a pre or post prompt runs as any other art-style run. The job
299
- * records it in `input_data.direction`.
302
+ * A preview takes its full run's path. Runs this way only on a Flex run, and
303
+ * only where {@link CastSwapResource.styleChoice} answers `styleOnly` true
304
+ * for the engine; elsewhere on Nodaro Motion Prism an art style alone is
305
+ * refused (on a Precise run that stays Precise too, unless
306
+ * {@link CastSwapResource.styleChoice} answers `preciseArtStyleAlone` true for
307
+ * the engine, where it is that run's change), and one with a pre or post prompt
308
+ * runs as any other art-style run. The job records it in
309
+ * `input_data.direction`.
300
310
  */
301
311
  direction?: {
302
312
  style: string;
@@ -525,6 +535,29 @@ interface CastSwapStyleChoice {
525
535
  * an engine missing from it: `false`.
526
536
  */
527
537
  styleOnly?: Partial<Record<CastSwapEngine, boolean>>;
538
+ /**
539
+ * Per engine, whether a Precise run (no `style`, or `"precise"`) takes an
540
+ * art style (`direction`), as a Flex run does. Nodaro may run such a request as
541
+ * a Flex run (see {@link CastSwapParams}'s `direction`), which this does not
542
+ * say; otherwise it is Precise's edit of the clip, drawn in the art style, and,
543
+ * where {@link CastSwapStyleChoice.preciseArtStyleAlone} is not true for the
544
+ * engine, not on its own: a Precise run with nothing else to change is then refused.
545
+ * Where it is `true`, an engine answered
546
+ * `"precise"` keeps a Flex request's art style. Nodaro Motion Pulse is always
547
+ * `false` (it takes no art style). Absent from an older server, and an engine
548
+ * missing from it: `false` (offer an art style on Flex runs alone).
549
+ */
550
+ preciseArtStyle?: Partial<Record<CastSwapEngine, boolean>>;
551
+ /**
552
+ * Per engine, whether an art style (`direction`) alone is a Precise run's
553
+ * change there, so the run needs no role, reference or prompt. Nodaro may run
554
+ * such a request as a Flex run (see {@link CastSwapParams}'s `direction`), which
555
+ * this does not say. It answers
556
+ * `false` until the engine takes such runs. Nodaro Motion Pulse is always
557
+ * `false` (it takes no art style). Absent from an older server, and an engine
558
+ * missing from it: `false`.
559
+ */
560
+ preciseArtStyleAlone?: Partial<Record<CastSwapEngine, boolean>>;
528
561
  }
529
562
  declare class CastSwapResource {
530
563
  private client;
@@ -549,7 +582,9 @@ declare class CastSwapResource {
549
582
  * nothing to swap restyles the whole clip there. Where it is not `true`
550
583
  * (absent, or an engine missing from it, included) on Nodaro Motion Prism, an
551
584
  * art style alone is refused, and one with a pre or post prompt runs as any
552
- * other art-style run.
585
+ * other art-style run. Its `preciseArtStyle` says, per engine, whether a
586
+ * Precise run takes an art style there too, and its `preciseArtStyleAlone`
587
+ * whether that art style alone is the run's change.
553
588
  * Public (no sign-in needed); the answer may be up to a minute old.
554
589
  */
555
590
  styleChoice(): Promise<CastSwapStyleChoice>;
@@ -1,4 +1,4 @@
1
1
  import '../chunk-KARJ7P7Y.js';
2
- export { CastSwapResource } from '../chunk-ZAATTX5W.js';
2
+ export { CastSwapResource } from '../chunk-DHJRS65Q.js';
3
3
  //# sourceMappingURL=cast-swap.js.map
4
4
  //# sourceMappingURL=cast-swap.js.map
@@ -1,15 +1,15 @@
1
1
  'use strict';
2
2
 
3
- var chunk7IZ4ZMI5_cjs = require('../chunk-7IZ4ZMI5.cjs');
3
+ var chunkXZYJBJ2K_cjs = require('../chunk-XZYJBJ2K.cjs');
4
4
  require('../chunk-WUM6CWTE.cjs');
5
5
  require('../chunk-LKH5M44B.cjs');
6
6
  require('../chunk-RKW3N463.cjs');
7
- require('../chunk-GHVCV4S5.cjs');
7
+ require('../chunk-HVF5DRGQ.cjs');
8
8
  require('../chunk-KMNSPC72.cjs');
9
9
  require('../chunk-UPGZTLK7.cjs');
10
10
  require('../chunk-UIDVH3GP.cjs');
11
11
  require('../chunk-W5VHATSR.cjs');
12
- require('../chunk-R63TTR35.cjs');
12
+ require('../chunk-3CB4WYEY.cjs');
13
13
  require('../chunk-3B47IHB3.cjs');
14
14
  require('../chunk-GB6C5OEZ.cjs');
15
15
  require('../chunk-SYVNY3AH.cjs');
@@ -29,7 +29,7 @@ require('../chunk-TCLNSVYA.cjs');
29
29
  require('../chunk-KXEWTYS4.cjs');
30
30
  require('../chunk-SS3B6PHT.cjs');
31
31
  require('../chunk-MIXRL6I2.cjs');
32
- require('../chunk-JK3YVG6A.cjs');
32
+ require('../chunk-UIM5SLPP.cjs');
33
33
  require('../chunk-7QOCWJKD.cjs');
34
34
  require('../chunk-ZCWKX4V6.cjs');
35
35
  require('../chunk-Q45PC4YD.cjs');
@@ -39,23 +39,23 @@ require('../chunk-A3S55XGF.cjs');
39
39
  require('../chunk-GRATHB3C.cjs');
40
40
  require('../chunk-VUTNNRDW.cjs');
41
41
  require('../chunk-WUKIJJG2.cjs');
42
- require('../chunk-5LI4CVJB.cjs');
42
+ require('../chunk-HW3CSUVC.cjs');
43
43
  require('../chunk-RR45WBME.cjs');
44
44
  require('../chunk-2DZWWIJ4.cjs');
45
45
  require('../chunk-WK4VXPPZ.cjs');
46
46
  require('../chunk-43FVH6LJ.cjs');
47
47
  require('../chunk-YFS2LMG4.cjs');
48
- require('../chunk-3OARKXWT.cjs');
48
+ require('../chunk-4DCXJ77J.cjs');
49
49
  require('../chunk-TBFA6QPH.cjs');
50
50
  require('../chunk-KP2DIIKO.cjs');
51
- var chunkVU23J7US_cjs = require('../chunk-VU23J7US.cjs');
51
+ var chunkZVG5ODVY_cjs = require('../chunk-ZVG5ODVY.cjs');
52
52
  require('../chunk-P2JYDWZT.cjs');
53
53
  require('../chunk-A3XA6UNM.cjs');
54
54
  require('../chunk-4BAHF762.cjs');
55
55
  require('../chunk-JOXZ4ZIF.cjs');
56
- require('../chunk-GA4LZZKQ.cjs');
56
+ require('../chunk-PGT4BXR2.cjs');
57
57
  require('../chunk-GGIWDFER.cjs');
58
- require('../chunk-PTVUYLJO.cjs');
58
+ require('../chunk-QTO2U6JZ.cjs');
59
59
  require('../chunk-BPWUWUZ3.cjs');
60
60
  require('../chunk-XZQ6Z4T6.cjs');
61
61
 
@@ -63,23 +63,23 @@ require('../chunk-XZQ6Z4T6.cjs');
63
63
 
64
64
  Object.defineProperty(exports, "NodaroClient", {
65
65
  enumerable: true,
66
- get: function () { return chunk7IZ4ZMI5_cjs.NodaroClient; }
66
+ get: function () { return chunkXZYJBJ2K_cjs.NodaroClient; }
67
67
  });
68
68
  Object.defineProperty(exports, "createClient", {
69
69
  enumerable: true,
70
- get: function () { return chunk7IZ4ZMI5_cjs.createClient; }
70
+ get: function () { return chunkXZYJBJ2K_cjs.createClient; }
71
71
  });
72
72
  Object.defineProperty(exports, "CallbackAuth", {
73
73
  enumerable: true,
74
- get: function () { return chunkVU23J7US_cjs.CallbackAuth; }
74
+ get: function () { return chunkZVG5ODVY_cjs.CallbackAuth; }
75
75
  });
76
76
  Object.defineProperty(exports, "StaticTokenAuth", {
77
77
  enumerable: true,
78
- get: function () { return chunkVU23J7US_cjs.StaticTokenAuth; }
78
+ get: function () { return chunkZVG5ODVY_cjs.StaticTokenAuth; }
79
79
  });
80
80
  Object.defineProperty(exports, "supabaseAuth", {
81
81
  enumerable: true,
82
- get: function () { return chunkVU23J7US_cjs.supabaseAuth; }
82
+ get: function () { return chunkZVG5ODVY_cjs.supabaseAuth; }
83
83
  });
84
84
  //# sourceMappingURL=client.cjs.map
85
85
  //# sourceMappingURL=client.cjs.map
@@ -1,13 +1,13 @@
1
- export { NodaroClient, createClient } from '../chunk-POUMH7QE.js';
1
+ export { NodaroClient, createClient } from '../chunk-QUYZCZ33.js';
2
2
  import '../chunk-33HT46A3.js';
3
3
  import '../chunk-Z5GLY4R3.js';
4
4
  import '../chunk-TLTPIS2A.js';
5
- import '../chunk-H3HUZT3T.js';
5
+ import '../chunk-OVFH7L2T.js';
6
6
  import '../chunk-HPXE3NZW.js';
7
7
  import '../chunk-P2C33IOF.js';
8
8
  import '../chunk-LR5TGCJP.js';
9
9
  import '../chunk-ERLXU47J.js';
10
- import '../chunk-T7N7DFQJ.js';
10
+ import '../chunk-CRIQLLR2.js';
11
11
  import '../chunk-YN6CBIIB.js';
12
12
  import '../chunk-IHKIYVZQ.js';
13
13
  import '../chunk-NCCBS6GU.js';
@@ -27,7 +27,7 @@ import '../chunk-OIPPTBW4.js';
27
27
  import '../chunk-AJVSMNPZ.js';
28
28
  import '../chunk-E37CVHWW.js';
29
29
  import '../chunk-XZPSJG2X.js';
30
- import '../chunk-72ZJ72WF.js';
30
+ import '../chunk-3HL3IHVE.js';
31
31
  import '../chunk-Y6V6CBY5.js';
32
32
  import '../chunk-YVU2M7MI.js';
33
33
  import '../chunk-AEUPH7EE.js';
@@ -37,23 +37,23 @@ import '../chunk-65E3JBFZ.js';
37
37
  import '../chunk-T23YD5BR.js';
38
38
  import '../chunk-22XXTB2R.js';
39
39
  import '../chunk-JDEZHITT.js';
40
- import '../chunk-A42R7UT7.js';
40
+ import '../chunk-SVWEWBXI.js';
41
41
  import '../chunk-MQWZFWHE.js';
42
42
  import '../chunk-P6E4QDJN.js';
43
43
  import '../chunk-4WRDR4GN.js';
44
44
  import '../chunk-SFB4YLCS.js';
45
45
  import '../chunk-BU5A6K4C.js';
46
- import '../chunk-K2VWXAGK.js';
46
+ import '../chunk-HAS6PMQN.js';
47
47
  import '../chunk-MQRPXZW5.js';
48
48
  import '../chunk-A75Q7UEU.js';
49
- export { CallbackAuth, StaticTokenAuth, supabaseAuth } from '../chunk-CAQ2BKEP.js';
49
+ export { CallbackAuth, StaticTokenAuth, supabaseAuth } from '../chunk-S4BERJXU.js';
50
50
  import '../chunk-WNXX3B2A.js';
51
51
  import '../chunk-HUYI5G3D.js';
52
52
  import '../chunk-7QK2NXJA.js';
53
53
  import '../chunk-7LODCIQK.js';
54
- import '../chunk-3QFTP5P5.js';
54
+ import '../chunk-OHC4JIUP.js';
55
55
  import '../chunk-VQOUF4F5.js';
56
- import '../chunk-ZAATTX5W.js';
56
+ import '../chunk-DHJRS65Q.js';
57
57
  import '../chunk-KG4R454Z.js';
58
58
  import '../chunk-CBDUHYTR.js';
59
59
  //# sourceMappingURL=client.js.map
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-2M4VYNSE.cjs');
4
- var chunk3OARKXWT_cjs = require('../chunk-3OARKXWT.cjs');
4
+ var chunk4DCXJ77J_cjs = require('../chunk-4DCXJ77J.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "ContentRightsResource", {
9
9
  enumerable: true,
10
- get: function () { return chunk3OARKXWT_cjs.ContentRightsResource; }
10
+ get: function () { return chunk4DCXJ77J_cjs.ContentRightsResource; }
11
11
  });
12
12
  //# sourceMappingURL=content-rights.cjs.map
13
13
  //# sourceMappingURL=content-rights.cjs.map
@@ -49,8 +49,10 @@ declare class ContentRightsResource {
49
49
  declaration(): Promise<ContentRightsDeclaration>;
50
50
  /**
51
51
  * `POST /v1/content-rights/confirm` → the confirmation for one link, under
52
- * the declaration version the person saw. `409 rights_confirmation_stale`
53
- * when the declaration changed since: read it again and ask again.
52
+ * the declaration version the person saw. Any `http(s)` link an import takes
53
+ * can be confirmed (a video's page, a file, a picture). `409
54
+ * rights_confirmation_stale` when the declaration changed since: read it
55
+ * again and ask again.
54
56
  */
55
57
  confirm(input: {
56
58
  url: string;
@@ -49,8 +49,10 @@ declare class ContentRightsResource {
49
49
  declaration(): Promise<ContentRightsDeclaration>;
50
50
  /**
51
51
  * `POST /v1/content-rights/confirm` → the confirmation for one link, under
52
- * the declaration version the person saw. `409 rights_confirmation_stale`
53
- * when the declaration changed since: read it again and ask again.
52
+ * the declaration version the person saw. Any `http(s)` link an import takes
53
+ * can be confirmed (a video's page, a file, a picture). `409
54
+ * rights_confirmation_stale` when the declaration changed since: read it
55
+ * again and ask again.
54
56
  */
55
57
  confirm(input: {
56
58
  url: string;
@@ -1,4 +1,4 @@
1
1
  import '../chunk-UIBY7JVJ.js';
2
- export { ContentRightsResource } from '../chunk-K2VWXAGK.js';
2
+ export { ContentRightsResource } from '../chunk-HAS6PMQN.js';
3
3
  //# sourceMappingURL=content-rights.js.map
4
4
  //# sourceMappingURL=content-rights.js.map
@@ -1,26 +1,26 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-X7XP5WBP.cjs');
4
- var chunkVU23J7US_cjs = require('../chunk-VU23J7US.cjs');
4
+ var chunkZVG5ODVY_cjs = require('../chunk-ZVG5ODVY.cjs');
5
5
  require('../chunk-P2JYDWZT.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "CallbackAuth", {
10
10
  enumerable: true,
11
- get: function () { return chunkVU23J7US_cjs.CallbackAuth; }
11
+ get: function () { return chunkZVG5ODVY_cjs.CallbackAuth; }
12
12
  });
13
13
  Object.defineProperty(exports, "NodaroClientCore", {
14
14
  enumerable: true,
15
- get: function () { return chunkVU23J7US_cjs.NodaroClientCore; }
15
+ get: function () { return chunkZVG5ODVY_cjs.NodaroClientCore; }
16
16
  });
17
17
  Object.defineProperty(exports, "StaticTokenAuth", {
18
18
  enumerable: true,
19
- get: function () { return chunkVU23J7US_cjs.StaticTokenAuth; }
19
+ get: function () { return chunkZVG5ODVY_cjs.StaticTokenAuth; }
20
20
  });
21
21
  Object.defineProperty(exports, "supabaseAuth", {
22
22
  enumerable: true,
23
- get: function () { return chunkVU23J7US_cjs.supabaseAuth; }
23
+ get: function () { return chunkZVG5ODVY_cjs.supabaseAuth; }
24
24
  });
25
25
  //# sourceMappingURL=core.cjs.map
26
26
  //# sourceMappingURL=core.cjs.map
@@ -1,5 +1,5 @@
1
1
  import '../chunk-AUDHV3OE.js';
2
- export { CallbackAuth, NodaroClientCore, StaticTokenAuth, supabaseAuth } from '../chunk-CAQ2BKEP.js';
2
+ export { CallbackAuth, NodaroClientCore, StaticTokenAuth, supabaseAuth } from '../chunk-S4BERJXU.js';
3
3
  import '../chunk-WNXX3B2A.js';
4
4
  //# sourceMappingURL=core.js.map
5
5
  //# sourceMappingURL=core.js.map
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-EHRWTYGR.cjs');
4
- var chunk5LI4CVJB_cjs = require('../chunk-5LI4CVJB.cjs');
4
+ var chunkHW3CSUVC_cjs = require('../chunk-HW3CSUVC.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "JobsResource", {
9
9
  enumerable: true,
10
- get: function () { return chunk5LI4CVJB_cjs.JobsResource; }
10
+ get: function () { return chunkHW3CSUVC_cjs.JobsResource; }
11
11
  });
12
12
  //# sourceMappingURL=jobs.cjs.map
13
13
  //# sourceMappingURL=jobs.cjs.map
@@ -32,13 +32,15 @@ type SafetyBlockHint = {
32
32
  retried: boolean;
33
33
  suggestedProvider?: string;
34
34
  /**
35
- * Present when the provider named the input it refused — not the prompt or
36
- * the output. `"input_video"`: the input video itself; sending a different
37
- * clip is the fix. `"input_image"`: one of the input images, refused as
38
- * possibly copyrighted (with `class: "copyright"`); sending a different
39
- * picture is the fix. Treat an unknown value as absent.
35
+ * Present when the provider named what it refused. `"input_video"`: the
36
+ * input video itself; sending a different clip is the fix. `"input_image"`:
37
+ * one of the input images, refused as possibly copyrighted (with
38
+ * `class: "copyright"`); sending a different picture is the fix. `"prompt"`:
39
+ * the provider's own words named the prompt; changing the prompt is the fix.
40
+ * `"audio"`: the provider's own words blamed the generated audio, not the
41
+ * picture. Treat an unknown value as absent.
40
42
  */
41
- subject?: "input_video" | "input_image";
43
+ subject?: "input_video" | "input_image" | "prompt" | "audio";
42
44
  };
43
45
  /**
44
46
  * A NODARO-side verdict, not a provider's: a job policy registered by the
@@ -98,6 +100,20 @@ type QueueTimeoutHint = {
98
100
  reason: "timeout" | "lost" | "live-wait";
99
101
  waitedMinutes: number;
100
102
  };
103
+ /**
104
+ * The provider refused the request as it was sent, naming a fault of it (a
105
+ * setting, a file's format or size, the prompt's length). The same request is
106
+ * refused the same way, so do not run it again unchanged: change the input
107
+ * images, the video, the prompt or the settings. Not a content-policy block. On a
108
+ * job made of steps (a Nodaro Motion or trend run), one step's refusal.
109
+ * `subject: "input_video"`: the provider's words name the input video as the
110
+ * fault (its length or size, or no character found in it), so a different clip
111
+ * is what can change.
112
+ */
113
+ type RequestRefusedHint = {
114
+ kind: "request-refused";
115
+ subject?: "input_video";
116
+ };
101
117
  /**
102
118
  * A job's `jobs.error_hint` (migration 376) — a user-safe, machine-readable
103
119
  * failure verdict, so a caller can act on it without parsing `error_message`
@@ -109,7 +125,7 @@ type QueueTimeoutHint = {
109
125
  * pasted here verbatim in the same change, with a changeset.
110
126
  * `packages/client/dist/index.d.ts` is REBUILT, never hand-edited.
111
127
  */
112
- type JobErrorHint = SafetyBlockHint | PolicyBlockHint | CreditsHint | InputRefusedHint | QueueTimeoutHint;
128
+ type JobErrorHint = SafetyBlockHint | PolicyBlockHint | CreditsHint | InputRefusedHint | QueueTimeoutHint | RequestRefusedHint;
113
129
  /**
114
130
  * The billing lifecycle of a job's credit reservation — `usage_logs.status`
115
131
  * for the job's `usage_log_id`. `null` when the job has no usage log (e.g. a
@@ -456,4 +472,4 @@ declare class JobsResource {
456
472
  }>;
457
473
  }
458
474
 
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 };
475
+ export { type CancelJobResult, type CreditStatus, type CreditsHint, type DeleteJobResult, type InputRefusedHint, type Job, type JobErrorHint, type JobFromUploadParams, type JobQueueInfo, type JobRating, type JobRatingFilter, type JobSessionRef, type JobSource, type JobStatus, type JobStatusResult, JobsResource, type ListJobsPage, type ListJobsParams, type PolicyBlockHint, type QueueTimeoutHint, type RateJobResult, type RequestRefusedHint, type SafetyBlockHint };
@@ -32,13 +32,15 @@ type SafetyBlockHint = {
32
32
  retried: boolean;
33
33
  suggestedProvider?: string;
34
34
  /**
35
- * Present when the provider named the input it refused — not the prompt or
36
- * the output. `"input_video"`: the input video itself; sending a different
37
- * clip is the fix. `"input_image"`: one of the input images, refused as
38
- * possibly copyrighted (with `class: "copyright"`); sending a different
39
- * picture is the fix. Treat an unknown value as absent.
35
+ * Present when the provider named what it refused. `"input_video"`: the
36
+ * input video itself; sending a different clip is the fix. `"input_image"`:
37
+ * one of the input images, refused as possibly copyrighted (with
38
+ * `class: "copyright"`); sending a different picture is the fix. `"prompt"`:
39
+ * the provider's own words named the prompt; changing the prompt is the fix.
40
+ * `"audio"`: the provider's own words blamed the generated audio, not the
41
+ * picture. Treat an unknown value as absent.
40
42
  */
41
- subject?: "input_video" | "input_image";
43
+ subject?: "input_video" | "input_image" | "prompt" | "audio";
42
44
  };
43
45
  /**
44
46
  * A NODARO-side verdict, not a provider's: a job policy registered by the
@@ -98,6 +100,20 @@ type QueueTimeoutHint = {
98
100
  reason: "timeout" | "lost" | "live-wait";
99
101
  waitedMinutes: number;
100
102
  };
103
+ /**
104
+ * The provider refused the request as it was sent, naming a fault of it (a
105
+ * setting, a file's format or size, the prompt's length). The same request is
106
+ * refused the same way, so do not run it again unchanged: change the input
107
+ * images, the video, the prompt or the settings. Not a content-policy block. On a
108
+ * job made of steps (a Nodaro Motion or trend run), one step's refusal.
109
+ * `subject: "input_video"`: the provider's words name the input video as the
110
+ * fault (its length or size, or no character found in it), so a different clip
111
+ * is what can change.
112
+ */
113
+ type RequestRefusedHint = {
114
+ kind: "request-refused";
115
+ subject?: "input_video";
116
+ };
101
117
  /**
102
118
  * A job's `jobs.error_hint` (migration 376) — a user-safe, machine-readable
103
119
  * failure verdict, so a caller can act on it without parsing `error_message`
@@ -109,7 +125,7 @@ type QueueTimeoutHint = {
109
125
  * pasted here verbatim in the same change, with a changeset.
110
126
  * `packages/client/dist/index.d.ts` is REBUILT, never hand-edited.
111
127
  */
112
- type JobErrorHint = SafetyBlockHint | PolicyBlockHint | CreditsHint | InputRefusedHint | QueueTimeoutHint;
128
+ type JobErrorHint = SafetyBlockHint | PolicyBlockHint | CreditsHint | InputRefusedHint | QueueTimeoutHint | RequestRefusedHint;
113
129
  /**
114
130
  * The billing lifecycle of a job's credit reservation — `usage_logs.status`
115
131
  * for the job's `usage_log_id`. `null` when the job has no usage log (e.g. a
@@ -456,4 +472,4 @@ declare class JobsResource {
456
472
  }>;
457
473
  }
458
474
 
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 };
475
+ export { type CancelJobResult, type CreditStatus, type CreditsHint, type DeleteJobResult, type InputRefusedHint, type Job, type JobErrorHint, type JobFromUploadParams, type JobQueueInfo, type JobRating, type JobRatingFilter, type JobSessionRef, type JobSource, type JobStatus, type JobStatusResult, JobsResource, type ListJobsPage, type ListJobsParams, type PolicyBlockHint, type QueueTimeoutHint, type RateJobResult, type RequestRefusedHint, type SafetyBlockHint };
@@ -1,4 +1,4 @@
1
1
  import '../chunk-I3TYBAOX.js';
2
- export { JobsResource } from '../chunk-A42R7UT7.js';
2
+ export { JobsResource } from '../chunk-SVWEWBXI.js';
3
3
  //# sourceMappingURL=jobs.js.map
4
4
  //# sourceMappingURL=jobs.js.map
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-RHETJOUM.cjs');
4
- var chunkJK3YVG6A_cjs = require('../chunk-JK3YVG6A.cjs');
4
+ var chunkUIM5SLPP_cjs = require('../chunk-UIM5SLPP.cjs');
5
5
  require('../chunk-KP2DIIKO.cjs');
6
6
  require('../chunk-P2JYDWZT.cjs');
7
7
 
@@ -9,7 +9,7 @@ require('../chunk-P2JYDWZT.cjs');
9
9
 
10
10
  Object.defineProperty(exports, "MediaResource", {
11
11
  enumerable: true,
12
- get: function () { return chunkJK3YVG6A_cjs.MediaResource; }
12
+ get: function () { return chunkUIM5SLPP_cjs.MediaResource; }
13
13
  });
14
14
  //# sourceMappingURL=media.cjs.map
15
15
  //# sourceMappingURL=media.cjs.map