@nodaro/sdk 2.64.0 → 2.65.1

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-E3ZMKMY7.js → chunk-3TRBBYSN.js} +4 -3
  4. package/dist/chunk-3TRBBYSN.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-C7DOFDP2.cjs → chunk-BYFLERF3.cjs} +18 -18
  8. package/dist/{chunk-C7DOFDP2.cjs.map → chunk-BYFLERF3.cjs.map} +1 -1
  9. package/dist/{chunk-AAUVNTWE.cjs → chunk-C3LJ7HIH.cjs} +4 -3
  10. package/dist/chunk-C3LJ7HIH.cjs.map +1 -0
  11. package/dist/{chunk-T7N7DFQJ.js → chunk-CRIQLLR2.js} +2 -2
  12. package/dist/{chunk-T7N7DFQJ.js.map → chunk-CRIQLLR2.js.map} +1 -1
  13. package/dist/{chunk-KBRMAEBT.cjs → chunk-GKTZHICS.cjs} +3 -3
  14. package/dist/{chunk-KBRMAEBT.cjs.map → chunk-GKTZHICS.cjs.map} +1 -1
  15. package/dist/{chunk-K2VWXAGK.js → chunk-HAS6PMQN.js} +6 -4
  16. package/dist/chunk-HAS6PMQN.js.map +1 -0
  17. package/dist/{chunk-GHVCV4S5.cjs → chunk-HVF5DRGQ.cjs} +2 -2
  18. package/dist/{chunk-GHVCV4S5.cjs.map → chunk-HVF5DRGQ.cjs.map} +1 -1
  19. package/dist/{chunk-5LI4CVJB.cjs → chunk-HW3CSUVC.cjs} +2 -2
  20. package/dist/chunk-HW3CSUVC.cjs.map +1 -0
  21. package/dist/{chunk-NODNRXHA.js → chunk-HW6U7WXU.js} +3 -3
  22. package/dist/{chunk-NODNRXHA.js.map → chunk-HW6U7WXU.js.map} +1 -1
  23. package/dist/{chunk-YT7HGYVO.js → chunk-K2QVR3LG.js} +10 -10
  24. package/dist/{chunk-YT7HGYVO.js.map → chunk-K2QVR3LG.js.map} +1 -1
  25. package/dist/{chunk-VQOUF4F5.js → chunk-MCXZV3CW.js} +20 -9
  26. package/dist/chunk-MCXZV3CW.js.map +1 -0
  27. package/dist/{chunk-3QFTP5P5.js → chunk-OHC4JIUP.js} +10 -2
  28. package/dist/chunk-OHC4JIUP.js.map +1 -0
  29. package/dist/{chunk-H3HUZT3T.js → chunk-OVFH7L2T.js} +2 -2
  30. package/dist/{chunk-H3HUZT3T.js.map → chunk-OVFH7L2T.js.map} +1 -1
  31. package/dist/{chunk-GA4LZZKQ.cjs → chunk-PGT4BXR2.cjs} +10 -2
  32. package/dist/chunk-PGT4BXR2.cjs.map +1 -0
  33. package/dist/{chunk-A42R7UT7.js → chunk-SVWEWBXI.js} +2 -2
  34. package/dist/chunk-SVWEWBXI.js.map +1 -0
  35. package/dist/{chunk-GGIWDFER.cjs → chunk-XSYNVD3X.cjs} +20 -9
  36. package/dist/chunk-XSYNVD3X.cjs.map +1 -0
  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/billing.cjs +2 -2
  42. package/dist/entries/billing.d.cts +18 -7
  43. package/dist/entries/billing.d.ts +18 -7
  44. package/dist/entries/billing.js +1 -1
  45. package/dist/entries/cast-swap.cjs +2 -2
  46. package/dist/entries/cast-swap.d.cts +29 -7
  47. package/dist/entries/cast-swap.d.ts +29 -7
  48. package/dist/entries/cast-swap.js +1 -1
  49. package/dist/entries/client.cjs +14 -14
  50. package/dist/entries/client.js +9 -9
  51. package/dist/entries/content-rights.cjs +2 -2
  52. package/dist/entries/content-rights.d.cts +4 -2
  53. package/dist/entries/content-rights.d.ts +4 -2
  54. package/dist/entries/content-rights.js +1 -1
  55. package/dist/entries/core.cjs +5 -5
  56. package/dist/entries/core.js +1 -1
  57. package/dist/entries/jobs.cjs +2 -2
  58. package/dist/entries/jobs.d.cts +24 -8
  59. package/dist/entries/jobs.d.ts +24 -8
  60. package/dist/entries/jobs.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 +1 -1
  71. package/dist/index.d.ts +1 -1
  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-A42R7UT7.js.map +0 -1
  78. package/dist/chunk-AAUVNTWE.cjs.map +0 -1
  79. package/dist/chunk-E3ZMKMY7.js.map +0 -1
  80. package/dist/chunk-GA4LZZKQ.cjs.map +0 -1
  81. package/dist/chunk-GGIWDFER.cjs.map +0 -1
  82. package/dist/chunk-K2VWXAGK.js.map +0 -1
  83. package/dist/chunk-VQOUF4F5.js.map +0 -1
@@ -278,7 +278,12 @@ interface CastSwapParams {
278
278
  * (the same ids an image's `direction.style` takes); the platform words it.
279
279
  * A Flex run (`style: "motion"`) takes one, and so does a Precise run where
280
280
  * {@link CastSwapResource.styleChoice} answers `preciseArtStyle` true for the
281
- * engine: Precise's edit of the clip, drawn in the art style. Refused with
281
+ * engine. Nodaro may make such a Precise request the way a Flex run is made
282
+ * (its engine does by default, unless Nodaro turns that off): its estimate,
283
+ * price and Full Quality are then a Flex run's, while the job still records
284
+ * the style sent (`input_data.style` absent, or `"precise"`; jobs made so
285
+ * before the style was kept record `"motion"`). Otherwise it is Precise's edit
286
+ * of the clip, drawn in the art style. Refused with
282
287
  * 400 `unknown_art_style` (not in the catalog), `art_style_not_supported` (a
283
288
  * saved moodboard, `moodboard:…`) or `art_style_needs_flex` (a trend run, a
284
289
  * Flex run whose prompt is made Precise by Nodaro's setting for how Flex
@@ -298,8 +303,11 @@ interface CastSwapParams {
298
303
  * A preview takes its full run's path. Runs this way only on a Flex run, and
299
304
  * only where {@link CastSwapResource.styleChoice} answers `styleOnly` true
300
305
  * for the engine; elsewhere on Nodaro Motion Prism an art style alone is
301
- * refused (on a Precise run too), and one with a pre or post prompt runs as
302
- * any other art-style run. The job records it in `input_data.direction`.
306
+ * refused (on a Precise run that stays Precise too, unless
307
+ * {@link CastSwapResource.styleChoice} answers `preciseArtStyleAlone` true for
308
+ * the engine, where it is that run's change), and one with a pre or post prompt
309
+ * runs as any other art-style run. The job records it in
310
+ * `input_data.direction`.
303
311
  */
304
312
  direction?: {
305
313
  style: string;
@@ -530,14 +538,27 @@ interface CastSwapStyleChoice {
530
538
  styleOnly?: Partial<Record<CastSwapEngine, boolean>>;
531
539
  /**
532
540
  * Per engine, whether a Precise run (no `style`, or `"precise"`) takes an
533
- * art style (`direction`), as a Flex run does: Precise's edit of the clip,
534
- * drawn in the art style. Not on its own: a Precise run with nothing else to
535
- * change is still refused. Where it is `true`, an engine answered
541
+ * art style (`direction`), as a Flex run does. Nodaro may run such a request as
542
+ * a Flex run (see {@link CastSwapParams}'s `direction`), which this does not
543
+ * say; otherwise it is Precise's edit of the clip, drawn in the art style, and,
544
+ * where {@link CastSwapStyleChoice.preciseArtStyleAlone} is not true for the
545
+ * engine, not on its own: a Precise run with nothing else to change is then refused.
546
+ * Where it is `true`, an engine answered
536
547
  * `"precise"` keeps a Flex request's art style. Nodaro Motion Pulse is always
537
548
  * `false` (it takes no art style). Absent from an older server, and an engine
538
549
  * missing from it: `false` (offer an art style on Flex runs alone).
539
550
  */
540
551
  preciseArtStyle?: Partial<Record<CastSwapEngine, boolean>>;
552
+ /**
553
+ * Per engine, whether an art style (`direction`) alone is a Precise run's
554
+ * change there, so the run needs no role, reference or prompt. Nodaro may run
555
+ * such a request as a Flex run (see {@link CastSwapParams}'s `direction`), which
556
+ * this does not say. It answers
557
+ * `false` until the engine takes such runs. Nodaro Motion Pulse is always
558
+ * `false` (it takes no art style). Absent from an older server, and an engine
559
+ * missing from it: `false`.
560
+ */
561
+ preciseArtStyleAlone?: Partial<Record<CastSwapEngine, boolean>>;
541
562
  }
542
563
  declare class CastSwapResource {
543
564
  private client;
@@ -563,7 +584,8 @@ declare class CastSwapResource {
563
584
  * (absent, or an engine missing from it, included) on Nodaro Motion Prism, an
564
585
  * art style alone is refused, and one with a pre or post prompt runs as any
565
586
  * other art-style run. Its `preciseArtStyle` says, per engine, whether a
566
- * Precise run takes an art style there too.
587
+ * Precise run takes an art style there too, and its `preciseArtStyleAlone`
588
+ * whether that art style alone is the run's change.
567
589
  * Public (no sign-in needed); the answer may be up to a minute old.
568
590
  */
569
591
  styleChoice(): Promise<CastSwapStyleChoice>;
@@ -278,7 +278,12 @@ interface CastSwapParams {
278
278
  * (the same ids an image's `direction.style` takes); the platform words it.
279
279
  * A Flex run (`style: "motion"`) takes one, and so does a Precise run where
280
280
  * {@link CastSwapResource.styleChoice} answers `preciseArtStyle` true for the
281
- * engine: Precise's edit of the clip, drawn in the art style. Refused with
281
+ * engine. Nodaro may make such a Precise request the way a Flex run is made
282
+ * (its engine does by default, unless Nodaro turns that off): its estimate,
283
+ * price and Full Quality are then a Flex run's, while the job still records
284
+ * the style sent (`input_data.style` absent, or `"precise"`; jobs made so
285
+ * before the style was kept record `"motion"`). Otherwise it is Precise's edit
286
+ * of the clip, drawn in the art style. Refused with
282
287
  * 400 `unknown_art_style` (not in the catalog), `art_style_not_supported` (a
283
288
  * saved moodboard, `moodboard:…`) or `art_style_needs_flex` (a trend run, a
284
289
  * Flex run whose prompt is made Precise by Nodaro's setting for how Flex
@@ -298,8 +303,11 @@ interface CastSwapParams {
298
303
  * A preview takes its full run's path. Runs this way only on a Flex run, and
299
304
  * only where {@link CastSwapResource.styleChoice} answers `styleOnly` true
300
305
  * for the engine; elsewhere on Nodaro Motion Prism an art style alone is
301
- * refused (on a Precise run too), and one with a pre or post prompt runs as
302
- * any other art-style run. The job records it in `input_data.direction`.
306
+ * refused (on a Precise run that stays Precise too, unless
307
+ * {@link CastSwapResource.styleChoice} answers `preciseArtStyleAlone` true for
308
+ * the engine, where it is that run's change), and one with a pre or post prompt
309
+ * runs as any other art-style run. The job records it in
310
+ * `input_data.direction`.
303
311
  */
304
312
  direction?: {
305
313
  style: string;
@@ -530,14 +538,27 @@ interface CastSwapStyleChoice {
530
538
  styleOnly?: Partial<Record<CastSwapEngine, boolean>>;
531
539
  /**
532
540
  * Per engine, whether a Precise run (no `style`, or `"precise"`) takes an
533
- * art style (`direction`), as a Flex run does: Precise's edit of the clip,
534
- * drawn in the art style. Not on its own: a Precise run with nothing else to
535
- * change is still refused. Where it is `true`, an engine answered
541
+ * art style (`direction`), as a Flex run does. Nodaro may run such a request as
542
+ * a Flex run (see {@link CastSwapParams}'s `direction`), which this does not
543
+ * say; otherwise it is Precise's edit of the clip, drawn in the art style, and,
544
+ * where {@link CastSwapStyleChoice.preciseArtStyleAlone} is not true for the
545
+ * engine, not on its own: a Precise run with nothing else to change is then refused.
546
+ * Where it is `true`, an engine answered
536
547
  * `"precise"` keeps a Flex request's art style. Nodaro Motion Pulse is always
537
548
  * `false` (it takes no art style). Absent from an older server, and an engine
538
549
  * missing from it: `false` (offer an art style on Flex runs alone).
539
550
  */
540
551
  preciseArtStyle?: Partial<Record<CastSwapEngine, boolean>>;
552
+ /**
553
+ * Per engine, whether an art style (`direction`) alone is a Precise run's
554
+ * change there, so the run needs no role, reference or prompt. Nodaro may run
555
+ * such a request as a Flex run (see {@link CastSwapParams}'s `direction`), which
556
+ * this does not say. It answers
557
+ * `false` until the engine takes such runs. Nodaro Motion Pulse is always
558
+ * `false` (it takes no art style). Absent from an older server, and an engine
559
+ * missing from it: `false`.
560
+ */
561
+ preciseArtStyleAlone?: Partial<Record<CastSwapEngine, boolean>>;
541
562
  }
542
563
  declare class CastSwapResource {
543
564
  private client;
@@ -563,7 +584,8 @@ declare class CastSwapResource {
563
584
  * (absent, or an engine missing from it, included) on Nodaro Motion Prism, an
564
585
  * art style alone is refused, and one with a pre or post prompt runs as any
565
586
  * other art-style run. Its `preciseArtStyle` says, per engine, whether a
566
- * Precise run takes an art style there too.
587
+ * Precise run takes an art style there too, and its `preciseArtStyleAlone`
588
+ * whether that art style alone is the run's change.
567
589
  * Public (no sign-in needed); the answer may be up to a minute old.
568
590
  */
569
591
  styleChoice(): Promise<CastSwapStyleChoice>;
@@ -1,4 +1,4 @@
1
1
  import '../chunk-KARJ7P7Y.js';
2
- export { CastSwapResource } from '../chunk-E3ZMKMY7.js';
2
+ export { CastSwapResource } from '../chunk-3TRBBYSN.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 chunkC7DOFDP2_cjs = require('../chunk-C7DOFDP2.cjs');
3
+ var chunkBYFLERF3_cjs = require('../chunk-BYFLERF3.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');
@@ -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 chunkKBRMAEBT_cjs = require('../chunk-KBRMAEBT.cjs');
51
+ var chunkGKTZHICS_cjs = require('../chunk-GKTZHICS.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');
57
- require('../chunk-GGIWDFER.cjs');
58
- require('../chunk-AAUVNTWE.cjs');
56
+ require('../chunk-PGT4BXR2.cjs');
57
+ require('../chunk-XSYNVD3X.cjs');
58
+ require('../chunk-C3LJ7HIH.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 chunkC7DOFDP2_cjs.NodaroClient; }
66
+ get: function () { return chunkBYFLERF3_cjs.NodaroClient; }
67
67
  });
68
68
  Object.defineProperty(exports, "createClient", {
69
69
  enumerable: true,
70
- get: function () { return chunkC7DOFDP2_cjs.createClient; }
70
+ get: function () { return chunkBYFLERF3_cjs.createClient; }
71
71
  });
72
72
  Object.defineProperty(exports, "CallbackAuth", {
73
73
  enumerable: true,
74
- get: function () { return chunkKBRMAEBT_cjs.CallbackAuth; }
74
+ get: function () { return chunkGKTZHICS_cjs.CallbackAuth; }
75
75
  });
76
76
  Object.defineProperty(exports, "StaticTokenAuth", {
77
77
  enumerable: true,
78
- get: function () { return chunkKBRMAEBT_cjs.StaticTokenAuth; }
78
+ get: function () { return chunkGKTZHICS_cjs.StaticTokenAuth; }
79
79
  });
80
80
  Object.defineProperty(exports, "supabaseAuth", {
81
81
  enumerable: true,
82
- get: function () { return chunkKBRMAEBT_cjs.supabaseAuth; }
82
+ get: function () { return chunkGKTZHICS_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-YT7HGYVO.js';
1
+ export { NodaroClient, createClient } from '../chunk-K2QVR3LG.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';
@@ -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-NODNRXHA.js';
49
+ export { CallbackAuth, StaticTokenAuth, supabaseAuth } from '../chunk-HW6U7WXU.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';
55
- import '../chunk-VQOUF4F5.js';
56
- import '../chunk-E3ZMKMY7.js';
54
+ import '../chunk-OHC4JIUP.js';
55
+ import '../chunk-MCXZV3CW.js';
56
+ import '../chunk-3TRBBYSN.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 chunkKBRMAEBT_cjs = require('../chunk-KBRMAEBT.cjs');
4
+ var chunkGKTZHICS_cjs = require('../chunk-GKTZHICS.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 chunkKBRMAEBT_cjs.CallbackAuth; }
11
+ get: function () { return chunkGKTZHICS_cjs.CallbackAuth; }
12
12
  });
13
13
  Object.defineProperty(exports, "NodaroClientCore", {
14
14
  enumerable: true,
15
- get: function () { return chunkKBRMAEBT_cjs.NodaroClientCore; }
15
+ get: function () { return chunkGKTZHICS_cjs.NodaroClientCore; }
16
16
  });
17
17
  Object.defineProperty(exports, "StaticTokenAuth", {
18
18
  enumerable: true,
19
- get: function () { return chunkKBRMAEBT_cjs.StaticTokenAuth; }
19
+ get: function () { return chunkGKTZHICS_cjs.StaticTokenAuth; }
20
20
  });
21
21
  Object.defineProperty(exports, "supabaseAuth", {
22
22
  enumerable: true,
23
- get: function () { return chunkKBRMAEBT_cjs.supabaseAuth; }
23
+ get: function () { return chunkGKTZHICS_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-NODNRXHA.js';
2
+ export { CallbackAuth, NodaroClientCore, StaticTokenAuth, supabaseAuth } from '../chunk-HW6U7WXU.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,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-PG2GBS3K.cjs');
4
- var chunkGHVCV4S5_cjs = require('../chunk-GHVCV4S5.cjs');
4
+ var chunkHVF5DRGQ_cjs = require('../chunk-HVF5DRGQ.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "TrendsResource", {
9
9
  enumerable: true,
10
- get: function () { return chunkGHVCV4S5_cjs.TrendsResource; }
10
+ get: function () { return chunkHVF5DRGQ_cjs.TrendsResource; }
11
11
  });
12
12
  //# sourceMappingURL=trends.cjs.map
13
13
  //# sourceMappingURL=trends.cjs.map
@@ -301,12 +301,18 @@ interface TrendRun {
301
301
  * Why a failed or cancelled run did not finish; `null` otherwise. `code` is
302
302
  * `safety-block` or `policy-block` when the job was blocked, `credits` when
303
303
  * it ran out of credits partway (it was refunded: ask the person to top up,
304
- * then run it again), else `cancelled` or `failed`. `message` is the same
304
+ * then run it again), `input-refused` when the video provider refused the
305
+ * trend's own clip, `request-refused` when it refused the run as it was sent
306
+ * (the same run is refused again: change the images or the settings), else
307
+ * `cancelled` or `failed`. `message` is the same
305
308
  * fixed sentence for every code — branch on `code`, not on the text.
309
+ * `refused: true` on a Full Quality try another try can't get past (see
310
+ * `fullQuality`): deleting it offers Full Quality again.
306
311
  */
307
312
  error: {
308
313
  code?: string;
309
314
  message: string;
315
+ refused?: true;
310
316
  } | null;
311
317
  createdAt: string;
312
318
  completedAt: string | null;
@@ -355,11 +361,14 @@ interface TrendRun {
355
361
  * that run, listed on its own (its `fullQualityOf` is this run's `jobId`) —
356
362
  * read it there (`getRun(fullQuality.jobId)`). Older tries of the draft (a
357
363
  * failed or cancelled one tried again) are not listed by `runs()`;
358
- * `getRun()` still reads one by its id.
364
+ * `getRun()` still reads one by its id. `refused`: the provider refused that
365
+ * try as it was sent, or its clip, or blocked it for a copyright or a likeness,
366
+ * so another try fails the same way.
359
367
  */
360
368
  fullQuality: {
361
369
  jobId: string;
362
370
  status: string;
371
+ refused?: true;
363
372
  } | null;
364
373
  /**
365
374
  * Until when a completed run can be redone in Full Quality — a Nodaro Motion
@@ -301,12 +301,18 @@ interface TrendRun {
301
301
  * Why a failed or cancelled run did not finish; `null` otherwise. `code` is
302
302
  * `safety-block` or `policy-block` when the job was blocked, `credits` when
303
303
  * it ran out of credits partway (it was refunded: ask the person to top up,
304
- * then run it again), else `cancelled` or `failed`. `message` is the same
304
+ * then run it again), `input-refused` when the video provider refused the
305
+ * trend's own clip, `request-refused` when it refused the run as it was sent
306
+ * (the same run is refused again: change the images or the settings), else
307
+ * `cancelled` or `failed`. `message` is the same
305
308
  * fixed sentence for every code — branch on `code`, not on the text.
309
+ * `refused: true` on a Full Quality try another try can't get past (see
310
+ * `fullQuality`): deleting it offers Full Quality again.
306
311
  */
307
312
  error: {
308
313
  code?: string;
309
314
  message: string;
315
+ refused?: true;
310
316
  } | null;
311
317
  createdAt: string;
312
318
  completedAt: string | null;
@@ -355,11 +361,14 @@ interface TrendRun {
355
361
  * that run, listed on its own (its `fullQualityOf` is this run's `jobId`) —
356
362
  * read it there (`getRun(fullQuality.jobId)`). Older tries of the draft (a
357
363
  * failed or cancelled one tried again) are not listed by `runs()`;
358
- * `getRun()` still reads one by its id.
364
+ * `getRun()` still reads one by its id. `refused`: the provider refused that
365
+ * try as it was sent, or its clip, or blocked it for a copyright or a likeness,
366
+ * so another try fails the same way.
359
367
  */
360
368
  fullQuality: {
361
369
  jobId: string;
362
370
  status: string;
371
+ refused?: true;
363
372
  } | null;
364
373
  /**
365
374
  * Until when a completed run can be redone in Full Quality — a Nodaro Motion
@@ -1,4 +1,4 @@
1
1
  import '../chunk-YCVRQZT3.js';
2
- export { TrendsResource } from '../chunk-H3HUZT3T.js';
2
+ export { TrendsResource } from '../chunk-OVFH7L2T.js';
3
3
  //# sourceMappingURL=trends.js.map
4
4
  //# sourceMappingURL=trends.js.map
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-KTTL7BND.cjs');
4
- var chunkR63TTR35_cjs = require('../chunk-R63TTR35.cjs');
4
+ var chunk3CB4WYEY_cjs = require('../chunk-3CB4WYEY.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "VoicesResource", {
9
9
  enumerable: true,
10
- get: function () { return chunkR63TTR35_cjs.VoicesResource; }
10
+ get: function () { return chunk3CB4WYEY_cjs.VoicesResource; }
11
11
  });
12
12
  //# sourceMappingURL=voices.cjs.map
13
13
  //# sourceMappingURL=voices.cjs.map