@nodaro/sdk 2.61.0 → 2.62.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/dist/{chunk-N5ESAUSB.js → chunk-2ENKGVRS.js} +3 -3
  2. package/dist/{chunk-N5ESAUSB.js.map → chunk-2ENKGVRS.js.map} +1 -1
  3. package/dist/chunk-3OARKXWT.cjs +53 -0
  4. package/dist/chunk-3OARKXWT.cjs.map +1 -0
  5. package/dist/{chunk-27LD2VRE.js → chunk-5AS4LKEF.js} +3 -2
  6. package/dist/chunk-5AS4LKEF.js.map +1 -0
  7. package/dist/{chunk-AMQZ5FAE.cjs → chunk-7GC5LKCR.cjs} +3 -2
  8. package/dist/chunk-7GC5LKCR.cjs.map +1 -0
  9. package/dist/{chunk-NRTYE4VU.cjs → chunk-ASPUFRHB.cjs} +4 -4
  10. package/dist/{chunk-NRTYE4VU.cjs.map → chunk-ASPUFRHB.cjs.map} +1 -1
  11. package/dist/{chunk-PDVMB2F6.js → chunk-BCZGMK5P.js} +4 -4
  12. package/dist/{chunk-PDVMB2F6.js.map → chunk-BCZGMK5P.js.map} +1 -1
  13. package/dist/{chunk-G44XYWDA.cjs → chunk-DCMB5XOH.cjs} +5 -5
  14. package/dist/{chunk-G44XYWDA.cjs.map → chunk-DCMB5XOH.cjs.map} +1 -1
  15. package/dist/{chunk-LZUEVHZM.js → chunk-DIPHH4OP.js} +3 -3
  16. package/dist/{chunk-LZUEVHZM.js.map → chunk-DIPHH4OP.js.map} +1 -1
  17. package/dist/{chunk-HHVZD3TL.cjs → chunk-DODUCQ6B.cjs} +22 -22
  18. package/dist/{chunk-HHVZD3TL.cjs.map → chunk-DODUCQ6B.cjs.map} +1 -1
  19. package/dist/{chunk-MQO2SXSG.js → chunk-DT3Q22NZ.js} +3 -3
  20. package/dist/{chunk-MQO2SXSG.js.map → chunk-DT3Q22NZ.js.map} +1 -1
  21. package/dist/{chunk-RDIZF74K.cjs → chunk-GSKGWWBR.cjs} +4 -4
  22. package/dist/{chunk-RDIZF74K.cjs.map → chunk-GSKGWWBR.cjs.map} +1 -1
  23. package/dist/{chunk-RZL3ZKKX.cjs → chunk-IVM4WMMD.cjs} +5 -5
  24. package/dist/{chunk-RZL3ZKKX.cjs.map → chunk-IVM4WMMD.cjs.map} +1 -1
  25. package/dist/{chunk-HIVIWAKA.cjs → chunk-JW5FH4TE.cjs} +9 -9
  26. package/dist/{chunk-HIVIWAKA.cjs.map → chunk-JW5FH4TE.cjs.map} +1 -1
  27. package/dist/chunk-K2VWXAGK.js +51 -0
  28. package/dist/chunk-K2VWXAGK.js.map +1 -0
  29. package/dist/{chunk-ND46XQVL.cjs → chunk-KCQ3I6NW.cjs} +5 -5
  30. package/dist/{chunk-ND46XQVL.cjs.map → chunk-KCQ3I6NW.cjs.map} +1 -1
  31. package/dist/{chunk-ULFLA7YB.js → chunk-NQXBWK2D.js} +3 -3
  32. package/dist/{chunk-ULFLA7YB.js.map → chunk-NQXBWK2D.js.map} +1 -1
  33. package/dist/{chunk-TKV2YTNW.js → chunk-SEETG3EM.js} +3 -3
  34. package/dist/{chunk-TKV2YTNW.js.map → chunk-SEETG3EM.js.map} +1 -1
  35. package/dist/{chunk-LB5WQZJA.cjs → chunk-SXV6OBKE.cjs} +16 -16
  36. package/dist/{chunk-LB5WQZJA.cjs.map → chunk-SXV6OBKE.cjs.map} +1 -1
  37. package/dist/{chunk-DGGGVFTS.js → chunk-UR7S4GGS.js} +9 -9
  38. package/dist/{chunk-DGGGVFTS.js.map → chunk-UR7S4GGS.js.map} +1 -1
  39. package/dist/{chunk-SIRIMRCW.js → chunk-VAEXSUUY.js} +3 -3
  40. package/dist/{chunk-SIRIMRCW.js.map → chunk-VAEXSUUY.js.map} +1 -1
  41. package/dist/entries/client.cjs +15 -15
  42. package/dist/entries/client.js +10 -10
  43. package/dist/entries/content-rights.cjs +2 -2
  44. package/dist/entries/content-rights.d.cts +36 -1
  45. package/dist/entries/content-rights.d.ts +36 -1
  46. package/dist/entries/content-rights.js +1 -1
  47. package/dist/entries/copilot.cjs +4 -4
  48. package/dist/entries/copilot.js +3 -3
  49. package/dist/entries/core.cjs +6 -6
  50. package/dist/entries/core.js +2 -2
  51. package/dist/entries/edit.cjs +7 -7
  52. package/dist/entries/edit.js +2 -2
  53. package/dist/entries/errors.cjs +28 -28
  54. package/dist/entries/errors.d.cts +10 -6
  55. package/dist/entries/errors.d.ts +10 -6
  56. package/dist/entries/errors.js +1 -1
  57. package/dist/entries/media.cjs +4 -4
  58. package/dist/entries/media.js +3 -3
  59. package/dist/entries/nodes.cjs +3 -3
  60. package/dist/entries/nodes.js +2 -2
  61. package/dist/entries/studio.cjs +5 -5
  62. package/dist/entries/studio.js +2 -2
  63. package/dist/index.cjs +55 -55
  64. package/dist/index.d.cts +1 -1
  65. package/dist/index.d.ts +1 -1
  66. package/dist/index.js +10 -10
  67. package/package.json +1 -1
  68. package/dist/chunk-27LD2VRE.js.map +0 -1
  69. package/dist/chunk-AMQZ5FAE.cjs.map +0 -1
  70. package/dist/chunk-G2V5WUQX.js +0 -25
  71. package/dist/chunk-G2V5WUQX.js.map +0 -1
  72. package/dist/chunk-M7TYOYFN.cjs +0 -27
  73. package/dist/chunk-M7TYOYFN.cjs.map +0 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkLB5WQZJA_cjs = require('../chunk-LB5WQZJA.cjs');
3
+ var chunkSXV6OBKE_cjs = require('../chunk-SXV6OBKE.cjs');
4
4
  require('../chunk-WUM6CWTE.cjs');
5
5
  require('../chunk-LKH5M44B.cjs');
6
6
  require('../chunk-RKW3N463.cjs');
@@ -16,7 +16,7 @@ require('../chunk-SYVNY3AH.cjs');
16
16
  require('../chunk-YDRXBRW2.cjs');
17
17
  require('../chunk-WMT7HEBZ.cjs');
18
18
  require('../chunk-MBFUMWI5.cjs');
19
- require('../chunk-RZL3ZKKX.cjs');
19
+ require('../chunk-IVM4WMMD.cjs');
20
20
  require('../chunk-UIBYZNDR.cjs');
21
21
  require('../chunk-LTZKNAXM.cjs');
22
22
  require('../chunk-57GANTLV.cjs');
@@ -29,14 +29,14 @@ 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-NRTYE4VU.cjs');
32
+ require('../chunk-ASPUFRHB.cjs');
33
33
  require('../chunk-7QOCWJKD.cjs');
34
34
  require('../chunk-ZCWKX4V6.cjs');
35
35
  require('../chunk-Q45PC4YD.cjs');
36
- require('../chunk-HHVZD3TL.cjs');
36
+ require('../chunk-DODUCQ6B.cjs');
37
37
  require('../chunk-GVIFLUYZ.cjs');
38
38
  require('../chunk-A3S55XGF.cjs');
39
- require('../chunk-HIVIWAKA.cjs');
39
+ require('../chunk-JW5FH4TE.cjs');
40
40
  require('../chunk-VUTNNRDW.cjs');
41
41
  require('../chunk-WUKIJJG2.cjs');
42
42
  require('../chunk-5LI4CVJB.cjs');
@@ -45,11 +45,11 @@ 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-M7TYOYFN.cjs');
49
- require('../chunk-RDIZF74K.cjs');
50
- require('../chunk-ND46XQVL.cjs');
51
- var chunkG44XYWDA_cjs = require('../chunk-G44XYWDA.cjs');
52
- require('../chunk-AMQZ5FAE.cjs');
48
+ require('../chunk-3OARKXWT.cjs');
49
+ require('../chunk-GSKGWWBR.cjs');
50
+ require('../chunk-KCQ3I6NW.cjs');
51
+ var chunkDCMB5XOH_cjs = require('../chunk-DCMB5XOH.cjs');
52
+ require('../chunk-7GC5LKCR.cjs');
53
53
  require('../chunk-A3XA6UNM.cjs');
54
54
  require('../chunk-4BAHF762.cjs');
55
55
  require('../chunk-JOXZ4ZIF.cjs');
@@ -63,23 +63,23 @@ require('../chunk-XZQ6Z4T6.cjs');
63
63
 
64
64
  Object.defineProperty(exports, "NodaroClient", {
65
65
  enumerable: true,
66
- get: function () { return chunkLB5WQZJA_cjs.NodaroClient; }
66
+ get: function () { return chunkSXV6OBKE_cjs.NodaroClient; }
67
67
  });
68
68
  Object.defineProperty(exports, "createClient", {
69
69
  enumerable: true,
70
- get: function () { return chunkLB5WQZJA_cjs.createClient; }
70
+ get: function () { return chunkSXV6OBKE_cjs.createClient; }
71
71
  });
72
72
  Object.defineProperty(exports, "CallbackAuth", {
73
73
  enumerable: true,
74
- get: function () { return chunkG44XYWDA_cjs.CallbackAuth; }
74
+ get: function () { return chunkDCMB5XOH_cjs.CallbackAuth; }
75
75
  });
76
76
  Object.defineProperty(exports, "StaticTokenAuth", {
77
77
  enumerable: true,
78
- get: function () { return chunkG44XYWDA_cjs.StaticTokenAuth; }
78
+ get: function () { return chunkDCMB5XOH_cjs.StaticTokenAuth; }
79
79
  });
80
80
  Object.defineProperty(exports, "supabaseAuth", {
81
81
  enumerable: true,
82
- get: function () { return chunkG44XYWDA_cjs.supabaseAuth; }
82
+ get: function () { return chunkDCMB5XOH_cjs.supabaseAuth; }
83
83
  });
84
84
  //# sourceMappingURL=client.cjs.map
85
85
  //# sourceMappingURL=client.cjs.map
@@ -1,4 +1,4 @@
1
- export { NodaroClient, createClient } from '../chunk-DGGGVFTS.js';
1
+ export { NodaroClient, createClient } from '../chunk-UR7S4GGS.js';
2
2
  import '../chunk-33HT46A3.js';
3
3
  import '../chunk-Z5GLY4R3.js';
4
4
  import '../chunk-TLTPIS2A.js';
@@ -14,7 +14,7 @@ import '../chunk-NCCBS6GU.js';
14
14
  import '../chunk-NNHWH7ER.js';
15
15
  import '../chunk-WS4ZQ4AA.js';
16
16
  import '../chunk-WVFAQBS7.js';
17
- import '../chunk-ULFLA7YB.js';
17
+ import '../chunk-NQXBWK2D.js';
18
18
  import '../chunk-M7VSFZMV.js';
19
19
  import '../chunk-2SQ7V6EX.js';
20
20
  import '../chunk-GIQDM2MH.js';
@@ -27,14 +27,14 @@ 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-TKV2YTNW.js';
30
+ import '../chunk-SEETG3EM.js';
31
31
  import '../chunk-Y6V6CBY5.js';
32
32
  import '../chunk-YVU2M7MI.js';
33
33
  import '../chunk-AEUPH7EE.js';
34
- import '../chunk-N5ESAUSB.js';
34
+ import '../chunk-2ENKGVRS.js';
35
35
  import '../chunk-Z7LGWNI7.js';
36
36
  import '../chunk-65E3JBFZ.js';
37
- import '../chunk-SIRIMRCW.js';
37
+ import '../chunk-VAEXSUUY.js';
38
38
  import '../chunk-22XXTB2R.js';
39
39
  import '../chunk-JDEZHITT.js';
40
40
  import '../chunk-A42R7UT7.js';
@@ -43,11 +43,11 @@ 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-G2V5WUQX.js';
47
- import '../chunk-LZUEVHZM.js';
48
- import '../chunk-MQO2SXSG.js';
49
- export { CallbackAuth, StaticTokenAuth, supabaseAuth } from '../chunk-PDVMB2F6.js';
50
- import '../chunk-27LD2VRE.js';
46
+ import '../chunk-K2VWXAGK.js';
47
+ import '../chunk-DIPHH4OP.js';
48
+ import '../chunk-DT3Q22NZ.js';
49
+ export { CallbackAuth, StaticTokenAuth, supabaseAuth } from '../chunk-BCZGMK5P.js';
50
+ import '../chunk-5AS4LKEF.js';
51
51
  import '../chunk-HUYI5G3D.js';
52
52
  import '../chunk-7QK2NXJA.js';
53
53
  import '../chunk-7LODCIQK.js';
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-2M4VYNSE.cjs');
4
- var chunkM7TYOYFN_cjs = require('../chunk-M7TYOYFN.cjs');
4
+ var chunk3OARKXWT_cjs = require('../chunk-3OARKXWT.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "ContentRightsResource", {
9
9
  enumerable: true,
10
- get: function () { return chunkM7TYOYFN_cjs.ContentRightsResource; }
10
+ get: function () { return chunk3OARKXWT_cjs.ContentRightsResource; }
11
11
  });
12
12
  //# sourceMappingURL=content-rights.cjs.map
13
13
  //# sourceMappingURL=content-rights.cjs.map
@@ -14,6 +14,13 @@ import '@nodaro/shared/organizations';
14
14
  * link, by the same account, within an hour. Whether a download WITHOUT a
15
15
  * confirmation is refused is the deployment's setting
16
16
  * (`content_rights_required`); a client always sends one.
17
+ *
18
+ * An import through an API key or an AI agent has nobody to tick a box: the
19
+ * person authorizes those imports ONCE, in their own session, with
20
+ * {@link ContentRightsResource.authorize} (the standing authorization), and
21
+ * every such import is then recorded as a confirmation derived from it.
22
+ * {@link ContentRightsResource.authorization} reads the current one and
23
+ * {@link ContentRightsResource.revokeAuthorization} ends it.
17
24
  */
18
25
  interface ContentRightsDeclaration {
19
26
  /** The declaration's version; a confirmation names the version it agreed to. */
@@ -28,6 +35,13 @@ interface ContentRightsConfirmation {
28
35
  /** After this the confirmation no longer opens a download (ISO 8601). */
29
36
  expiresAt: string;
30
37
  }
38
+ interface ContentRightsAuthorization {
39
+ id: string;
40
+ /** The declaration version the person authorized; a newer declaration asks for a new authorization. */
41
+ declarationVersion: number;
42
+ /** When it was given (ISO 8601). */
43
+ createdAt: string;
44
+ }
31
45
  declare class ContentRightsResource {
32
46
  private client;
33
47
  constructor(client: NodaroClientCore);
@@ -42,6 +56,27 @@ declare class ContentRightsResource {
42
56
  url: string;
43
57
  declarationVersion: number;
44
58
  }): Promise<ContentRightsConfirmation>;
59
+ /**
60
+ * `GET /v1/content-rights/authorization` → the account's standing
61
+ * authorization for imports through its API keys and AI agents, or `null`
62
+ * when there is none (never given, revoked, or given under an older
63
+ * declaration than the current one).
64
+ */
65
+ authorization(): Promise<ContentRightsAuthorization | null>;
66
+ /**
67
+ * `POST /v1/content-rights/authorization` → records that the person
68
+ * authorized imports through their keys and agents under the declaration
69
+ * version they saw. The person's own session only: a key or an agent
70
+ * answers `403 forbidden`. `409 rights_confirmation_stale` when the
71
+ * declaration changed since: read it again and ask again.
72
+ */
73
+ authorize(input: {
74
+ declarationVersion: number;
75
+ }): Promise<ContentRightsAuthorization>;
76
+ /** `DELETE /v1/content-rights/authorization` → revokes the standing authorization (the record stays). The person's own session only. */
77
+ revokeAuthorization(): Promise<{
78
+ revoked: boolean;
79
+ }>;
45
80
  }
46
81
 
47
- export { type ContentRightsConfirmation, type ContentRightsDeclaration, ContentRightsResource };
82
+ export { type ContentRightsAuthorization, type ContentRightsConfirmation, type ContentRightsDeclaration, ContentRightsResource };
@@ -14,6 +14,13 @@ import '@nodaro/shared/organizations';
14
14
  * link, by the same account, within an hour. Whether a download WITHOUT a
15
15
  * confirmation is refused is the deployment's setting
16
16
  * (`content_rights_required`); a client always sends one.
17
+ *
18
+ * An import through an API key or an AI agent has nobody to tick a box: the
19
+ * person authorizes those imports ONCE, in their own session, with
20
+ * {@link ContentRightsResource.authorize} (the standing authorization), and
21
+ * every such import is then recorded as a confirmation derived from it.
22
+ * {@link ContentRightsResource.authorization} reads the current one and
23
+ * {@link ContentRightsResource.revokeAuthorization} ends it.
17
24
  */
18
25
  interface ContentRightsDeclaration {
19
26
  /** The declaration's version; a confirmation names the version it agreed to. */
@@ -28,6 +35,13 @@ interface ContentRightsConfirmation {
28
35
  /** After this the confirmation no longer opens a download (ISO 8601). */
29
36
  expiresAt: string;
30
37
  }
38
+ interface ContentRightsAuthorization {
39
+ id: string;
40
+ /** The declaration version the person authorized; a newer declaration asks for a new authorization. */
41
+ declarationVersion: number;
42
+ /** When it was given (ISO 8601). */
43
+ createdAt: string;
44
+ }
31
45
  declare class ContentRightsResource {
32
46
  private client;
33
47
  constructor(client: NodaroClientCore);
@@ -42,6 +56,27 @@ declare class ContentRightsResource {
42
56
  url: string;
43
57
  declarationVersion: number;
44
58
  }): Promise<ContentRightsConfirmation>;
59
+ /**
60
+ * `GET /v1/content-rights/authorization` → the account's standing
61
+ * authorization for imports through its API keys and AI agents, or `null`
62
+ * when there is none (never given, revoked, or given under an older
63
+ * declaration than the current one).
64
+ */
65
+ authorization(): Promise<ContentRightsAuthorization | null>;
66
+ /**
67
+ * `POST /v1/content-rights/authorization` → records that the person
68
+ * authorized imports through their keys and agents under the declaration
69
+ * version they saw. The person's own session only: a key or an agent
70
+ * answers `403 forbidden`. `409 rights_confirmation_stale` when the
71
+ * declaration changed since: read it again and ask again.
72
+ */
73
+ authorize(input: {
74
+ declarationVersion: number;
75
+ }): Promise<ContentRightsAuthorization>;
76
+ /** `DELETE /v1/content-rights/authorization` → revokes the standing authorization (the record stays). The person's own session only. */
77
+ revokeAuthorization(): Promise<{
78
+ revoked: boolean;
79
+ }>;
45
80
  }
46
81
 
47
- export { type ContentRightsConfirmation, type ContentRightsDeclaration, ContentRightsResource };
82
+ export { type ContentRightsAuthorization, type ContentRightsConfirmation, type ContentRightsDeclaration, ContentRightsResource };
@@ -1,4 +1,4 @@
1
1
  import '../chunk-UIBY7JVJ.js';
2
- export { ContentRightsResource } from '../chunk-G2V5WUQX.js';
2
+ export { ContentRightsResource } from '../chunk-K2VWXAGK.js';
3
3
  //# sourceMappingURL=content-rights.js.map
4
4
  //# sourceMappingURL=content-rights.js.map
@@ -1,15 +1,15 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-W33CKW6Q.cjs');
4
- var chunkRDIZF74K_cjs = require('../chunk-RDIZF74K.cjs');
5
- require('../chunk-ND46XQVL.cjs');
6
- require('../chunk-AMQZ5FAE.cjs');
4
+ var chunkGSKGWWBR_cjs = require('../chunk-GSKGWWBR.cjs');
5
+ require('../chunk-KCQ3I6NW.cjs');
6
+ require('../chunk-7GC5LKCR.cjs');
7
7
 
8
8
 
9
9
 
10
10
  Object.defineProperty(exports, "CopilotResource", {
11
11
  enumerable: true,
12
- get: function () { return chunkRDIZF74K_cjs.CopilotResource; }
12
+ get: function () { return chunkGSKGWWBR_cjs.CopilotResource; }
13
13
  });
14
14
  //# sourceMappingURL=copilot.cjs.map
15
15
  //# sourceMappingURL=copilot.cjs.map
@@ -1,6 +1,6 @@
1
1
  import '../chunk-ELSOVJPF.js';
2
- export { CopilotResource } from '../chunk-LZUEVHZM.js';
3
- import '../chunk-MQO2SXSG.js';
4
- import '../chunk-27LD2VRE.js';
2
+ export { CopilotResource } from '../chunk-DIPHH4OP.js';
3
+ import '../chunk-DT3Q22NZ.js';
4
+ import '../chunk-5AS4LKEF.js';
5
5
  //# sourceMappingURL=copilot.js.map
6
6
  //# sourceMappingURL=copilot.js.map
@@ -1,26 +1,26 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-X7XP5WBP.cjs');
4
- var chunkG44XYWDA_cjs = require('../chunk-G44XYWDA.cjs');
5
- require('../chunk-AMQZ5FAE.cjs');
4
+ var chunkDCMB5XOH_cjs = require('../chunk-DCMB5XOH.cjs');
5
+ require('../chunk-7GC5LKCR.cjs');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "CallbackAuth", {
10
10
  enumerable: true,
11
- get: function () { return chunkG44XYWDA_cjs.CallbackAuth; }
11
+ get: function () { return chunkDCMB5XOH_cjs.CallbackAuth; }
12
12
  });
13
13
  Object.defineProperty(exports, "NodaroClientCore", {
14
14
  enumerable: true,
15
- get: function () { return chunkG44XYWDA_cjs.NodaroClientCore; }
15
+ get: function () { return chunkDCMB5XOH_cjs.NodaroClientCore; }
16
16
  });
17
17
  Object.defineProperty(exports, "StaticTokenAuth", {
18
18
  enumerable: true,
19
- get: function () { return chunkG44XYWDA_cjs.StaticTokenAuth; }
19
+ get: function () { return chunkDCMB5XOH_cjs.StaticTokenAuth; }
20
20
  });
21
21
  Object.defineProperty(exports, "supabaseAuth", {
22
22
  enumerable: true,
23
- get: function () { return chunkG44XYWDA_cjs.supabaseAuth; }
23
+ get: function () { return chunkDCMB5XOH_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-PDVMB2F6.js';
3
- import '../chunk-27LD2VRE.js';
2
+ export { CallbackAuth, NodaroClientCore, StaticTokenAuth, supabaseAuth } from '../chunk-BCZGMK5P.js';
3
+ import '../chunk-5AS4LKEF.js';
4
4
  //# sourceMappingURL=core.js.map
5
5
  //# sourceMappingURL=core.js.map
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var chunk6T54F65Q_cjs = require('../chunk-6T54F65Q.cjs');
4
- var chunkHIVIWAKA_cjs = require('../chunk-HIVIWAKA.cjs');
5
- require('../chunk-AMQZ5FAE.cjs');
4
+ var chunkJW5FH4TE_cjs = require('../chunk-JW5FH4TE.cjs');
5
+ require('../chunk-7GC5LKCR.cjs');
6
6
 
7
7
 
8
8
 
@@ -12,23 +12,23 @@ Object.defineProperty(exports, "unwrapEditPlanOutput", {
12
12
  });
13
13
  Object.defineProperty(exports, "CLIP_PACK_MAX_TARGET_SEC", {
14
14
  enumerable: true,
15
- get: function () { return chunkHIVIWAKA_cjs.CLIP_PACK_MAX_TARGET_SEC; }
15
+ get: function () { return chunkJW5FH4TE_cjs.CLIP_PACK_MAX_TARGET_SEC; }
16
16
  });
17
17
  Object.defineProperty(exports, "CLIP_PACK_MIN_TARGET_SEC", {
18
18
  enumerable: true,
19
- get: function () { return chunkHIVIWAKA_cjs.CLIP_PACK_MIN_TARGET_SEC; }
19
+ get: function () { return chunkJW5FH4TE_cjs.CLIP_PACK_MIN_TARGET_SEC; }
20
20
  });
21
21
  Object.defineProperty(exports, "EditResource", {
22
22
  enumerable: true,
23
- get: function () { return chunkHIVIWAKA_cjs.EditResource; }
23
+ get: function () { return chunkJW5FH4TE_cjs.EditResource; }
24
24
  });
25
25
  Object.defineProperty(exports, "TRAILER_FORMATS", {
26
26
  enumerable: true,
27
- get: function () { return chunkHIVIWAKA_cjs.TRAILER_FORMATS; }
27
+ get: function () { return chunkJW5FH4TE_cjs.TRAILER_FORMATS; }
28
28
  });
29
29
  Object.defineProperty(exports, "USE_CASE_NODE_TYPES", {
30
30
  enumerable: true,
31
- get: function () { return chunkHIVIWAKA_cjs.USE_CASE_NODE_TYPES; }
31
+ get: function () { return chunkJW5FH4TE_cjs.USE_CASE_NODE_TYPES; }
32
32
  });
33
33
  //# sourceMappingURL=edit.cjs.map
34
34
  //# sourceMappingURL=edit.cjs.map
@@ -1,5 +1,5 @@
1
1
  export { unwrapEditPlanOutput } from '../chunk-UKB64254.js';
2
- export { CLIP_PACK_MAX_TARGET_SEC, CLIP_PACK_MIN_TARGET_SEC, EditResource, TRAILER_FORMATS, USE_CASE_NODE_TYPES } from '../chunk-SIRIMRCW.js';
3
- import '../chunk-27LD2VRE.js';
2
+ export { CLIP_PACK_MAX_TARGET_SEC, CLIP_PACK_MIN_TARGET_SEC, EditResource, TRAILER_FORMATS, USE_CASE_NODE_TYPES } from '../chunk-VAEXSUUY.js';
3
+ import '../chunk-5AS4LKEF.js';
4
4
  //# sourceMappingURL=edit.js.map
5
5
  //# sourceMappingURL=edit.js.map
@@ -1,117 +1,117 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-A2ZAFAWC.cjs');
4
- var chunkAMQZ5FAE_cjs = require('../chunk-AMQZ5FAE.cjs');
4
+ var chunk7GC5LKCR_cjs = require('../chunk-7GC5LKCR.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "AlreadyRunningError", {
9
9
  enumerable: true,
10
- get: function () { return chunkAMQZ5FAE_cjs.AlreadyRunningError; }
10
+ get: function () { return chunk7GC5LKCR_cjs.AlreadyRunningError; }
11
11
  });
12
12
  Object.defineProperty(exports, "AppRunVersionChangedError", {
13
13
  enumerable: true,
14
- get: function () { return chunkAMQZ5FAE_cjs.AppRunVersionChangedError; }
14
+ get: function () { return chunk7GC5LKCR_cjs.AppRunVersionChangedError; }
15
15
  });
16
16
  Object.defineProperty(exports, "CREDIT_CAP_CODES", {
17
17
  enumerable: true,
18
- get: function () { return chunkAMQZ5FAE_cjs.CREDIT_CAP_CODES; }
18
+ get: function () { return chunk7GC5LKCR_cjs.CREDIT_CAP_CODES; }
19
19
  });
20
20
  Object.defineProperty(exports, "ContinuationPreviewPendingError", {
21
21
  enumerable: true,
22
- get: function () { return chunkAMQZ5FAE_cjs.ContinuationPreviewPendingError; }
22
+ get: function () { return chunk7GC5LKCR_cjs.ContinuationPreviewPendingError; }
23
23
  });
24
24
  Object.defineProperty(exports, "ContinuationRefusedError", {
25
25
  enumerable: true,
26
- get: function () { return chunkAMQZ5FAE_cjs.ContinuationRefusedError; }
26
+ get: function () { return chunk7GC5LKCR_cjs.ContinuationRefusedError; }
27
27
  });
28
28
  Object.defineProperty(exports, "CreditCapExceededError", {
29
29
  enumerable: true,
30
- get: function () { return chunkAMQZ5FAE_cjs.CreditCapExceededError; }
30
+ get: function () { return chunk7GC5LKCR_cjs.CreditCapExceededError; }
31
31
  });
32
32
  Object.defineProperty(exports, "ForbiddenError", {
33
33
  enumerable: true,
34
- get: function () { return chunkAMQZ5FAE_cjs.ForbiddenError; }
34
+ get: function () { return chunk7GC5LKCR_cjs.ForbiddenError; }
35
35
  });
36
36
  Object.defineProperty(exports, "IMPORT_REFUSAL_CODES", {
37
37
  enumerable: true,
38
- get: function () { return chunkAMQZ5FAE_cjs.IMPORT_REFUSAL_CODES; }
38
+ get: function () { return chunk7GC5LKCR_cjs.IMPORT_REFUSAL_CODES; }
39
39
  });
40
40
  Object.defineProperty(exports, "ImportRefusedError", {
41
41
  enumerable: true,
42
- get: function () { return chunkAMQZ5FAE_cjs.ImportRefusedError; }
42
+ get: function () { return chunk7GC5LKCR_cjs.ImportRefusedError; }
43
43
  });
44
44
  Object.defineProperty(exports, "InsufficientCreditsError", {
45
45
  enumerable: true,
46
- get: function () { return chunkAMQZ5FAE_cjs.InsufficientCreditsError; }
46
+ get: function () { return chunk7GC5LKCR_cjs.InsufficientCreditsError; }
47
47
  });
48
48
  Object.defineProperty(exports, "JobAbortedError", {
49
49
  enumerable: true,
50
- get: function () { return chunkAMQZ5FAE_cjs.JobAbortedError; }
50
+ get: function () { return chunk7GC5LKCR_cjs.JobAbortedError; }
51
51
  });
52
52
  Object.defineProperty(exports, "JobBlockedError", {
53
53
  enumerable: true,
54
- get: function () { return chunkAMQZ5FAE_cjs.JobBlockedError; }
54
+ get: function () { return chunk7GC5LKCR_cjs.JobBlockedError; }
55
55
  });
56
56
  Object.defineProperty(exports, "JobFailedError", {
57
57
  enumerable: true,
58
- get: function () { return chunkAMQZ5FAE_cjs.JobFailedError; }
58
+ get: function () { return chunk7GC5LKCR_cjs.JobFailedError; }
59
59
  });
60
60
  Object.defineProperty(exports, "JobHeldError", {
61
61
  enumerable: true,
62
- get: function () { return chunkAMQZ5FAE_cjs.JobHeldError; }
62
+ get: function () { return chunk7GC5LKCR_cjs.JobHeldError; }
63
63
  });
64
64
  Object.defineProperty(exports, "JobTimeoutError", {
65
65
  enumerable: true,
66
- get: function () { return chunkAMQZ5FAE_cjs.JobTimeoutError; }
66
+ get: function () { return chunk7GC5LKCR_cjs.JobTimeoutError; }
67
67
  });
68
68
  Object.defineProperty(exports, "MODEL_UNAVAILABLE_CODES", {
69
69
  enumerable: true,
70
- get: function () { return chunkAMQZ5FAE_cjs.MODEL_UNAVAILABLE_CODES; }
70
+ get: function () { return chunk7GC5LKCR_cjs.MODEL_UNAVAILABLE_CODES; }
71
71
  });
72
72
  Object.defineProperty(exports, "ModelUnavailableError", {
73
73
  enumerable: true,
74
- get: function () { return chunkAMQZ5FAE_cjs.ModelUnavailableError; }
74
+ get: function () { return chunk7GC5LKCR_cjs.ModelUnavailableError; }
75
75
  });
76
76
  Object.defineProperty(exports, "NodaroError", {
77
77
  enumerable: true,
78
- get: function () { return chunkAMQZ5FAE_cjs.NodaroError; }
78
+ get: function () { return chunk7GC5LKCR_cjs.NodaroError; }
79
79
  });
80
80
  Object.defineProperty(exports, "NotFoundError", {
81
81
  enumerable: true,
82
- get: function () { return chunkAMQZ5FAE_cjs.NotFoundError; }
82
+ get: function () { return chunk7GC5LKCR_cjs.NotFoundError; }
83
83
  });
84
84
  Object.defineProperty(exports, "RateLimitedError", {
85
85
  enumerable: true,
86
- get: function () { return chunkAMQZ5FAE_cjs.RateLimitedError; }
86
+ get: function () { return chunk7GC5LKCR_cjs.RateLimitedError; }
87
87
  });
88
88
  Object.defineProperty(exports, "StorageExceededError", {
89
89
  enumerable: true,
90
- get: function () { return chunkAMQZ5FAE_cjs.StorageExceededError; }
90
+ get: function () { return chunk7GC5LKCR_cjs.StorageExceededError; }
91
91
  });
92
92
  Object.defineProperty(exports, "StudioOpError", {
93
93
  enumerable: true,
94
- get: function () { return chunkAMQZ5FAE_cjs.StudioOpError; }
94
+ get: function () { return chunk7GC5LKCR_cjs.StudioOpError; }
95
95
  });
96
96
  Object.defineProperty(exports, "StudioPreviewAppliedError", {
97
97
  enumerable: true,
98
- get: function () { return chunkAMQZ5FAE_cjs.StudioPreviewAppliedError; }
98
+ get: function () { return chunk7GC5LKCR_cjs.StudioPreviewAppliedError; }
99
99
  });
100
100
  Object.defineProperty(exports, "StudioPreviewUnavailable", {
101
101
  enumerable: true,
102
- get: function () { return chunkAMQZ5FAE_cjs.StudioPreviewUnavailable; }
102
+ get: function () { return chunk7GC5LKCR_cjs.StudioPreviewUnavailable; }
103
103
  });
104
104
  Object.defineProperty(exports, "UnauthorizedError", {
105
105
  enumerable: true,
106
- get: function () { return chunkAMQZ5FAE_cjs.UnauthorizedError; }
106
+ get: function () { return chunk7GC5LKCR_cjs.UnauthorizedError; }
107
107
  });
108
108
  Object.defineProperty(exports, "WorkflowConflictError", {
109
109
  enumerable: true,
110
- get: function () { return chunkAMQZ5FAE_cjs.WorkflowConflictError; }
110
+ get: function () { return chunk7GC5LKCR_cjs.WorkflowConflictError; }
111
111
  });
112
112
  Object.defineProperty(exports, "throwFromResponse", {
113
113
  enumerable: true,
114
- get: function () { return chunkAMQZ5FAE_cjs.throwFromResponse; }
114
+ get: function () { return chunk7GC5LKCR_cjs.throwFromResponse; }
115
115
  });
116
116
  //# sourceMappingURL=errors.cjs.map
117
117
  //# sourceMappingURL=errors.cjs.map
@@ -47,13 +47,15 @@ declare class ModelUnavailableError extends ForbiddenError {
47
47
  readonly code: ModelUnavailableCode;
48
48
  constructor(code: ModelUnavailableCode, message?: string);
49
49
  }
50
- type ImportRefusalCode = "import_source_disabled" | "rights_confirmation_required" | "rights_confirmation_not_found" | "rights_confirmation_mismatch" | "rights_confirmation_stale" | "rights_confirmation_expired" | "rights_confirmation_used";
50
+ type ImportRefusalCode = "import_source_disabled" | "rights_confirmation_required" | "rights_authorization_required" | "rights_confirmation_not_found" | "rights_confirmation_mismatch" | "rights_confirmation_stale" | "rights_confirmation_expired" | "rights_confirmation_used";
51
51
  /**
52
52
  * The 403 codes {@link ImportRefusedError} carries: the link's site is
53
53
  * disabled by an administrator (`import_source_disabled`), or the content
54
- * rights confirmation is missing while the deployment requires one, does not
55
- * exist, is for another link or account, was made under an older declaration,
56
- * expired, or was used for an import already.
54
+ * rights confirmation is missing while the deployment requires one
55
+ * (`rights_confirmation_required`; for an import through an API key or an AI
56
+ * agent with no standing authorization, `rights_authorization_required`), does
57
+ * not exist, is for another link or account, was made under an older
58
+ * declaration, expired, or was used for an import already.
57
59
  */
58
60
  declare const IMPORT_REFUSAL_CODES: ReadonlySet<ImportRefusalCode>;
59
61
  /**
@@ -63,8 +65,10 @@ declare const IMPORT_REFUSAL_CODES: ReadonlySet<ImportRefusalCode>;
63
65
  * {@link ForbiddenError}, so existing catches keep working; `code` is the
64
66
  * server's own code and says which. The remedy for a `rights_confirmation_*`
65
67
  * code is `contentRights.confirm({ url })` again and a new import with the
66
- * answered id; an `import_source_disabled` site has no remedy on the caller's
67
- * side, and the message names no site.
68
+ * answered id; for `rights_authorization_required` it is the person giving
69
+ * the standing authorization in their settings (`contentRights.authorize`, in
70
+ * their own session); an `import_source_disabled` site has no remedy on the
71
+ * caller's side, and the message names no site.
68
72
  */
69
73
  declare class ImportRefusedError extends ForbiddenError {
70
74
  readonly code: ImportRefusalCode;
@@ -47,13 +47,15 @@ declare class ModelUnavailableError extends ForbiddenError {
47
47
  readonly code: ModelUnavailableCode;
48
48
  constructor(code: ModelUnavailableCode, message?: string);
49
49
  }
50
- type ImportRefusalCode = "import_source_disabled" | "rights_confirmation_required" | "rights_confirmation_not_found" | "rights_confirmation_mismatch" | "rights_confirmation_stale" | "rights_confirmation_expired" | "rights_confirmation_used";
50
+ type ImportRefusalCode = "import_source_disabled" | "rights_confirmation_required" | "rights_authorization_required" | "rights_confirmation_not_found" | "rights_confirmation_mismatch" | "rights_confirmation_stale" | "rights_confirmation_expired" | "rights_confirmation_used";
51
51
  /**
52
52
  * The 403 codes {@link ImportRefusedError} carries: the link's site is
53
53
  * disabled by an administrator (`import_source_disabled`), or the content
54
- * rights confirmation is missing while the deployment requires one, does not
55
- * exist, is for another link or account, was made under an older declaration,
56
- * expired, or was used for an import already.
54
+ * rights confirmation is missing while the deployment requires one
55
+ * (`rights_confirmation_required`; for an import through an API key or an AI
56
+ * agent with no standing authorization, `rights_authorization_required`), does
57
+ * not exist, is for another link or account, was made under an older
58
+ * declaration, expired, or was used for an import already.
57
59
  */
58
60
  declare const IMPORT_REFUSAL_CODES: ReadonlySet<ImportRefusalCode>;
59
61
  /**
@@ -63,8 +65,10 @@ declare const IMPORT_REFUSAL_CODES: ReadonlySet<ImportRefusalCode>;
63
65
  * {@link ForbiddenError}, so existing catches keep working; `code` is the
64
66
  * server's own code and says which. The remedy for a `rights_confirmation_*`
65
67
  * code is `contentRights.confirm({ url })` again and a new import with the
66
- * answered id; an `import_source_disabled` site has no remedy on the caller's
67
- * side, and the message names no site.
68
+ * answered id; for `rights_authorization_required` it is the person giving
69
+ * the standing authorization in their settings (`contentRights.authorize`, in
70
+ * their own session); an `import_source_disabled` site has no remedy on the
71
+ * caller's side, and the message names no site.
68
72
  */
69
73
  declare class ImportRefusedError extends ForbiddenError {
70
74
  readonly code: ImportRefusalCode;
@@ -1,4 +1,4 @@
1
1
  import '../chunk-CJFIOVBA.js';
2
- export { AlreadyRunningError, AppRunVersionChangedError, CREDIT_CAP_CODES, ContinuationPreviewPendingError, ContinuationRefusedError, CreditCapExceededError, ForbiddenError, IMPORT_REFUSAL_CODES, ImportRefusedError, InsufficientCreditsError, JobAbortedError, JobBlockedError, JobFailedError, JobHeldError, JobTimeoutError, MODEL_UNAVAILABLE_CODES, ModelUnavailableError, NodaroError, NotFoundError, RateLimitedError, StorageExceededError, StudioOpError, StudioPreviewAppliedError, StudioPreviewUnavailable, UnauthorizedError, WorkflowConflictError, throwFromResponse } from '../chunk-27LD2VRE.js';
2
+ export { AlreadyRunningError, AppRunVersionChangedError, CREDIT_CAP_CODES, ContinuationPreviewPendingError, ContinuationRefusedError, CreditCapExceededError, ForbiddenError, IMPORT_REFUSAL_CODES, ImportRefusedError, InsufficientCreditsError, JobAbortedError, JobBlockedError, JobFailedError, JobHeldError, JobTimeoutError, MODEL_UNAVAILABLE_CODES, ModelUnavailableError, NodaroError, NotFoundError, RateLimitedError, StorageExceededError, StudioOpError, StudioPreviewAppliedError, StudioPreviewUnavailable, UnauthorizedError, WorkflowConflictError, throwFromResponse } from '../chunk-5AS4LKEF.js';
3
3
  //# sourceMappingURL=errors.js.map
4
4
  //# sourceMappingURL=errors.js.map
@@ -1,15 +1,15 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-RHETJOUM.cjs');
4
- var chunkNRTYE4VU_cjs = require('../chunk-NRTYE4VU.cjs');
5
- require('../chunk-ND46XQVL.cjs');
6
- require('../chunk-AMQZ5FAE.cjs');
4
+ var chunkASPUFRHB_cjs = require('../chunk-ASPUFRHB.cjs');
5
+ require('../chunk-KCQ3I6NW.cjs');
6
+ require('../chunk-7GC5LKCR.cjs');
7
7
 
8
8
 
9
9
 
10
10
  Object.defineProperty(exports, "MediaResource", {
11
11
  enumerable: true,
12
- get: function () { return chunkNRTYE4VU_cjs.MediaResource; }
12
+ get: function () { return chunkASPUFRHB_cjs.MediaResource; }
13
13
  });
14
14
  //# sourceMappingURL=media.cjs.map
15
15
  //# sourceMappingURL=media.cjs.map
@@ -1,6 +1,6 @@
1
1
  import '../chunk-ES2E65HT.js';
2
- export { MediaResource } from '../chunk-TKV2YTNW.js';
3
- import '../chunk-MQO2SXSG.js';
4
- import '../chunk-27LD2VRE.js';
2
+ export { MediaResource } from '../chunk-SEETG3EM.js';
3
+ import '../chunk-DT3Q22NZ.js';
4
+ import '../chunk-5AS4LKEF.js';
5
5
  //# sourceMappingURL=media.js.map
6
6
  //# sourceMappingURL=media.js.map