@nodaro/sdk 2.60.1 → 2.61.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.
- package/dist/{chunk-Z3ZKFI2M.js → chunk-22XXTB2R.js} +2 -2
- package/dist/chunk-22XXTB2R.js.map +1 -0
- package/dist/{chunk-JJMQ2EVL.js → chunk-27LD2VRE.js} +22 -3
- package/dist/chunk-27LD2VRE.js.map +1 -0
- package/dist/chunk-2M4VYNSE.cjs +4 -0
- package/dist/chunk-2M4VYNSE.cjs.map +1 -0
- package/dist/{chunk-MWSD2FSG.cjs → chunk-5LI4CVJB.cjs} +2 -2
- package/dist/chunk-5LI4CVJB.cjs.map +1 -0
- package/dist/{chunk-X24USXOQ.js → chunk-A42R7UT7.js} +2 -2
- package/dist/chunk-A42R7UT7.js.map +1 -0
- package/dist/{chunk-GSE7SB3I.cjs → chunk-AMQZ5FAE.cjs} +23 -2
- package/dist/chunk-AMQZ5FAE.cjs.map +1 -0
- package/dist/{chunk-TO2RA7BF.js → chunk-DGGGVFTS.js} +29 -21
- package/dist/chunk-DGGGVFTS.js.map +1 -0
- package/dist/chunk-G2V5WUQX.js +25 -0
- package/dist/chunk-G2V5WUQX.js.map +1 -0
- package/dist/{chunk-HPAHAE4U.cjs → chunk-G44XYWDA.cjs} +5 -5
- package/dist/{chunk-HPAHAE4U.cjs.map → chunk-G44XYWDA.cjs.map} +1 -1
- package/dist/{chunk-COCKKMNP.cjs → chunk-G4AFHCNA.cjs} +2 -2
- package/dist/chunk-G4AFHCNA.cjs.map +1 -0
- package/dist/{chunk-TVPYDC5T.cjs → chunk-GGIWDFER.cjs} +2 -2
- package/dist/chunk-GGIWDFER.cjs.map +1 -0
- package/dist/{chunk-GWTKYJJO.cjs → chunk-HHVZD3TL.cjs} +36 -25
- package/dist/chunk-HHVZD3TL.cjs.map +1 -0
- package/dist/{chunk-DOMNKVKA.cjs → chunk-HIVIWAKA.cjs} +9 -9
- package/dist/{chunk-DOMNKVKA.cjs.map → chunk-HIVIWAKA.cjs.map} +1 -1
- package/dist/{chunk-K4RQOSJH.js → chunk-J2DBYYXC.js} +2 -2
- package/dist/chunk-J2DBYYXC.js.map +1 -0
- package/dist/{chunk-7DJFJZ35.cjs → chunk-LB5WQZJA.cjs} +41 -33
- package/dist/chunk-LB5WQZJA.cjs.map +1 -0
- package/dist/{chunk-RCD4HDBI.js → chunk-LZUEVHZM.js} +3 -3
- package/dist/{chunk-RCD4HDBI.js.map → chunk-LZUEVHZM.js.map} +1 -1
- package/dist/chunk-M7TYOYFN.cjs +27 -0
- package/dist/chunk-M7TYOYFN.cjs.map +1 -0
- package/dist/{chunk-YYMX3VN7.js → chunk-MQO2SXSG.js} +3 -3
- package/dist/{chunk-YYMX3VN7.js.map → chunk-MQO2SXSG.js.map} +1 -1
- package/dist/{chunk-ALDXFMD7.js → chunk-N5ESAUSB.js} +17 -6
- package/dist/chunk-N5ESAUSB.js.map +1 -0
- package/dist/{chunk-KU3UITCU.cjs → chunk-ND46XQVL.cjs} +5 -5
- package/dist/{chunk-KU3UITCU.cjs.map → chunk-ND46XQVL.cjs.map} +1 -1
- package/dist/chunk-NMLYZWIW.cjs +4 -0
- package/dist/chunk-NMLYZWIW.cjs.map +1 -0
- package/dist/{chunk-3Y5TDB5K.cjs → chunk-NRTYE4VU.cjs} +11 -7
- package/dist/chunk-NRTYE4VU.cjs.map +1 -0
- package/dist/{chunk-DTYN7QAZ.js → chunk-P2C33IOF.js} +9 -4
- package/dist/chunk-P2C33IOF.js.map +1 -0
- package/dist/{chunk-3JJP6BR2.js → chunk-PDVMB2F6.js} +4 -4
- package/dist/{chunk-3JJP6BR2.js.map → chunk-PDVMB2F6.js.map} +1 -1
- package/dist/{chunk-GDUEOKBF.cjs → chunk-RDIZF74K.cjs} +4 -4
- package/dist/{chunk-GDUEOKBF.cjs.map → chunk-RDIZF74K.cjs.map} +1 -1
- package/dist/chunk-RKW3N463.cjs +83 -0
- package/dist/chunk-RKW3N463.cjs.map +1 -0
- package/dist/{chunk-TSM3S2QS.cjs → chunk-RZL3ZKKX.cjs} +5 -5
- package/dist/{chunk-TSM3S2QS.cjs.map → chunk-RZL3ZKKX.cjs.map} +1 -1
- package/dist/{chunk-MUHRK4OI.js → chunk-SIRIMRCW.js} +3 -3
- package/dist/{chunk-MUHRK4OI.js.map → chunk-SIRIMRCW.js.map} +1 -1
- package/dist/{chunk-ND7JMM5H.js → chunk-TKV2YTNW.js} +10 -6
- package/dist/chunk-TKV2YTNW.js.map +1 -0
- package/dist/chunk-TLTPIS2A.js +81 -0
- package/dist/chunk-TLTPIS2A.js.map +1 -0
- package/dist/chunk-UIBY7JVJ.js +3 -0
- package/dist/chunk-UIBY7JVJ.js.map +1 -0
- package/dist/{chunk-VTL4DBX4.js → chunk-ULFLA7YB.js} +3 -3
- package/dist/{chunk-VTL4DBX4.js.map → chunk-ULFLA7YB.js.map} +1 -1
- package/dist/{chunk-NOZWIS7M.cjs → chunk-UPGZTLK7.cjs} +9 -4
- package/dist/chunk-UPGZTLK7.cjs.map +1 -0
- package/dist/{chunk-ZVKEPVDQ.js → chunk-VQOUF4F5.js} +2 -2
- package/dist/chunk-VQOUF4F5.js.map +1 -0
- package/dist/{chunk-SBV5MWEL.cjs → chunk-VUTNNRDW.cjs} +2 -2
- package/dist/chunk-VUTNNRDW.cjs.map +1 -0
- package/dist/{chunk-VKE6UEDY.cjs → chunk-WYX44JHE.cjs} +12 -2
- package/dist/chunk-WYX44JHE.cjs.map +1 -0
- package/dist/{chunk-7OUDMUXF.js → chunk-X4QICOOM.js} +12 -2
- package/dist/chunk-X4QICOOM.js.map +1 -0
- package/dist/chunk-XV4MDWHF.js +3 -0
- package/dist/chunk-XV4MDWHF.js.map +1 -0
- package/dist/entries/billing.cjs +2 -2
- package/dist/entries/billing.d.cts +5 -1
- package/dist/entries/billing.d.ts +5 -1
- package/dist/entries/billing.js +1 -1
- package/dist/entries/cast-swap.cjs +2 -2
- package/dist/entries/cast-swap.d.cts +50 -8
- package/dist/entries/cast-swap.d.ts +50 -8
- package/dist/entries/cast-swap.js +1 -1
- package/dist/entries/characters.d.cts +1 -1
- package/dist/entries/characters.d.ts +1 -1
- package/dist/entries/client.cjs +29 -27
- package/dist/entries/client.d.cts +7 -1
- package/dist/entries/client.d.ts +7 -1
- package/dist/entries/client.js +24 -22
- package/dist/entries/content-rights.cjs +13 -0
- package/dist/entries/content-rights.cjs.map +1 -0
- package/dist/entries/content-rights.d.cts +47 -0
- package/dist/entries/content-rights.d.ts +47 -0
- package/dist/entries/content-rights.js +4 -0
- package/dist/entries/content-rights.js.map +1 -0
- package/dist/entries/copilot.cjs +4 -4
- package/dist/entries/copilot.js +3 -3
- package/dist/entries/core.cjs +6 -6
- package/dist/entries/core.js +2 -2
- package/dist/entries/creatures.d.cts +1 -1
- package/dist/entries/creatures.d.ts +1 -1
- package/dist/entries/edit.cjs +7 -7
- package/dist/entries/edit.js +2 -2
- package/dist/entries/errors.cjs +34 -26
- package/dist/entries/errors.d.cts +27 -2
- package/dist/entries/errors.d.ts +27 -2
- package/dist/entries/errors.js +1 -1
- package/dist/entries/executions.cjs +4 -4
- package/dist/entries/executions.d.cts +8 -0
- package/dist/entries/executions.d.ts +8 -0
- package/dist/entries/executions.js +1 -1
- package/dist/entries/jobs.cjs +2 -2
- package/dist/entries/jobs.d.cts +50 -1
- package/dist/entries/jobs.d.ts +50 -1
- package/dist/entries/jobs.js +1 -1
- package/dist/entries/locations.d.cts +1 -1
- package/dist/entries/locations.d.ts +1 -1
- package/dist/entries/media.cjs +4 -4
- package/dist/entries/media.d.cts +8 -3
- package/dist/entries/media.d.ts +8 -3
- package/dist/entries/media.js +3 -3
- package/dist/entries/nodes.cjs +3 -3
- package/dist/entries/nodes.d.cts +1 -1
- package/dist/entries/nodes.d.ts +1 -1
- package/dist/entries/nodes.js +2 -2
- package/dist/entries/objects.d.cts +1 -1
- package/dist/entries/objects.d.ts +1 -1
- package/dist/entries/pipelines.cjs +2 -2
- package/dist/entries/pipelines.d.cts +7 -0
- package/dist/entries/pipelines.d.ts +7 -0
- package/dist/entries/pipelines.js +1 -1
- package/dist/entries/scene3d.d.cts +2 -2
- package/dist/entries/scene3d.d.ts +2 -2
- package/dist/entries/studio.cjs +5 -5
- package/dist/entries/studio.js +2 -2
- package/dist/entries/trend-radar.cjs +13 -0
- package/dist/entries/trend-radar.cjs.map +1 -0
- package/dist/entries/trend-radar.d.cts +243 -0
- package/dist/entries/trend-radar.d.ts +243 -0
- package/dist/entries/trend-radar.js +4 -0
- package/dist/entries/trend-radar.js.map +1 -0
- package/dist/entries/uploads.cjs +2 -2
- package/dist/entries/uploads.d.cts +8 -1
- package/dist/entries/uploads.d.ts +8 -1
- package/dist/entries/uploads.js +1 -1
- package/dist/index.cjs +135 -115
- package/dist/index.d.cts +6 -4
- package/dist/index.d.ts +6 -4
- package/dist/index.js +33 -29
- package/dist/{nodes-Cy6dmQEz.d.ts → nodes-BXL3qXlY.d.ts} +10 -2
- package/dist/{nodes-Di-Z7-vr.d.cts → nodes-Dx8rpU12.d.cts} +10 -2
- package/package.json +12 -2
- package/dist/chunk-3Y5TDB5K.cjs.map +0 -1
- package/dist/chunk-7DJFJZ35.cjs.map +0 -1
- package/dist/chunk-7OUDMUXF.js.map +0 -1
- package/dist/chunk-ALDXFMD7.js.map +0 -1
- package/dist/chunk-COCKKMNP.cjs.map +0 -1
- package/dist/chunk-DTYN7QAZ.js.map +0 -1
- package/dist/chunk-GSE7SB3I.cjs.map +0 -1
- package/dist/chunk-GWTKYJJO.cjs.map +0 -1
- package/dist/chunk-JJMQ2EVL.js.map +0 -1
- package/dist/chunk-K4RQOSJH.js.map +0 -1
- package/dist/chunk-MWSD2FSG.cjs.map +0 -1
- package/dist/chunk-ND7JMM5H.js.map +0 -1
- package/dist/chunk-NOZWIS7M.cjs.map +0 -1
- package/dist/chunk-SBV5MWEL.cjs.map +0 -1
- package/dist/chunk-TO2RA7BF.js.map +0 -1
- package/dist/chunk-TVPYDC5T.cjs.map +0 -1
- package/dist/chunk-VKE6UEDY.cjs.map +0 -1
- package/dist/chunk-X24USXOQ.js.map +0 -1
- package/dist/chunk-Z3ZKFI2M.js.map +0 -1
- package/dist/chunk-ZVKEPVDQ.js.map +0 -1
package/dist/entries/client.js
CHANGED
|
@@ -1,57 +1,59 @@
|
|
|
1
|
-
export { NodaroClient, createClient } from '../chunk-
|
|
1
|
+
export { NodaroClient, createClient } from '../chunk-DGGGVFTS.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-
|
|
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-
|
|
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-
|
|
17
|
+
import '../chunk-ULFLA7YB.js';
|
|
15
18
|
import '../chunk-M7VSFZMV.js';
|
|
16
19
|
import '../chunk-2SQ7V6EX.js';
|
|
17
|
-
import '../chunk-
|
|
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-
|
|
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-
|
|
28
|
+
import '../chunk-E37CVHWW.js';
|
|
26
29
|
import '../chunk-XZPSJG2X.js';
|
|
27
|
-
import '../chunk-
|
|
30
|
+
import '../chunk-TKV2YTNW.js';
|
|
28
31
|
import '../chunk-Y6V6CBY5.js';
|
|
29
32
|
import '../chunk-YVU2M7MI.js';
|
|
30
33
|
import '../chunk-AEUPH7EE.js';
|
|
31
|
-
import '../chunk-
|
|
34
|
+
import '../chunk-N5ESAUSB.js';
|
|
32
35
|
import '../chunk-Z7LGWNI7.js';
|
|
33
|
-
import '../chunk-
|
|
34
|
-
import '../chunk-
|
|
35
|
-
import '../chunk-
|
|
36
|
+
import '../chunk-65E3JBFZ.js';
|
|
37
|
+
import '../chunk-SIRIMRCW.js';
|
|
38
|
+
import '../chunk-22XXTB2R.js';
|
|
36
39
|
import '../chunk-JDEZHITT.js';
|
|
37
|
-
import '../chunk-
|
|
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-
|
|
45
|
-
import '../chunk-
|
|
46
|
-
|
|
47
|
-
|
|
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';
|
|
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-
|
|
54
|
-
import '../chunk-
|
|
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 chunkM7TYOYFN_cjs = require('../chunk-M7TYOYFN.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "ContentRightsResource", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkM7TYOYFN_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,47 @@
|
|
|
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
|
+
interface ContentRightsDeclaration {
|
|
19
|
+
/** The declaration's version; a confirmation names the version it agreed to. */
|
|
20
|
+
version: number;
|
|
21
|
+
/** The text the person confirms, verbatim. */
|
|
22
|
+
text: string;
|
|
23
|
+
}
|
|
24
|
+
interface ContentRightsConfirmation {
|
|
25
|
+
/** The id a download carries as `confirmationId`. */
|
|
26
|
+
id: string;
|
|
27
|
+
declarationVersion: number;
|
|
28
|
+
/** After this the confirmation no longer opens a download (ISO 8601). */
|
|
29
|
+
expiresAt: string;
|
|
30
|
+
}
|
|
31
|
+
declare class ContentRightsResource {
|
|
32
|
+
private client;
|
|
33
|
+
constructor(client: NodaroClientCore);
|
|
34
|
+
/** `GET /v1/content-rights/declaration` → the current text and its version. Public: needs no credential. */
|
|
35
|
+
declaration(): Promise<ContentRightsDeclaration>;
|
|
36
|
+
/**
|
|
37
|
+
* `POST /v1/content-rights/confirm` → the confirmation for one link, under
|
|
38
|
+
* the declaration version the person saw. `409 rights_confirmation_stale`
|
|
39
|
+
* when the declaration changed since: read it again and ask again.
|
|
40
|
+
*/
|
|
41
|
+
confirm(input: {
|
|
42
|
+
url: string;
|
|
43
|
+
declarationVersion: number;
|
|
44
|
+
}): Promise<ContentRightsConfirmation>;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export { type ContentRightsConfirmation, type ContentRightsDeclaration, ContentRightsResource };
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
interface ContentRightsDeclaration {
|
|
19
|
+
/** The declaration's version; a confirmation names the version it agreed to. */
|
|
20
|
+
version: number;
|
|
21
|
+
/** The text the person confirms, verbatim. */
|
|
22
|
+
text: string;
|
|
23
|
+
}
|
|
24
|
+
interface ContentRightsConfirmation {
|
|
25
|
+
/** The id a download carries as `confirmationId`. */
|
|
26
|
+
id: string;
|
|
27
|
+
declarationVersion: number;
|
|
28
|
+
/** After this the confirmation no longer opens a download (ISO 8601). */
|
|
29
|
+
expiresAt: string;
|
|
30
|
+
}
|
|
31
|
+
declare class ContentRightsResource {
|
|
32
|
+
private client;
|
|
33
|
+
constructor(client: NodaroClientCore);
|
|
34
|
+
/** `GET /v1/content-rights/declaration` → the current text and its version. Public: needs no credential. */
|
|
35
|
+
declaration(): Promise<ContentRightsDeclaration>;
|
|
36
|
+
/**
|
|
37
|
+
* `POST /v1/content-rights/confirm` → the confirmation for one link, under
|
|
38
|
+
* the declaration version the person saw. `409 rights_confirmation_stale`
|
|
39
|
+
* when the declaration changed since: read it again and ask again.
|
|
40
|
+
*/
|
|
41
|
+
confirm(input: {
|
|
42
|
+
url: string;
|
|
43
|
+
declarationVersion: number;
|
|
44
|
+
}): Promise<ContentRightsConfirmation>;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export { type ContentRightsConfirmation, type ContentRightsDeclaration, ContentRightsResource };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"content-rights.js"}
|
package/dist/entries/copilot.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-W33CKW6Q.cjs');
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
4
|
+
var chunkRDIZF74K_cjs = require('../chunk-RDIZF74K.cjs');
|
|
5
|
+
require('../chunk-ND46XQVL.cjs');
|
|
6
|
+
require('../chunk-AMQZ5FAE.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "CopilotResource", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkRDIZF74K_cjs.CopilotResource; }
|
|
13
13
|
});
|
|
14
14
|
//# sourceMappingURL=copilot.cjs.map
|
|
15
15
|
//# sourceMappingURL=copilot.cjs.map
|
package/dist/entries/copilot.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../chunk-ELSOVJPF.js';
|
|
2
|
-
export { CopilotResource } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
2
|
+
export { CopilotResource } from '../chunk-LZUEVHZM.js';
|
|
3
|
+
import '../chunk-MQO2SXSG.js';
|
|
4
|
+
import '../chunk-27LD2VRE.js';
|
|
5
5
|
//# sourceMappingURL=copilot.js.map
|
|
6
6
|
//# sourceMappingURL=copilot.js.map
|
package/dist/entries/core.cjs
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-X7XP5WBP.cjs');
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var chunkG44XYWDA_cjs = require('../chunk-G44XYWDA.cjs');
|
|
5
|
+
require('../chunk-AMQZ5FAE.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "CallbackAuth", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkG44XYWDA_cjs.CallbackAuth; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "NodaroClientCore", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkG44XYWDA_cjs.NodaroClientCore; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "StaticTokenAuth", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkG44XYWDA_cjs.StaticTokenAuth; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "supabaseAuth", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkG44XYWDA_cjs.supabaseAuth; }
|
|
24
24
|
});
|
|
25
25
|
//# sourceMappingURL=core.cjs.map
|
|
26
26
|
//# sourceMappingURL=core.cjs.map
|
package/dist/entries/core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../chunk-AUDHV3OE.js';
|
|
2
|
-
export { CallbackAuth, NodaroClientCore, StaticTokenAuth, supabaseAuth } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
2
|
+
export { CallbackAuth, NodaroClientCore, StaticTokenAuth, supabaseAuth } from '../chunk-PDVMB2F6.js';
|
|
3
|
+
import '../chunk-27LD2VRE.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-
|
|
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-
|
|
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';
|
package/dist/entries/edit.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunk6T54F65Q_cjs = require('../chunk-6T54F65Q.cjs');
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var chunkHIVIWAKA_cjs = require('../chunk-HIVIWAKA.cjs');
|
|
5
|
+
require('../chunk-AMQZ5FAE.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
|
|
15
|
+
get: function () { return chunkHIVIWAKA_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
|
|
19
|
+
get: function () { return chunkHIVIWAKA_cjs.CLIP_PACK_MIN_TARGET_SEC; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "EditResource", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkHIVIWAKA_cjs.EditResource; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "TRAILER_FORMATS", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkHIVIWAKA_cjs.TRAILER_FORMATS; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "USE_CASE_NODE_TYPES", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkHIVIWAKA_cjs.USE_CASE_NODE_TYPES; }
|
|
32
32
|
});
|
|
33
33
|
//# sourceMappingURL=edit.cjs.map
|
|
34
34
|
//# sourceMappingURL=edit.cjs.map
|
package/dist/entries/edit.js
CHANGED
|
@@ -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-
|
|
3
|
-
import '../chunk-
|
|
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';
|
|
4
4
|
//# sourceMappingURL=edit.js.map
|
|
5
5
|
//# sourceMappingURL=edit.js.map
|
package/dist/entries/errors.cjs
CHANGED
|
@@ -1,109 +1,117 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-A2ZAFAWC.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkAMQZ5FAE_cjs = require('../chunk-AMQZ5FAE.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "AlreadyRunningError", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkAMQZ5FAE_cjs.AlreadyRunningError; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "AppRunVersionChangedError", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkAMQZ5FAE_cjs.AppRunVersionChangedError; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "CREDIT_CAP_CODES", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkAMQZ5FAE_cjs.CREDIT_CAP_CODES; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "ContinuationPreviewPendingError", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkAMQZ5FAE_cjs.ContinuationPreviewPendingError; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "ContinuationRefusedError", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkAMQZ5FAE_cjs.ContinuationRefusedError; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "CreditCapExceededError", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkAMQZ5FAE_cjs.CreditCapExceededError; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "ForbiddenError", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkAMQZ5FAE_cjs.ForbiddenError; }
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "IMPORT_REFUSAL_CODES", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () { return chunkAMQZ5FAE_cjs.IMPORT_REFUSAL_CODES; }
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(exports, "ImportRefusedError", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function () { return chunkAMQZ5FAE_cjs.ImportRefusedError; }
|
|
35
43
|
});
|
|
36
44
|
Object.defineProperty(exports, "InsufficientCreditsError", {
|
|
37
45
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkAMQZ5FAE_cjs.InsufficientCreditsError; }
|
|
39
47
|
});
|
|
40
48
|
Object.defineProperty(exports, "JobAbortedError", {
|
|
41
49
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkAMQZ5FAE_cjs.JobAbortedError; }
|
|
43
51
|
});
|
|
44
52
|
Object.defineProperty(exports, "JobBlockedError", {
|
|
45
53
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkAMQZ5FAE_cjs.JobBlockedError; }
|
|
47
55
|
});
|
|
48
56
|
Object.defineProperty(exports, "JobFailedError", {
|
|
49
57
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkAMQZ5FAE_cjs.JobFailedError; }
|
|
51
59
|
});
|
|
52
60
|
Object.defineProperty(exports, "JobHeldError", {
|
|
53
61
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkAMQZ5FAE_cjs.JobHeldError; }
|
|
55
63
|
});
|
|
56
64
|
Object.defineProperty(exports, "JobTimeoutError", {
|
|
57
65
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkAMQZ5FAE_cjs.JobTimeoutError; }
|
|
59
67
|
});
|
|
60
68
|
Object.defineProperty(exports, "MODEL_UNAVAILABLE_CODES", {
|
|
61
69
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkAMQZ5FAE_cjs.MODEL_UNAVAILABLE_CODES; }
|
|
63
71
|
});
|
|
64
72
|
Object.defineProperty(exports, "ModelUnavailableError", {
|
|
65
73
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkAMQZ5FAE_cjs.ModelUnavailableError; }
|
|
67
75
|
});
|
|
68
76
|
Object.defineProperty(exports, "NodaroError", {
|
|
69
77
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkAMQZ5FAE_cjs.NodaroError; }
|
|
71
79
|
});
|
|
72
80
|
Object.defineProperty(exports, "NotFoundError", {
|
|
73
81
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkAMQZ5FAE_cjs.NotFoundError; }
|
|
75
83
|
});
|
|
76
84
|
Object.defineProperty(exports, "RateLimitedError", {
|
|
77
85
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkAMQZ5FAE_cjs.RateLimitedError; }
|
|
79
87
|
});
|
|
80
88
|
Object.defineProperty(exports, "StorageExceededError", {
|
|
81
89
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkAMQZ5FAE_cjs.StorageExceededError; }
|
|
83
91
|
});
|
|
84
92
|
Object.defineProperty(exports, "StudioOpError", {
|
|
85
93
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkAMQZ5FAE_cjs.StudioOpError; }
|
|
87
95
|
});
|
|
88
96
|
Object.defineProperty(exports, "StudioPreviewAppliedError", {
|
|
89
97
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkAMQZ5FAE_cjs.StudioPreviewAppliedError; }
|
|
91
99
|
});
|
|
92
100
|
Object.defineProperty(exports, "StudioPreviewUnavailable", {
|
|
93
101
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkAMQZ5FAE_cjs.StudioPreviewUnavailable; }
|
|
95
103
|
});
|
|
96
104
|
Object.defineProperty(exports, "UnauthorizedError", {
|
|
97
105
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkAMQZ5FAE_cjs.UnauthorizedError; }
|
|
99
107
|
});
|
|
100
108
|
Object.defineProperty(exports, "WorkflowConflictError", {
|
|
101
109
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkAMQZ5FAE_cjs.WorkflowConflictError; }
|
|
103
111
|
});
|
|
104
112
|
Object.defineProperty(exports, "throwFromResponse", {
|
|
105
113
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkAMQZ5FAE_cjs.throwFromResponse; }
|
|
107
115
|
});
|
|
108
116
|
//# sourceMappingURL=errors.cjs.map
|
|
109
117
|
//# sourceMappingURL=errors.cjs.map
|
|
@@ -47,6 +47,29 @@ 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";
|
|
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, 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.
|
|
57
|
+
*/
|
|
58
|
+
declare const IMPORT_REFUSAL_CODES: ReadonlySet<ImportRefusalCode>;
|
|
59
|
+
/**
|
|
60
|
+
* HTTP 403 refusing an IMPORT OF A LINK (`media.downloadVideo`,
|
|
61
|
+
* `uploads.importUrl`, the audio imports): the content rights check or the
|
|
62
|
+
* site's policy said no, before anything was fetched. A
|
|
63
|
+
* {@link ForbiddenError}, so existing catches keep working; `code` is the
|
|
64
|
+
* server's own code and says which. The remedy for a `rights_confirmation_*`
|
|
65
|
+
* 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
|
+
*/
|
|
69
|
+
declare class ImportRefusedError extends ForbiddenError {
|
|
70
|
+
readonly code: ImportRefusalCode;
|
|
71
|
+
constructor(code: ImportRefusalCode, message?: string);
|
|
72
|
+
}
|
|
50
73
|
declare class NotFoundError extends NodaroError {
|
|
51
74
|
constructor(message?: string);
|
|
52
75
|
}
|
|
@@ -257,7 +280,9 @@ declare class JobFailedError extends NodaroError {
|
|
|
257
280
|
}
|
|
258
281
|
/**
|
|
259
282
|
* `nodes.runAndWait` polled past its `maxMs` deadline without the job reaching
|
|
260
|
-
* a terminal status.
|
|
283
|
+
* a terminal status. Time the job spent `queued` (waiting for a free slot)
|
|
284
|
+
* does not count toward the deadline. Not an HTTP error — `status` is 0; catch
|
|
285
|
+
* by type/`code`.
|
|
261
286
|
*/
|
|
262
287
|
declare class JobTimeoutError extends NodaroError {
|
|
263
288
|
readonly jobId: string;
|
|
@@ -408,4 +433,4 @@ interface ApiErrorBody {
|
|
|
408
433
|
}
|
|
409
434
|
declare function throwFromResponse(status: number, body: ApiErrorBody): never;
|
|
410
435
|
|
|
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 };
|
|
436
|
+
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 };
|
package/dist/entries/errors.d.ts
CHANGED
|
@@ -47,6 +47,29 @@ 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";
|
|
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, 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.
|
|
57
|
+
*/
|
|
58
|
+
declare const IMPORT_REFUSAL_CODES: ReadonlySet<ImportRefusalCode>;
|
|
59
|
+
/**
|
|
60
|
+
* HTTP 403 refusing an IMPORT OF A LINK (`media.downloadVideo`,
|
|
61
|
+
* `uploads.importUrl`, the audio imports): the content rights check or the
|
|
62
|
+
* site's policy said no, before anything was fetched. A
|
|
63
|
+
* {@link ForbiddenError}, so existing catches keep working; `code` is the
|
|
64
|
+
* server's own code and says which. The remedy for a `rights_confirmation_*`
|
|
65
|
+
* 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
|
+
*/
|
|
69
|
+
declare class ImportRefusedError extends ForbiddenError {
|
|
70
|
+
readonly code: ImportRefusalCode;
|
|
71
|
+
constructor(code: ImportRefusalCode, message?: string);
|
|
72
|
+
}
|
|
50
73
|
declare class NotFoundError extends NodaroError {
|
|
51
74
|
constructor(message?: string);
|
|
52
75
|
}
|
|
@@ -257,7 +280,9 @@ declare class JobFailedError extends NodaroError {
|
|
|
257
280
|
}
|
|
258
281
|
/**
|
|
259
282
|
* `nodes.runAndWait` polled past its `maxMs` deadline without the job reaching
|
|
260
|
-
* a terminal status.
|
|
283
|
+
* a terminal status. Time the job spent `queued` (waiting for a free slot)
|
|
284
|
+
* does not count toward the deadline. Not an HTTP error — `status` is 0; catch
|
|
285
|
+
* by type/`code`.
|
|
261
286
|
*/
|
|
262
287
|
declare class JobTimeoutError extends NodaroError {
|
|
263
288
|
readonly jobId: string;
|
|
@@ -408,4 +433,4 @@ interface ApiErrorBody {
|
|
|
408
433
|
}
|
|
409
434
|
declare function throwFromResponse(status: number, body: ApiErrorBody): never;
|
|
410
435
|
|
|
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 };
|
|
436
|
+
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 };
|
package/dist/entries/errors.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../chunk-CJFIOVBA.js';
|
|
2
|
-
export { AlreadyRunningError, AppRunVersionChangedError, CREDIT_CAP_CODES, ContinuationPreviewPendingError, ContinuationRefusedError, CreditCapExceededError, ForbiddenError, InsufficientCreditsError, JobAbortedError, JobBlockedError, JobFailedError, JobHeldError, JobTimeoutError, MODEL_UNAVAILABLE_CODES, ModelUnavailableError, NodaroError, NotFoundError, RateLimitedError, StorageExceededError, StudioOpError, StudioPreviewAppliedError, StudioPreviewUnavailable, UnauthorizedError, WorkflowConflictError, throwFromResponse } from '../chunk-
|
|
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';
|
|
3
3
|
//# sourceMappingURL=errors.js.map
|
|
4
4
|
//# sourceMappingURL=errors.js.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-YOJ2XNQX.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkVUTNNRDW_cjs = require('../chunk-VUTNNRDW.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "ExecutionsResource", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkVUTNNRDW_cjs.ExecutionsResource; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "OUTPUT_BEARING_NODE_STATUSES", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkVUTNNRDW_cjs.OUTPUT_BEARING_NODE_STATUSES; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "nodeStateMayCarryOutput", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkVUTNNRDW_cjs.nodeStateMayCarryOutput; }
|
|
19
19
|
});
|
|
20
20
|
//# sourceMappingURL=executions.cjs.map
|
|
21
21
|
//# sourceMappingURL=executions.cjs.map
|