@nodaro/sdk 2.60.1 → 2.62.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/dist/{chunk-Z3ZKFI2M.js → chunk-22XXTB2R.js} +2 -2
  2. package/dist/chunk-22XXTB2R.js.map +1 -0
  3. package/dist/{chunk-ALDXFMD7.js → chunk-2ENKGVRS.js} +17 -6
  4. package/dist/chunk-2ENKGVRS.js.map +1 -0
  5. package/dist/chunk-2M4VYNSE.cjs +4 -0
  6. package/dist/chunk-2M4VYNSE.cjs.map +1 -0
  7. package/dist/chunk-3OARKXWT.cjs +53 -0
  8. package/dist/chunk-3OARKXWT.cjs.map +1 -0
  9. package/dist/{chunk-JJMQ2EVL.js → chunk-5AS4LKEF.js} +23 -3
  10. package/dist/chunk-5AS4LKEF.js.map +1 -0
  11. package/dist/{chunk-MWSD2FSG.cjs → chunk-5LI4CVJB.cjs} +2 -2
  12. package/dist/chunk-5LI4CVJB.cjs.map +1 -0
  13. package/dist/{chunk-GSE7SB3I.cjs → chunk-7GC5LKCR.cjs} +24 -2
  14. package/dist/chunk-7GC5LKCR.cjs.map +1 -0
  15. package/dist/{chunk-X24USXOQ.js → chunk-A42R7UT7.js} +2 -2
  16. package/dist/chunk-A42R7UT7.js.map +1 -0
  17. package/dist/{chunk-3Y5TDB5K.cjs → chunk-ASPUFRHB.cjs} +11 -7
  18. package/dist/chunk-ASPUFRHB.cjs.map +1 -0
  19. package/dist/{chunk-3JJP6BR2.js → chunk-BCZGMK5P.js} +4 -4
  20. package/dist/{chunk-3JJP6BR2.js.map → chunk-BCZGMK5P.js.map} +1 -1
  21. package/dist/{chunk-HPAHAE4U.cjs → chunk-DCMB5XOH.cjs} +5 -5
  22. package/dist/{chunk-HPAHAE4U.cjs.map → chunk-DCMB5XOH.cjs.map} +1 -1
  23. package/dist/{chunk-RCD4HDBI.js → chunk-DIPHH4OP.js} +3 -3
  24. package/dist/{chunk-RCD4HDBI.js.map → chunk-DIPHH4OP.js.map} +1 -1
  25. package/dist/{chunk-GWTKYJJO.cjs → chunk-DODUCQ6B.cjs} +36 -25
  26. package/dist/chunk-DODUCQ6B.cjs.map +1 -0
  27. package/dist/{chunk-YYMX3VN7.js → chunk-DT3Q22NZ.js} +3 -3
  28. package/dist/{chunk-YYMX3VN7.js.map → chunk-DT3Q22NZ.js.map} +1 -1
  29. package/dist/{chunk-COCKKMNP.cjs → chunk-G4AFHCNA.cjs} +2 -2
  30. package/dist/chunk-G4AFHCNA.cjs.map +1 -0
  31. package/dist/{chunk-TVPYDC5T.cjs → chunk-GGIWDFER.cjs} +2 -2
  32. package/dist/chunk-GGIWDFER.cjs.map +1 -0
  33. package/dist/{chunk-GDUEOKBF.cjs → chunk-GSKGWWBR.cjs} +4 -4
  34. package/dist/{chunk-GDUEOKBF.cjs.map → chunk-GSKGWWBR.cjs.map} +1 -1
  35. package/dist/{chunk-TSM3S2QS.cjs → chunk-IVM4WMMD.cjs} +5 -5
  36. package/dist/{chunk-TSM3S2QS.cjs.map → chunk-IVM4WMMD.cjs.map} +1 -1
  37. package/dist/{chunk-K4RQOSJH.js → chunk-J2DBYYXC.js} +2 -2
  38. package/dist/chunk-J2DBYYXC.js.map +1 -0
  39. package/dist/{chunk-DOMNKVKA.cjs → chunk-JW5FH4TE.cjs} +9 -9
  40. package/dist/{chunk-DOMNKVKA.cjs.map → chunk-JW5FH4TE.cjs.map} +1 -1
  41. package/dist/chunk-K2VWXAGK.js +51 -0
  42. package/dist/chunk-K2VWXAGK.js.map +1 -0
  43. package/dist/{chunk-KU3UITCU.cjs → chunk-KCQ3I6NW.cjs} +5 -5
  44. package/dist/{chunk-KU3UITCU.cjs.map → chunk-KCQ3I6NW.cjs.map} +1 -1
  45. package/dist/chunk-NMLYZWIW.cjs +4 -0
  46. package/dist/chunk-NMLYZWIW.cjs.map +1 -0
  47. package/dist/{chunk-VTL4DBX4.js → chunk-NQXBWK2D.js} +3 -3
  48. package/dist/{chunk-VTL4DBX4.js.map → chunk-NQXBWK2D.js.map} +1 -1
  49. package/dist/{chunk-DTYN7QAZ.js → chunk-P2C33IOF.js} +9 -4
  50. package/dist/chunk-P2C33IOF.js.map +1 -0
  51. package/dist/chunk-RKW3N463.cjs +83 -0
  52. package/dist/chunk-RKW3N463.cjs.map +1 -0
  53. package/dist/{chunk-ND7JMM5H.js → chunk-SEETG3EM.js} +10 -6
  54. package/dist/chunk-SEETG3EM.js.map +1 -0
  55. package/dist/{chunk-7DJFJZ35.cjs → chunk-SXV6OBKE.cjs} +41 -33
  56. package/dist/chunk-SXV6OBKE.cjs.map +1 -0
  57. package/dist/chunk-TLTPIS2A.js +81 -0
  58. package/dist/chunk-TLTPIS2A.js.map +1 -0
  59. package/dist/chunk-UIBY7JVJ.js +3 -0
  60. package/dist/chunk-UIBY7JVJ.js.map +1 -0
  61. package/dist/{chunk-NOZWIS7M.cjs → chunk-UPGZTLK7.cjs} +9 -4
  62. package/dist/chunk-UPGZTLK7.cjs.map +1 -0
  63. package/dist/{chunk-TO2RA7BF.js → chunk-UR7S4GGS.js} +29 -21
  64. package/dist/chunk-UR7S4GGS.js.map +1 -0
  65. package/dist/{chunk-MUHRK4OI.js → chunk-VAEXSUUY.js} +3 -3
  66. package/dist/{chunk-MUHRK4OI.js.map → chunk-VAEXSUUY.js.map} +1 -1
  67. package/dist/{chunk-ZVKEPVDQ.js → chunk-VQOUF4F5.js} +2 -2
  68. package/dist/chunk-VQOUF4F5.js.map +1 -0
  69. package/dist/{chunk-SBV5MWEL.cjs → chunk-VUTNNRDW.cjs} +2 -2
  70. package/dist/chunk-VUTNNRDW.cjs.map +1 -0
  71. package/dist/{chunk-VKE6UEDY.cjs → chunk-WYX44JHE.cjs} +12 -2
  72. package/dist/chunk-WYX44JHE.cjs.map +1 -0
  73. package/dist/{chunk-7OUDMUXF.js → chunk-X4QICOOM.js} +12 -2
  74. package/dist/chunk-X4QICOOM.js.map +1 -0
  75. package/dist/chunk-XV4MDWHF.js +3 -0
  76. package/dist/chunk-XV4MDWHF.js.map +1 -0
  77. package/dist/entries/billing.cjs +2 -2
  78. package/dist/entries/billing.d.cts +5 -1
  79. package/dist/entries/billing.d.ts +5 -1
  80. package/dist/entries/billing.js +1 -1
  81. package/dist/entries/cast-swap.cjs +2 -2
  82. package/dist/entries/cast-swap.d.cts +50 -8
  83. package/dist/entries/cast-swap.d.ts +50 -8
  84. package/dist/entries/cast-swap.js +1 -1
  85. package/dist/entries/characters.d.cts +1 -1
  86. package/dist/entries/characters.d.ts +1 -1
  87. package/dist/entries/client.cjs +29 -27
  88. package/dist/entries/client.d.cts +7 -1
  89. package/dist/entries/client.d.ts +7 -1
  90. package/dist/entries/client.js +24 -22
  91. package/dist/entries/content-rights.cjs +13 -0
  92. package/dist/entries/content-rights.cjs.map +1 -0
  93. package/dist/entries/content-rights.d.cts +82 -0
  94. package/dist/entries/content-rights.d.ts +82 -0
  95. package/dist/entries/content-rights.js +4 -0
  96. package/dist/entries/content-rights.js.map +1 -0
  97. package/dist/entries/copilot.cjs +4 -4
  98. package/dist/entries/copilot.js +3 -3
  99. package/dist/entries/core.cjs +6 -6
  100. package/dist/entries/core.js +2 -2
  101. package/dist/entries/creatures.d.cts +1 -1
  102. package/dist/entries/creatures.d.ts +1 -1
  103. package/dist/entries/edit.cjs +7 -7
  104. package/dist/entries/edit.js +2 -2
  105. package/dist/entries/errors.cjs +34 -26
  106. package/dist/entries/errors.d.cts +31 -2
  107. package/dist/entries/errors.d.ts +31 -2
  108. package/dist/entries/errors.js +1 -1
  109. package/dist/entries/executions.cjs +4 -4
  110. package/dist/entries/executions.d.cts +8 -0
  111. package/dist/entries/executions.d.ts +8 -0
  112. package/dist/entries/executions.js +1 -1
  113. package/dist/entries/jobs.cjs +2 -2
  114. package/dist/entries/jobs.d.cts +50 -1
  115. package/dist/entries/jobs.d.ts +50 -1
  116. package/dist/entries/jobs.js +1 -1
  117. package/dist/entries/locations.d.cts +1 -1
  118. package/dist/entries/locations.d.ts +1 -1
  119. package/dist/entries/media.cjs +4 -4
  120. package/dist/entries/media.d.cts +8 -3
  121. package/dist/entries/media.d.ts +8 -3
  122. package/dist/entries/media.js +3 -3
  123. package/dist/entries/nodes.cjs +3 -3
  124. package/dist/entries/nodes.d.cts +1 -1
  125. package/dist/entries/nodes.d.ts +1 -1
  126. package/dist/entries/nodes.js +2 -2
  127. package/dist/entries/objects.d.cts +1 -1
  128. package/dist/entries/objects.d.ts +1 -1
  129. package/dist/entries/pipelines.cjs +2 -2
  130. package/dist/entries/pipelines.d.cts +7 -0
  131. package/dist/entries/pipelines.d.ts +7 -0
  132. package/dist/entries/pipelines.js +1 -1
  133. package/dist/entries/scene3d.d.cts +2 -2
  134. package/dist/entries/scene3d.d.ts +2 -2
  135. package/dist/entries/studio.cjs +5 -5
  136. package/dist/entries/studio.js +2 -2
  137. package/dist/entries/trend-radar.cjs +13 -0
  138. package/dist/entries/trend-radar.cjs.map +1 -0
  139. package/dist/entries/trend-radar.d.cts +243 -0
  140. package/dist/entries/trend-radar.d.ts +243 -0
  141. package/dist/entries/trend-radar.js +4 -0
  142. package/dist/entries/trend-radar.js.map +1 -0
  143. package/dist/entries/uploads.cjs +2 -2
  144. package/dist/entries/uploads.d.cts +8 -1
  145. package/dist/entries/uploads.d.ts +8 -1
  146. package/dist/entries/uploads.js +1 -1
  147. package/dist/index.cjs +135 -115
  148. package/dist/index.d.cts +6 -4
  149. package/dist/index.d.ts +6 -4
  150. package/dist/index.js +33 -29
  151. package/dist/{nodes-Cy6dmQEz.d.ts → nodes-BXL3qXlY.d.ts} +10 -2
  152. package/dist/{nodes-Di-Z7-vr.d.cts → nodes-Dx8rpU12.d.cts} +10 -2
  153. package/package.json +12 -2
  154. package/dist/chunk-3Y5TDB5K.cjs.map +0 -1
  155. package/dist/chunk-7DJFJZ35.cjs.map +0 -1
  156. package/dist/chunk-7OUDMUXF.js.map +0 -1
  157. package/dist/chunk-ALDXFMD7.js.map +0 -1
  158. package/dist/chunk-COCKKMNP.cjs.map +0 -1
  159. package/dist/chunk-DTYN7QAZ.js.map +0 -1
  160. package/dist/chunk-GSE7SB3I.cjs.map +0 -1
  161. package/dist/chunk-GWTKYJJO.cjs.map +0 -1
  162. package/dist/chunk-JJMQ2EVL.js.map +0 -1
  163. package/dist/chunk-K4RQOSJH.js.map +0 -1
  164. package/dist/chunk-MWSD2FSG.cjs.map +0 -1
  165. package/dist/chunk-ND7JMM5H.js.map +0 -1
  166. package/dist/chunk-NOZWIS7M.cjs.map +0 -1
  167. package/dist/chunk-SBV5MWEL.cjs.map +0 -1
  168. package/dist/chunk-TO2RA7BF.js.map +0 -1
  169. package/dist/chunk-TVPYDC5T.cjs.map +0 -1
  170. package/dist/chunk-VKE6UEDY.cjs.map +0 -1
  171. package/dist/chunk-X24USXOQ.js.map +0 -1
  172. package/dist/chunk-Z3ZKFI2M.js.map +0 -1
  173. package/dist/chunk-ZVKEPVDQ.js.map +0 -1
@@ -1,57 +1,59 @@
1
- export { NodaroClient, createClient } from '../chunk-TO2RA7BF.js';
1
+ export { NodaroClient, createClient } from '../chunk-UR7S4GGS.js';
2
+ import '../chunk-33HT46A3.js';
3
+ import '../chunk-Z5GLY4R3.js';
4
+ import '../chunk-TLTPIS2A.js';
5
+ import '../chunk-H3HUZT3T.js';
2
6
  import '../chunk-HPXE3NZW.js';
3
- import '../chunk-DTYN7QAZ.js';
7
+ import '../chunk-P2C33IOF.js';
4
8
  import '../chunk-LR5TGCJP.js';
5
9
  import '../chunk-ERLXU47J.js';
6
10
  import '../chunk-T7N7DFQJ.js';
7
11
  import '../chunk-YN6CBIIB.js';
8
- import '../chunk-33HT46A3.js';
9
- import '../chunk-Z5GLY4R3.js';
12
+ import '../chunk-IHKIYVZQ.js';
10
13
  import '../chunk-NCCBS6GU.js';
11
14
  import '../chunk-NNHWH7ER.js';
12
15
  import '../chunk-WS4ZQ4AA.js';
13
16
  import '../chunk-WVFAQBS7.js';
14
- import '../chunk-VTL4DBX4.js';
17
+ import '../chunk-NQXBWK2D.js';
15
18
  import '../chunk-M7VSFZMV.js';
16
19
  import '../chunk-2SQ7V6EX.js';
17
- import '../chunk-H3HUZT3T.js';
20
+ import '../chunk-GIQDM2MH.js';
18
21
  import '../chunk-ALSLZG3U.js';
19
22
  import '../chunk-WEQWU2IC.js';
20
23
  import '../chunk-KFZOJBI5.js';
21
- import '../chunk-K4RQOSJH.js';
24
+ import '../chunk-J2DBYYXC.js';
22
25
  import '../chunk-H7VQTG4M.js';
23
26
  import '../chunk-OIPPTBW4.js';
24
27
  import '../chunk-AJVSMNPZ.js';
25
- import '../chunk-IHKIYVZQ.js';
28
+ import '../chunk-E37CVHWW.js';
26
29
  import '../chunk-XZPSJG2X.js';
27
- import '../chunk-ND7JMM5H.js';
30
+ import '../chunk-SEETG3EM.js';
28
31
  import '../chunk-Y6V6CBY5.js';
29
32
  import '../chunk-YVU2M7MI.js';
30
33
  import '../chunk-AEUPH7EE.js';
31
- import '../chunk-ALDXFMD7.js';
34
+ import '../chunk-2ENKGVRS.js';
32
35
  import '../chunk-Z7LGWNI7.js';
33
- import '../chunk-GIQDM2MH.js';
34
- import '../chunk-MUHRK4OI.js';
35
- import '../chunk-Z3ZKFI2M.js';
36
+ import '../chunk-65E3JBFZ.js';
37
+ import '../chunk-VAEXSUUY.js';
38
+ import '../chunk-22XXTB2R.js';
36
39
  import '../chunk-JDEZHITT.js';
37
- import '../chunk-X24USXOQ.js';
40
+ import '../chunk-A42R7UT7.js';
38
41
  import '../chunk-MQWZFWHE.js';
39
42
  import '../chunk-P6E4QDJN.js';
40
- import '../chunk-E37CVHWW.js';
41
43
  import '../chunk-4WRDR4GN.js';
42
44
  import '../chunk-SFB4YLCS.js';
43
45
  import '../chunk-BU5A6K4C.js';
44
- import '../chunk-RCD4HDBI.js';
45
- import '../chunk-YYMX3VN7.js';
46
- export { CallbackAuth, StaticTokenAuth, supabaseAuth } from '../chunk-3JJP6BR2.js';
47
- import '../chunk-JJMQ2EVL.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';
48
51
  import '../chunk-HUYI5G3D.js';
49
52
  import '../chunk-7QK2NXJA.js';
50
- import '../chunk-65E3JBFZ.js';
51
53
  import '../chunk-7LODCIQK.js';
52
54
  import '../chunk-3QFTP5P5.js';
53
- import '../chunk-ZVKEPVDQ.js';
54
- import '../chunk-7OUDMUXF.js';
55
+ import '../chunk-VQOUF4F5.js';
56
+ import '../chunk-X4QICOOM.js';
55
57
  import '../chunk-KG4R454Z.js';
56
58
  import '../chunk-CBDUHYTR.js';
57
59
  //# sourceMappingURL=client.js.map
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ require('../chunk-2M4VYNSE.cjs');
4
+ var chunk3OARKXWT_cjs = require('../chunk-3OARKXWT.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "ContentRightsResource", {
9
+ enumerable: true,
10
+ get: function () { return chunk3OARKXWT_cjs.ContentRightsResource; }
11
+ });
12
+ //# sourceMappingURL=content-rights.cjs.map
13
+ //# sourceMappingURL=content-rights.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"content-rights.cjs"}
@@ -0,0 +1,82 @@
1
+ import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.cjs';
2
+ import '@nodaro/shared/apps';
3
+ import '@nodaro/shared/organizations';
4
+
5
+ /**
6
+ * Content rights — the declaration a person confirms before a link is
7
+ * imported, and the confirmation a download then carries. Mirrors
8
+ * `/v1/content-rights/*` (`backend/src/routes/content-rights.ts`).
9
+ *
10
+ * The flow: show {@link ContentRightsResource.declaration}'s text with a
11
+ * checkbox, call {@link ContentRightsResource.confirm} with the link once it
12
+ * is ticked, and pass the answered `id` as `confirmationId` to
13
+ * `media.downloadVideo`. One confirmation is good for one download of that
14
+ * link, by the same account, within an hour. Whether a download WITHOUT a
15
+ * confirmation is refused is the deployment's setting
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.
24
+ */
25
+ interface ContentRightsDeclaration {
26
+ /** The declaration's version; a confirmation names the version it agreed to. */
27
+ version: number;
28
+ /** The text the person confirms, verbatim. */
29
+ text: string;
30
+ }
31
+ interface ContentRightsConfirmation {
32
+ /** The id a download carries as `confirmationId`. */
33
+ id: string;
34
+ declarationVersion: number;
35
+ /** After this the confirmation no longer opens a download (ISO 8601). */
36
+ expiresAt: string;
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
+ }
45
+ declare class ContentRightsResource {
46
+ private client;
47
+ constructor(client: NodaroClientCore);
48
+ /** `GET /v1/content-rights/declaration` → the current text and its version. Public: needs no credential. */
49
+ declaration(): Promise<ContentRightsDeclaration>;
50
+ /**
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.
54
+ */
55
+ confirm(input: {
56
+ url: string;
57
+ declarationVersion: number;
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
+ }>;
80
+ }
81
+
82
+ export { type ContentRightsAuthorization, type ContentRightsConfirmation, type ContentRightsDeclaration, ContentRightsResource };
@@ -0,0 +1,82 @@
1
+ import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.js';
2
+ import '@nodaro/shared/apps';
3
+ import '@nodaro/shared/organizations';
4
+
5
+ /**
6
+ * Content rights — the declaration a person confirms before a link is
7
+ * imported, and the confirmation a download then carries. Mirrors
8
+ * `/v1/content-rights/*` (`backend/src/routes/content-rights.ts`).
9
+ *
10
+ * The flow: show {@link ContentRightsResource.declaration}'s text with a
11
+ * checkbox, call {@link ContentRightsResource.confirm} with the link once it
12
+ * is ticked, and pass the answered `id` as `confirmationId` to
13
+ * `media.downloadVideo`. One confirmation is good for one download of that
14
+ * link, by the same account, within an hour. Whether a download WITHOUT a
15
+ * confirmation is refused is the deployment's setting
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.
24
+ */
25
+ interface ContentRightsDeclaration {
26
+ /** The declaration's version; a confirmation names the version it agreed to. */
27
+ version: number;
28
+ /** The text the person confirms, verbatim. */
29
+ text: string;
30
+ }
31
+ interface ContentRightsConfirmation {
32
+ /** The id a download carries as `confirmationId`. */
33
+ id: string;
34
+ declarationVersion: number;
35
+ /** After this the confirmation no longer opens a download (ISO 8601). */
36
+ expiresAt: string;
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
+ }
45
+ declare class ContentRightsResource {
46
+ private client;
47
+ constructor(client: NodaroClientCore);
48
+ /** `GET /v1/content-rights/declaration` → the current text and its version. Public: needs no credential. */
49
+ declaration(): Promise<ContentRightsDeclaration>;
50
+ /**
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.
54
+ */
55
+ confirm(input: {
56
+ url: string;
57
+ declarationVersion: number;
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
+ }>;
80
+ }
81
+
82
+ export { type ContentRightsAuthorization, type ContentRightsConfirmation, type ContentRightsDeclaration, ContentRightsResource };
@@ -0,0 +1,4 @@
1
+ import '../chunk-UIBY7JVJ.js';
2
+ export { ContentRightsResource } from '../chunk-K2VWXAGK.js';
3
+ //# sourceMappingURL=content-rights.js.map
4
+ //# sourceMappingURL=content-rights.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"content-rights.js"}
@@ -1,15 +1,15 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-W33CKW6Q.cjs');
4
- var chunkGDUEOKBF_cjs = require('../chunk-GDUEOKBF.cjs');
5
- require('../chunk-KU3UITCU.cjs');
6
- require('../chunk-GSE7SB3I.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 chunkGDUEOKBF_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-RCD4HDBI.js';
3
- import '../chunk-YYMX3VN7.js';
4
- import '../chunk-JJMQ2EVL.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 chunkHPAHAE4U_cjs = require('../chunk-HPAHAE4U.cjs');
5
- require('../chunk-GSE7SB3I.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 chunkHPAHAE4U_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 chunkHPAHAE4U_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 chunkHPAHAE4U_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 chunkHPAHAE4U_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-3JJP6BR2.js';
3
- import '../chunk-JJMQ2EVL.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
@@ -2,7 +2,7 @@ import { CreatureAttachColumn, ObjectAspectRatio } from '@nodaro/shared/entities
2
2
  export { OBJECT_ASPECT_DEFAULTS as CREATURE_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS as CREATURE_ASPECT_OPTIONS, CREATURE_ATTACH_COLUMNS, ObjectAspectRatio as CreatureAspectRatio, CreatureAttachColumn } from '@nodaro/shared/entities';
3
3
  import { TtsProvider } from '@nodaro/shared/models';
4
4
  import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.cjs';
5
- import { l as GenerationSessionParams, a3 as Subject } from '../nodes-Di-Z7-vr.cjs';
5
+ import { l as GenerationSessionParams, a3 as Subject } from '../nodes-Dx8rpU12.cjs';
6
6
  import { SetKeeperCatalogInput, SetKeeperCatalogResult } from './keepers.cjs';
7
7
  import '@nodaro/shared/apps';
8
8
  import '@nodaro/shared/organizations';
@@ -2,7 +2,7 @@ import { CreatureAttachColumn, ObjectAspectRatio } from '@nodaro/shared/entities
2
2
  export { OBJECT_ASPECT_DEFAULTS as CREATURE_ASPECT_DEFAULTS, OBJECT_ASPECT_OPTIONS as CREATURE_ASPECT_OPTIONS, CREATURE_ATTACH_COLUMNS, ObjectAspectRatio as CreatureAspectRatio, CreatureAttachColumn } from '@nodaro/shared/entities';
3
3
  import { TtsProvider } from '@nodaro/shared/models';
4
4
  import { N as NodaroClientCore } from '../developer-apps-CMUzKpE9.js';
5
- import { l as GenerationSessionParams, a3 as Subject } from '../nodes-Cy6dmQEz.js';
5
+ import { l as GenerationSessionParams, a3 as Subject } from '../nodes-BXL3qXlY.js';
6
6
  import { SetKeeperCatalogInput, SetKeeperCatalogResult } from './keepers.js';
7
7
  import '@nodaro/shared/apps';
8
8
  import '@nodaro/shared/organizations';
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var chunk6T54F65Q_cjs = require('../chunk-6T54F65Q.cjs');
4
- var chunkDOMNKVKA_cjs = require('../chunk-DOMNKVKA.cjs');
5
- require('../chunk-GSE7SB3I.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 chunkDOMNKVKA_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 chunkDOMNKVKA_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 chunkDOMNKVKA_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 chunkDOMNKVKA_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 chunkDOMNKVKA_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-MUHRK4OI.js';
3
- import '../chunk-JJMQ2EVL.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,109 +1,117 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-A2ZAFAWC.cjs');
4
- var chunkGSE7SB3I_cjs = require('../chunk-GSE7SB3I.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 chunkGSE7SB3I_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 chunkGSE7SB3I_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 chunkGSE7SB3I_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 chunkGSE7SB3I_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 chunkGSE7SB3I_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 chunkGSE7SB3I_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 chunkGSE7SB3I_cjs.ForbiddenError; }
34
+ get: function () { return chunk7GC5LKCR_cjs.ForbiddenError; }
35
+ });
36
+ Object.defineProperty(exports, "IMPORT_REFUSAL_CODES", {
37
+ enumerable: true,
38
+ get: function () { return chunk7GC5LKCR_cjs.IMPORT_REFUSAL_CODES; }
39
+ });
40
+ Object.defineProperty(exports, "ImportRefusedError", {
41
+ enumerable: true,
42
+ get: function () { return chunk7GC5LKCR_cjs.ImportRefusedError; }
35
43
  });
36
44
  Object.defineProperty(exports, "InsufficientCreditsError", {
37
45
  enumerable: true,
38
- get: function () { return chunkGSE7SB3I_cjs.InsufficientCreditsError; }
46
+ get: function () { return chunk7GC5LKCR_cjs.InsufficientCreditsError; }
39
47
  });
40
48
  Object.defineProperty(exports, "JobAbortedError", {
41
49
  enumerable: true,
42
- get: function () { return chunkGSE7SB3I_cjs.JobAbortedError; }
50
+ get: function () { return chunk7GC5LKCR_cjs.JobAbortedError; }
43
51
  });
44
52
  Object.defineProperty(exports, "JobBlockedError", {
45
53
  enumerable: true,
46
- get: function () { return chunkGSE7SB3I_cjs.JobBlockedError; }
54
+ get: function () { return chunk7GC5LKCR_cjs.JobBlockedError; }
47
55
  });
48
56
  Object.defineProperty(exports, "JobFailedError", {
49
57
  enumerable: true,
50
- get: function () { return chunkGSE7SB3I_cjs.JobFailedError; }
58
+ get: function () { return chunk7GC5LKCR_cjs.JobFailedError; }
51
59
  });
52
60
  Object.defineProperty(exports, "JobHeldError", {
53
61
  enumerable: true,
54
- get: function () { return chunkGSE7SB3I_cjs.JobHeldError; }
62
+ get: function () { return chunk7GC5LKCR_cjs.JobHeldError; }
55
63
  });
56
64
  Object.defineProperty(exports, "JobTimeoutError", {
57
65
  enumerable: true,
58
- get: function () { return chunkGSE7SB3I_cjs.JobTimeoutError; }
66
+ get: function () { return chunk7GC5LKCR_cjs.JobTimeoutError; }
59
67
  });
60
68
  Object.defineProperty(exports, "MODEL_UNAVAILABLE_CODES", {
61
69
  enumerable: true,
62
- get: function () { return chunkGSE7SB3I_cjs.MODEL_UNAVAILABLE_CODES; }
70
+ get: function () { return chunk7GC5LKCR_cjs.MODEL_UNAVAILABLE_CODES; }
63
71
  });
64
72
  Object.defineProperty(exports, "ModelUnavailableError", {
65
73
  enumerable: true,
66
- get: function () { return chunkGSE7SB3I_cjs.ModelUnavailableError; }
74
+ get: function () { return chunk7GC5LKCR_cjs.ModelUnavailableError; }
67
75
  });
68
76
  Object.defineProperty(exports, "NodaroError", {
69
77
  enumerable: true,
70
- get: function () { return chunkGSE7SB3I_cjs.NodaroError; }
78
+ get: function () { return chunk7GC5LKCR_cjs.NodaroError; }
71
79
  });
72
80
  Object.defineProperty(exports, "NotFoundError", {
73
81
  enumerable: true,
74
- get: function () { return chunkGSE7SB3I_cjs.NotFoundError; }
82
+ get: function () { return chunk7GC5LKCR_cjs.NotFoundError; }
75
83
  });
76
84
  Object.defineProperty(exports, "RateLimitedError", {
77
85
  enumerable: true,
78
- get: function () { return chunkGSE7SB3I_cjs.RateLimitedError; }
86
+ get: function () { return chunk7GC5LKCR_cjs.RateLimitedError; }
79
87
  });
80
88
  Object.defineProperty(exports, "StorageExceededError", {
81
89
  enumerable: true,
82
- get: function () { return chunkGSE7SB3I_cjs.StorageExceededError; }
90
+ get: function () { return chunk7GC5LKCR_cjs.StorageExceededError; }
83
91
  });
84
92
  Object.defineProperty(exports, "StudioOpError", {
85
93
  enumerable: true,
86
- get: function () { return chunkGSE7SB3I_cjs.StudioOpError; }
94
+ get: function () { return chunk7GC5LKCR_cjs.StudioOpError; }
87
95
  });
88
96
  Object.defineProperty(exports, "StudioPreviewAppliedError", {
89
97
  enumerable: true,
90
- get: function () { return chunkGSE7SB3I_cjs.StudioPreviewAppliedError; }
98
+ get: function () { return chunk7GC5LKCR_cjs.StudioPreviewAppliedError; }
91
99
  });
92
100
  Object.defineProperty(exports, "StudioPreviewUnavailable", {
93
101
  enumerable: true,
94
- get: function () { return chunkGSE7SB3I_cjs.StudioPreviewUnavailable; }
102
+ get: function () { return chunk7GC5LKCR_cjs.StudioPreviewUnavailable; }
95
103
  });
96
104
  Object.defineProperty(exports, "UnauthorizedError", {
97
105
  enumerable: true,
98
- get: function () { return chunkGSE7SB3I_cjs.UnauthorizedError; }
106
+ get: function () { return chunk7GC5LKCR_cjs.UnauthorizedError; }
99
107
  });
100
108
  Object.defineProperty(exports, "WorkflowConflictError", {
101
109
  enumerable: true,
102
- get: function () { return chunkGSE7SB3I_cjs.WorkflowConflictError; }
110
+ get: function () { return chunk7GC5LKCR_cjs.WorkflowConflictError; }
103
111
  });
104
112
  Object.defineProperty(exports, "throwFromResponse", {
105
113
  enumerable: true,
106
- get: function () { return chunkGSE7SB3I_cjs.throwFromResponse; }
114
+ get: function () { return chunk7GC5LKCR_cjs.throwFromResponse; }
107
115
  });
108
116
  //# sourceMappingURL=errors.cjs.map
109
117
  //# sourceMappingURL=errors.cjs.map
@@ -47,6 +47,33 @@ declare class ModelUnavailableError extends ForbiddenError {
47
47
  readonly code: ModelUnavailableCode;
48
48
  constructor(code: ModelUnavailableCode, message?: string);
49
49
  }
50
+ type ImportRefusalCode = "import_source_disabled" | "rights_confirmation_required" | "rights_authorization_required" | "rights_confirmation_not_found" | "rights_confirmation_mismatch" | "rights_confirmation_stale" | "rights_confirmation_expired" | "rights_confirmation_used";
51
+ /**
52
+ * The 403 codes {@link ImportRefusedError} carries: the link's site is
53
+ * disabled by an administrator (`import_source_disabled`), or the content
54
+ * rights confirmation is missing while the deployment requires one
55
+ * (`rights_confirmation_required`; for an import through an API key or an AI
56
+ * agent with no standing authorization, `rights_authorization_required`), does
57
+ * not exist, is for another link or account, was made under an older
58
+ * declaration, expired, or was used for an import already.
59
+ */
60
+ declare const IMPORT_REFUSAL_CODES: ReadonlySet<ImportRefusalCode>;
61
+ /**
62
+ * HTTP 403 refusing an IMPORT OF A LINK (`media.downloadVideo`,
63
+ * `uploads.importUrl`, the audio imports): the content rights check or the
64
+ * site's policy said no, before anything was fetched. A
65
+ * {@link ForbiddenError}, so existing catches keep working; `code` is the
66
+ * server's own code and says which. The remedy for a `rights_confirmation_*`
67
+ * code is `contentRights.confirm({ url })` again and a new import with the
68
+ * answered id; for `rights_authorization_required` it is the person giving
69
+ * the standing authorization in their settings (`contentRights.authorize`, in
70
+ * their own session); an `import_source_disabled` site has no remedy on the
71
+ * caller's side, and the message names no site.
72
+ */
73
+ declare class ImportRefusedError extends ForbiddenError {
74
+ readonly code: ImportRefusalCode;
75
+ constructor(code: ImportRefusalCode, message?: string);
76
+ }
50
77
  declare class NotFoundError extends NodaroError {
51
78
  constructor(message?: string);
52
79
  }
@@ -257,7 +284,9 @@ declare class JobFailedError extends NodaroError {
257
284
  }
258
285
  /**
259
286
  * `nodes.runAndWait` polled past its `maxMs` deadline without the job reaching
260
- * a terminal status. Not an HTTP error — `status` is 0; catch by type/`code`.
287
+ * a terminal status. Time the job spent `queued` (waiting for a free slot)
288
+ * does not count toward the deadline. Not an HTTP error — `status` is 0; catch
289
+ * by type/`code`.
261
290
  */
262
291
  declare class JobTimeoutError extends NodaroError {
263
292
  readonly jobId: string;
@@ -408,4 +437,4 @@ interface ApiErrorBody {
408
437
  }
409
438
  declare function throwFromResponse(status: number, body: ApiErrorBody): never;
410
439
 
411
- export { AlreadyRunningError, AppRunVersionChangedError, CREDIT_CAP_CODES, ContinuationPreviewPendingError, ContinuationRefusedError, type CreditCapCode, CreditCapExceededError, ForbiddenError, type HeldFinalRun, InsufficientCreditsError, JobAbortedError, JobBlockedError, JobFailedError, JobHeldError, JobTimeoutError, MODEL_UNAVAILABLE_CODES, type ModelUnavailableCode, ModelUnavailableError, NodaroError, NotFoundError, RateLimitedError, StorageExceededError, StudioOpError, StudioPreviewAppliedError, StudioPreviewUnavailable, UnauthorizedError, type WorkflowConflictCode, WorkflowConflictError, throwFromResponse };
440
+ export { AlreadyRunningError, AppRunVersionChangedError, CREDIT_CAP_CODES, ContinuationPreviewPendingError, ContinuationRefusedError, type CreditCapCode, CreditCapExceededError, ForbiddenError, type HeldFinalRun, IMPORT_REFUSAL_CODES, type ImportRefusalCode, ImportRefusedError, InsufficientCreditsError, JobAbortedError, JobBlockedError, JobFailedError, JobHeldError, JobTimeoutError, MODEL_UNAVAILABLE_CODES, type ModelUnavailableCode, ModelUnavailableError, NodaroError, NotFoundError, RateLimitedError, StorageExceededError, StudioOpError, StudioPreviewAppliedError, StudioPreviewUnavailable, UnauthorizedError, type WorkflowConflictCode, WorkflowConflictError, throwFromResponse };