@nodaro/sdk 2.56.0 → 2.57.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-3CVWTUK5.cjs → chunk-3Y5TDB5K.cjs} +4 -4
- package/dist/{chunk-3CVWTUK5.cjs.map → chunk-3Y5TDB5K.cjs.map} +1 -1
- package/dist/{chunk-2LOTDOUV.cjs → chunk-7PYZCNLH.cjs} +5 -5
- package/dist/{chunk-2LOTDOUV.cjs.map → chunk-7PYZCNLH.cjs.map} +1 -1
- package/dist/{chunk-FTCAT2LK.js → chunk-ALDXFMD7.js} +3 -3
- package/dist/{chunk-FTCAT2LK.js.map → chunk-ALDXFMD7.js.map} +1 -1
- package/dist/{chunk-OMJ45CW4.cjs → chunk-DOMNKVKA.cjs} +9 -9
- package/dist/{chunk-OMJ45CW4.cjs.map → chunk-DOMNKVKA.cjs.map} +1 -1
- package/dist/{chunk-WY4QRJZW.js → chunk-DTYN7QAZ.js} +25 -2
- package/dist/chunk-DTYN7QAZ.js.map +1 -0
- package/dist/{chunk-PQ6G5EM7.js → chunk-EDSODRRY.js} +9 -9
- package/dist/{chunk-PQ6G5EM7.js.map → chunk-EDSODRRY.js.map} +1 -1
- package/dist/{chunk-DFT4LD2H.cjs → chunk-GDUEOKBF.cjs} +4 -4
- package/dist/{chunk-DFT4LD2H.cjs.map → chunk-GDUEOKBF.cjs.map} +1 -1
- package/dist/{chunk-Z4B4SZ33.cjs → chunk-GSE7SB3I.cjs} +6 -4
- package/dist/chunk-GSE7SB3I.cjs.map +1 -0
- package/dist/{chunk-Q7W4QNE5.cjs → chunk-GWTKYJJO.cjs} +22 -22
- package/dist/{chunk-Q7W4QNE5.cjs.map → chunk-GWTKYJJO.cjs.map} +1 -1
- package/dist/{chunk-4VP2GFIZ.js → chunk-JJMQ2EVL.js} +6 -4
- package/dist/chunk-JJMQ2EVL.js.map +1 -0
- package/dist/{chunk-RIMDKJSQ.cjs → chunk-JX3GYLV3.cjs} +16 -16
- package/dist/{chunk-RIMDKJSQ.cjs.map → chunk-JX3GYLV3.cjs.map} +1 -1
- package/dist/{chunk-Q4MFQC2J.cjs → chunk-KU3UITCU.cjs} +5 -5
- package/dist/{chunk-Q4MFQC2J.cjs.map → chunk-KU3UITCU.cjs.map} +1 -1
- package/dist/{chunk-E6X6BGRO.js → chunk-MUHRK4OI.js} +3 -3
- package/dist/{chunk-E6X6BGRO.js.map → chunk-MUHRK4OI.js.map} +1 -1
- package/dist/{chunk-VEQLP5TA.js → chunk-ND7JMM5H.js} +3 -3
- package/dist/{chunk-VEQLP5TA.js.map → chunk-ND7JMM5H.js.map} +1 -1
- package/dist/{chunk-JTOEHQQJ.cjs → chunk-NOZWIS7M.cjs} +25 -2
- package/dist/chunk-NOZWIS7M.cjs.map +1 -0
- package/dist/{chunk-HK6XP5EN.js → chunk-RCD4HDBI.js} +3 -3
- package/dist/{chunk-HK6XP5EN.js.map → chunk-RCD4HDBI.js.map} +1 -1
- package/dist/{chunk-37LL6BPM.js → chunk-SOR6K3XZ.js} +4 -4
- package/dist/{chunk-37LL6BPM.js.map → chunk-SOR6K3XZ.js.map} +1 -1
- package/dist/{chunk-4WOT5OAY.cjs → chunk-TSM3S2QS.cjs} +5 -5
- package/dist/{chunk-4WOT5OAY.cjs.map → chunk-TSM3S2QS.cjs.map} +1 -1
- package/dist/{chunk-BGOZRZHY.js → chunk-VTL4DBX4.js} +3 -3
- package/dist/{chunk-BGOZRZHY.js.map → chunk-VTL4DBX4.js.map} +1 -1
- package/dist/{chunk-4FSWJTRS.js → chunk-YYMX3VN7.js} +3 -3
- package/dist/{chunk-4FSWJTRS.js.map → chunk-YYMX3VN7.js.map} +1 -1
- package/dist/entries/client.cjs +15 -15
- package/dist/entries/client.js +10 -10
- 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/edit.cjs +7 -7
- package/dist/entries/edit.js +2 -2
- package/dist/entries/errors.cjs +26 -26
- package/dist/entries/errors.d.cts +12 -1
- package/dist/entries/errors.d.ts +12 -1
- package/dist/entries/errors.js +1 -1
- package/dist/entries/media.cjs +4 -4
- package/dist/entries/media.js +3 -3
- package/dist/entries/nodes.cjs +3 -3
- package/dist/entries/nodes.js +2 -2
- package/dist/entries/studio.cjs +5 -5
- package/dist/entries/studio.js +2 -2
- package/dist/entries/uploads.cjs +2 -2
- package/dist/entries/uploads.d.cts +41 -1
- package/dist/entries/uploads.d.ts +41 -1
- package/dist/entries/uploads.js +1 -1
- package/dist/index.cjs +53 -53
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +10 -10
- package/package.json +1 -1
- package/dist/chunk-4VP2GFIZ.js.map +0 -1
- package/dist/chunk-JTOEHQQJ.cjs.map +0 -1
- package/dist/chunk-WY4QRJZW.js.map +0 -1
- package/dist/chunk-Z4B4SZ33.cjs.map +0 -1
package/dist/entries/client.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkJX3GYLV3_cjs = require('../chunk-JX3GYLV3.cjs');
|
|
4
4
|
require('../chunk-KMNSPC72.cjs');
|
|
5
|
-
require('../chunk-
|
|
5
|
+
require('../chunk-NOZWIS7M.cjs');
|
|
6
6
|
require('../chunk-UIDVH3GP.cjs');
|
|
7
7
|
require('../chunk-W5VHATSR.cjs');
|
|
8
8
|
require('../chunk-R63TTR35.cjs');
|
|
@@ -13,7 +13,7 @@ require('../chunk-SYVNY3AH.cjs');
|
|
|
13
13
|
require('../chunk-YDRXBRW2.cjs');
|
|
14
14
|
require('../chunk-WMT7HEBZ.cjs');
|
|
15
15
|
require('../chunk-MBFUMWI5.cjs');
|
|
16
|
-
require('../chunk-
|
|
16
|
+
require('../chunk-TSM3S2QS.cjs');
|
|
17
17
|
require('../chunk-UIBYZNDR.cjs');
|
|
18
18
|
require('../chunk-LTZKNAXM.cjs');
|
|
19
19
|
require('../chunk-PDX742CC.cjs');
|
|
@@ -26,14 +26,14 @@ require('../chunk-TCLNSVYA.cjs');
|
|
|
26
26
|
require('../chunk-KXEWTYS4.cjs');
|
|
27
27
|
require('../chunk-GB6C5OEZ.cjs');
|
|
28
28
|
require('../chunk-MIXRL6I2.cjs');
|
|
29
|
-
require('../chunk-
|
|
29
|
+
require('../chunk-3Y5TDB5K.cjs');
|
|
30
30
|
require('../chunk-7QOCWJKD.cjs');
|
|
31
31
|
require('../chunk-ZCWKX4V6.cjs');
|
|
32
32
|
require('../chunk-Q45PC4YD.cjs');
|
|
33
|
-
require('../chunk-
|
|
33
|
+
require('../chunk-GWTKYJJO.cjs');
|
|
34
34
|
require('../chunk-GVIFLUYZ.cjs');
|
|
35
35
|
require('../chunk-57GANTLV.cjs');
|
|
36
|
-
require('../chunk-
|
|
36
|
+
require('../chunk-DOMNKVKA.cjs');
|
|
37
37
|
require('../chunk-SBV5MWEL.cjs');
|
|
38
38
|
require('../chunk-WUKIJJG2.cjs');
|
|
39
39
|
require('../chunk-2KX5ZE6M.cjs');
|
|
@@ -43,10 +43,10 @@ require('../chunk-SS3B6PHT.cjs');
|
|
|
43
43
|
require('../chunk-WK4VXPPZ.cjs');
|
|
44
44
|
require('../chunk-43FVH6LJ.cjs');
|
|
45
45
|
require('../chunk-YFS2LMG4.cjs');
|
|
46
|
-
require('../chunk-
|
|
47
|
-
require('../chunk-
|
|
48
|
-
var
|
|
49
|
-
require('../chunk-
|
|
46
|
+
require('../chunk-GDUEOKBF.cjs');
|
|
47
|
+
require('../chunk-KU3UITCU.cjs');
|
|
48
|
+
var chunk7PYZCNLH_cjs = require('../chunk-7PYZCNLH.cjs');
|
|
49
|
+
require('../chunk-GSE7SB3I.cjs');
|
|
50
50
|
require('../chunk-A3XA6UNM.cjs');
|
|
51
51
|
require('../chunk-4BAHF762.cjs');
|
|
52
52
|
require('../chunk-A3S55XGF.cjs');
|
|
@@ -61,23 +61,23 @@ require('../chunk-XZQ6Z4T6.cjs');
|
|
|
61
61
|
|
|
62
62
|
Object.defineProperty(exports, "NodaroClient", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkJX3GYLV3_cjs.NodaroClient; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "createClient", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkJX3GYLV3_cjs.createClient; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "CallbackAuth", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunk7PYZCNLH_cjs.CallbackAuth; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "StaticTokenAuth", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunk7PYZCNLH_cjs.StaticTokenAuth; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "supabaseAuth", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunk7PYZCNLH_cjs.supabaseAuth; }
|
|
81
81
|
});
|
|
82
82
|
//# sourceMappingURL=client.cjs.map
|
|
83
83
|
//# sourceMappingURL=client.cjs.map
|
package/dist/entries/client.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { NodaroClient, createClient } from '../chunk-
|
|
1
|
+
export { NodaroClient, createClient } from '../chunk-EDSODRRY.js';
|
|
2
2
|
import '../chunk-HPXE3NZW.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-DTYN7QAZ.js';
|
|
4
4
|
import '../chunk-LR5TGCJP.js';
|
|
5
5
|
import '../chunk-ERLXU47J.js';
|
|
6
6
|
import '../chunk-T7N7DFQJ.js';
|
|
@@ -11,7 +11,7 @@ import '../chunk-NCCBS6GU.js';
|
|
|
11
11
|
import '../chunk-NNHWH7ER.js';
|
|
12
12
|
import '../chunk-WS4ZQ4AA.js';
|
|
13
13
|
import '../chunk-WVFAQBS7.js';
|
|
14
|
-
import '../chunk-
|
|
14
|
+
import '../chunk-VTL4DBX4.js';
|
|
15
15
|
import '../chunk-M7VSFZMV.js';
|
|
16
16
|
import '../chunk-2SQ7V6EX.js';
|
|
17
17
|
import '../chunk-HFYNZ4SO.js';
|
|
@@ -24,14 +24,14 @@ import '../chunk-OIPPTBW4.js';
|
|
|
24
24
|
import '../chunk-AJVSMNPZ.js';
|
|
25
25
|
import '../chunk-IHKIYVZQ.js';
|
|
26
26
|
import '../chunk-XZPSJG2X.js';
|
|
27
|
-
import '../chunk-
|
|
27
|
+
import '../chunk-ND7JMM5H.js';
|
|
28
28
|
import '../chunk-Y6V6CBY5.js';
|
|
29
29
|
import '../chunk-YVU2M7MI.js';
|
|
30
30
|
import '../chunk-AEUPH7EE.js';
|
|
31
|
-
import '../chunk-
|
|
31
|
+
import '../chunk-ALDXFMD7.js';
|
|
32
32
|
import '../chunk-Z7LGWNI7.js';
|
|
33
33
|
import '../chunk-GIQDM2MH.js';
|
|
34
|
-
import '../chunk-
|
|
34
|
+
import '../chunk-MUHRK4OI.js';
|
|
35
35
|
import '../chunk-Z3ZKFI2M.js';
|
|
36
36
|
import '../chunk-JDEZHITT.js';
|
|
37
37
|
import '../chunk-HJLSOT5C.js';
|
|
@@ -41,10 +41,10 @@ import '../chunk-E37CVHWW.js';
|
|
|
41
41
|
import '../chunk-4WRDR4GN.js';
|
|
42
42
|
import '../chunk-SFB4YLCS.js';
|
|
43
43
|
import '../chunk-BU5A6K4C.js';
|
|
44
|
-
import '../chunk-
|
|
45
|
-
import '../chunk-
|
|
46
|
-
export { CallbackAuth, StaticTokenAuth, supabaseAuth } from '../chunk-
|
|
47
|
-
import '../chunk-
|
|
44
|
+
import '../chunk-RCD4HDBI.js';
|
|
45
|
+
import '../chunk-YYMX3VN7.js';
|
|
46
|
+
export { CallbackAuth, StaticTokenAuth, supabaseAuth } from '../chunk-SOR6K3XZ.js';
|
|
47
|
+
import '../chunk-JJMQ2EVL.js';
|
|
48
48
|
import '../chunk-HUYI5G3D.js';
|
|
49
49
|
import '../chunk-7QK2NXJA.js';
|
|
50
50
|
import '../chunk-65E3JBFZ.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 chunkGDUEOKBF_cjs = require('../chunk-GDUEOKBF.cjs');
|
|
5
|
+
require('../chunk-KU3UITCU.cjs');
|
|
6
|
+
require('../chunk-GSE7SB3I.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 chunkGDUEOKBF_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-RCD4HDBI.js';
|
|
3
|
+
import '../chunk-YYMX3VN7.js';
|
|
4
|
+
import '../chunk-JJMQ2EVL.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 chunk7PYZCNLH_cjs = require('../chunk-7PYZCNLH.cjs');
|
|
5
|
+
require('../chunk-GSE7SB3I.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 chunk7PYZCNLH_cjs.CallbackAuth; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "NodaroClientCore", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunk7PYZCNLH_cjs.NodaroClientCore; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "StaticTokenAuth", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunk7PYZCNLH_cjs.StaticTokenAuth; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "supabaseAuth", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunk7PYZCNLH_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-SOR6K3XZ.js';
|
|
3
|
+
import '../chunk-JJMQ2EVL.js';
|
|
4
4
|
//# sourceMappingURL=core.js.map
|
|
5
5
|
//# sourceMappingURL=core.js.map
|
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 chunkDOMNKVKA_cjs = require('../chunk-DOMNKVKA.cjs');
|
|
5
|
+
require('../chunk-GSE7SB3I.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 chunkDOMNKVKA_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 chunkDOMNKVKA_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 chunkDOMNKVKA_cjs.EditResource; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "TRAILER_FORMATS", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkDOMNKVKA_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 chunkDOMNKVKA_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-MUHRK4OI.js';
|
|
3
|
+
import '../chunk-JJMQ2EVL.js';
|
|
4
4
|
//# sourceMappingURL=edit.js.map
|
|
5
5
|
//# sourceMappingURL=edit.js.map
|
package/dist/entries/errors.cjs
CHANGED
|
@@ -1,109 +1,109 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-A2ZAFAWC.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkGSE7SB3I_cjs = require('../chunk-GSE7SB3I.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 chunkGSE7SB3I_cjs.AlreadyRunningError; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "AppRunVersionChangedError", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkGSE7SB3I_cjs.AppRunVersionChangedError; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "CREDIT_CAP_CODES", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkGSE7SB3I_cjs.CREDIT_CAP_CODES; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "ContinuationPreviewPendingError", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkGSE7SB3I_cjs.ContinuationPreviewPendingError; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "ContinuationRefusedError", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkGSE7SB3I_cjs.ContinuationRefusedError; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "CreditCapExceededError", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkGSE7SB3I_cjs.CreditCapExceededError; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "ForbiddenError", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkGSE7SB3I_cjs.ForbiddenError; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "InsufficientCreditsError", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkGSE7SB3I_cjs.InsufficientCreditsError; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "JobAbortedError", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkGSE7SB3I_cjs.JobAbortedError; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "JobBlockedError", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkGSE7SB3I_cjs.JobBlockedError; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "JobFailedError", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkGSE7SB3I_cjs.JobFailedError; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "JobHeldError", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkGSE7SB3I_cjs.JobHeldError; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "JobTimeoutError", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkGSE7SB3I_cjs.JobTimeoutError; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "MODEL_UNAVAILABLE_CODES", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkGSE7SB3I_cjs.MODEL_UNAVAILABLE_CODES; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "ModelUnavailableError", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkGSE7SB3I_cjs.ModelUnavailableError; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "NodaroError", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkGSE7SB3I_cjs.NodaroError; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "NotFoundError", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkGSE7SB3I_cjs.NotFoundError; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "RateLimitedError", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkGSE7SB3I_cjs.RateLimitedError; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "StorageExceededError", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkGSE7SB3I_cjs.StorageExceededError; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "StudioOpError", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkGSE7SB3I_cjs.StudioOpError; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "StudioPreviewAppliedError", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkGSE7SB3I_cjs.StudioPreviewAppliedError; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "StudioPreviewUnavailable", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkGSE7SB3I_cjs.StudioPreviewUnavailable; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "UnauthorizedError", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkGSE7SB3I_cjs.UnauthorizedError; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "WorkflowConflictError", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkGSE7SB3I_cjs.WorkflowConflictError; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "throwFromResponse", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkGSE7SB3I_cjs.throwFromResponse; }
|
|
107
107
|
});
|
|
108
108
|
//# sourceMappingURL=errors.cjs.map
|
|
109
109
|
//# sourceMappingURL=errors.cjs.map
|
|
@@ -86,9 +86,20 @@ declare class CreditCapExceededError extends InsufficientCreditsError {
|
|
|
86
86
|
readonly code: CreditCapCode;
|
|
87
87
|
constructor(code: CreditCapCode, message?: string, required?: number, available?: number);
|
|
88
88
|
}
|
|
89
|
+
/**
|
|
90
|
+
* HTTP 413: what was sent does not fit. `code` is always `storage_exceeded`;
|
|
91
|
+
* `reason` is the platform's own code, when the answer carried one:
|
|
92
|
+
* `storage_limit_exceeded` is a full storage, while `file_too_large` is a
|
|
93
|
+
* single file over the limit, not a full storage (likewise
|
|
94
|
+
* `payload_too_large`, `post_too_large`, `duration_exceeded`).
|
|
95
|
+
*/
|
|
89
96
|
declare class StorageExceededError extends NodaroError {
|
|
90
97
|
readonly limitBytes?: number | undefined;
|
|
91
|
-
|
|
98
|
+
/** The platform's own code for this 413, e.g. `storage_limit_exceeded` or `file_too_large`. */
|
|
99
|
+
readonly reason?: string | undefined;
|
|
100
|
+
constructor(message?: string, limitBytes?: number | undefined,
|
|
101
|
+
/** The platform's own code for this 413, e.g. `storage_limit_exceeded` or `file_too_large`. */
|
|
102
|
+
reason?: string | undefined);
|
|
92
103
|
}
|
|
93
104
|
/**
|
|
94
105
|
* Optimistic-concurrency rejection (HTTP 409 `workflow_conflict`): the workflow
|
package/dist/entries/errors.d.ts
CHANGED
|
@@ -86,9 +86,20 @@ declare class CreditCapExceededError extends InsufficientCreditsError {
|
|
|
86
86
|
readonly code: CreditCapCode;
|
|
87
87
|
constructor(code: CreditCapCode, message?: string, required?: number, available?: number);
|
|
88
88
|
}
|
|
89
|
+
/**
|
|
90
|
+
* HTTP 413: what was sent does not fit. `code` is always `storage_exceeded`;
|
|
91
|
+
* `reason` is the platform's own code, when the answer carried one:
|
|
92
|
+
* `storage_limit_exceeded` is a full storage, while `file_too_large` is a
|
|
93
|
+
* single file over the limit, not a full storage (likewise
|
|
94
|
+
* `payload_too_large`, `post_too_large`, `duration_exceeded`).
|
|
95
|
+
*/
|
|
89
96
|
declare class StorageExceededError extends NodaroError {
|
|
90
97
|
readonly limitBytes?: number | undefined;
|
|
91
|
-
|
|
98
|
+
/** The platform's own code for this 413, e.g. `storage_limit_exceeded` or `file_too_large`. */
|
|
99
|
+
readonly reason?: string | undefined;
|
|
100
|
+
constructor(message?: string, limitBytes?: number | undefined,
|
|
101
|
+
/** The platform's own code for this 413, e.g. `storage_limit_exceeded` or `file_too_large`. */
|
|
102
|
+
reason?: string | undefined);
|
|
92
103
|
}
|
|
93
104
|
/**
|
|
94
105
|
* Optimistic-concurrency rejection (HTTP 409 `workflow_conflict`): the workflow
|
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, InsufficientCreditsError, JobAbortedError, JobBlockedError, JobFailedError, JobHeldError, JobTimeoutError, MODEL_UNAVAILABLE_CODES, ModelUnavailableError, NodaroError, NotFoundError, RateLimitedError, StorageExceededError, StudioOpError, StudioPreviewAppliedError, StudioPreviewUnavailable, UnauthorizedError, WorkflowConflictError, throwFromResponse } from '../chunk-JJMQ2EVL.js';
|
|
3
3
|
//# sourceMappingURL=errors.js.map
|
|
4
4
|
//# sourceMappingURL=errors.js.map
|
package/dist/entries/media.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-RHETJOUM.cjs');
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
4
|
+
var chunk3Y5TDB5K_cjs = require('../chunk-3Y5TDB5K.cjs');
|
|
5
|
+
require('../chunk-KU3UITCU.cjs');
|
|
6
|
+
require('../chunk-GSE7SB3I.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "MediaResource", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunk3Y5TDB5K_cjs.MediaResource; }
|
|
13
13
|
});
|
|
14
14
|
//# sourceMappingURL=media.cjs.map
|
|
15
15
|
//# sourceMappingURL=media.cjs.map
|
package/dist/entries/media.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../chunk-ES2E65HT.js';
|
|
2
|
-
export { MediaResource } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
2
|
+
export { MediaResource } from '../chunk-ND7JMM5H.js';
|
|
3
|
+
import '../chunk-YYMX3VN7.js';
|
|
4
|
+
import '../chunk-JJMQ2EVL.js';
|
|
5
5
|
//# sourceMappingURL=media.js.map
|
|
6
6
|
//# sourceMappingURL=media.js.map
|
package/dist/entries/nodes.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunk7CK6I4CT_cjs = require('../chunk-7CK6I4CT.cjs');
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var chunkGWTKYJJO_cjs = require('../chunk-GWTKYJJO.cjs');
|
|
5
|
+
require('../chunk-GSE7SB3I.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -16,7 +16,7 @@ Object.defineProperty(exports, "PROMPT_SUFFIX_KEY", {
|
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "NodesResource", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkGWTKYJJO_cjs.NodesResource; }
|
|
20
20
|
});
|
|
21
21
|
//# sourceMappingURL=nodes.cjs.map
|
|
22
22
|
//# sourceMappingURL=nodes.cjs.map
|
package/dist/entries/nodes.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY } from '../chunk-ZYPH2FPT.js';
|
|
2
|
-
export { NodesResource } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
2
|
+
export { NodesResource } from '../chunk-ALDXFMD7.js';
|
|
3
|
+
import '../chunk-JJMQ2EVL.js';
|
|
4
4
|
//# sourceMappingURL=nodes.js.map
|
|
5
5
|
//# sourceMappingURL=nodes.js.map
|
package/dist/entries/studio.cjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-ZJGFLJ2Z.cjs');
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var chunkTSM3S2QS_cjs = require('../chunk-TSM3S2QS.cjs');
|
|
5
|
+
require('../chunk-GSE7SB3I.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "StudioProductionsResource", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkTSM3S2QS_cjs.StudioProductionsResource; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "StudioResource", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkTSM3S2QS_cjs.StudioResource; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "isStudioGenerateEstimate", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkTSM3S2QS_cjs.isStudioGenerateEstimate; }
|
|
20
20
|
});
|
|
21
21
|
//# sourceMappingURL=studio.cjs.map
|
|
22
22
|
//# sourceMappingURL=studio.cjs.map
|
package/dist/entries/studio.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../chunk-PMTM26LL.js';
|
|
2
|
-
export { StudioProductionsResource, StudioResource, isStudioGenerateEstimate } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
2
|
+
export { StudioProductionsResource, StudioResource, isStudioGenerateEstimate } from '../chunk-VTL4DBX4.js';
|
|
3
|
+
import '../chunk-JJMQ2EVL.js';
|
|
4
4
|
//# sourceMappingURL=studio.js.map
|
|
5
5
|
//# sourceMappingURL=studio.js.map
|
package/dist/entries/uploads.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-ZE5RISBZ.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkNOZWIS7M_cjs = require('../chunk-NOZWIS7M.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "UploadsResource", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkNOZWIS7M_cjs.UploadsResource; }
|
|
11
11
|
});
|
|
12
12
|
//# sourceMappingURL=uploads.cjs.map
|
|
13
13
|
//# sourceMappingURL=uploads.cjs.map
|
|
@@ -39,6 +39,24 @@ declare class UploadsResource {
|
|
|
39
39
|
* errors on the usual statuses.
|
|
40
40
|
*/
|
|
41
41
|
upload(file: File): Promise<UploadResult>;
|
|
42
|
+
/**
|
|
43
|
+
* Copy a picture from a web address into your storage
|
|
44
|
+
* (`POST /v1/media/import-url`, body `{ url }`). The platform fetches it
|
|
45
|
+
* (http(s) only, never a private address, up to 20 MB), keeps it only if it
|
|
46
|
+
* decodes as an image (JPEG, PNG, WebP, GIF; HEIC/HEIF and AVIF are
|
|
47
|
+
* converted to JPEG or PNG), and stores it as an upload of yours, so its address serves
|
|
48
|
+
* the pixels to the browser (a canvas can read it). Returns the stored
|
|
49
|
+
* picture (unwraps the `{ data }` envelope).
|
|
50
|
+
*
|
|
51
|
+
* Throws `StorageExceededError` on a 413, its `reason` telling the two
|
|
52
|
+
* apart: `storage_limit_exceeded` is a full storage (the quota is in
|
|
53
|
+
* `details` — `usedBytes`, `quotaBytes`, `remainingBytes`, `tier`), and
|
|
54
|
+
* `file_too_large` a picture over 20 MB. Throws a `NodaroError` with `code`
|
|
55
|
+
* `validation_error` (400: not an http(s) address, or not an image) or
|
|
56
|
+
* `fetch_failed` (422: the address could not be reached or answered with an
|
|
57
|
+
* error).
|
|
58
|
+
*/
|
|
59
|
+
importUrl(url: string): Promise<ImportUrlResult>;
|
|
42
60
|
/**
|
|
43
61
|
* Store a JSON document (`POST /v1/upload-json`, up to 25 MB) and get its
|
|
44
62
|
* public URL — e.g. an image editor's design state, passed to
|
|
@@ -53,5 +71,27 @@ interface UploadJsonResult {
|
|
|
53
71
|
/** Public URL of the stored JSON document. */
|
|
54
72
|
readonly url: string;
|
|
55
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* Result of {@link UploadsResource.importUrl}. Mirrors the route's `data`:
|
|
76
|
+
* the fields of {@link UploadResult} it shares, plus the picture's size.
|
|
77
|
+
*/
|
|
78
|
+
interface ImportUrlResult {
|
|
79
|
+
/** Public URL of the stored picture. */
|
|
80
|
+
readonly url: string;
|
|
81
|
+
/** Generated thumbnail URL; `null` when it could not be made. */
|
|
82
|
+
readonly thumbnailUrl: string | null;
|
|
83
|
+
/** Storage row id; `null` when no asset row was written. */
|
|
84
|
+
readonly assetId: string | null;
|
|
85
|
+
/** Final MIME type (a HEIC/HEIF or AVIF source is stored as JPEG or PNG). */
|
|
86
|
+
readonly mimeType: string;
|
|
87
|
+
/** Stored byte size. */
|
|
88
|
+
readonly sizeBytes: number;
|
|
89
|
+
/** Display filename: the address's last path segment, else `imported-<id>.<ext>`. */
|
|
90
|
+
readonly filename: string;
|
|
91
|
+
/** Width in pixels; 0 when it could not be read. */
|
|
92
|
+
readonly width: number;
|
|
93
|
+
/** Height in pixels; 0 when it could not be read. */
|
|
94
|
+
readonly height: number;
|
|
95
|
+
}
|
|
56
96
|
|
|
57
|
-
export { type UploadJsonResult, type UploadResult, UploadsResource };
|
|
97
|
+
export { type ImportUrlResult, type UploadJsonResult, type UploadResult, UploadsResource };
|