@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.
Files changed (71) hide show
  1. package/dist/{chunk-3CVWTUK5.cjs → chunk-3Y5TDB5K.cjs} +4 -4
  2. package/dist/{chunk-3CVWTUK5.cjs.map → chunk-3Y5TDB5K.cjs.map} +1 -1
  3. package/dist/{chunk-2LOTDOUV.cjs → chunk-7PYZCNLH.cjs} +5 -5
  4. package/dist/{chunk-2LOTDOUV.cjs.map → chunk-7PYZCNLH.cjs.map} +1 -1
  5. package/dist/{chunk-FTCAT2LK.js → chunk-ALDXFMD7.js} +3 -3
  6. package/dist/{chunk-FTCAT2LK.js.map → chunk-ALDXFMD7.js.map} +1 -1
  7. package/dist/{chunk-OMJ45CW4.cjs → chunk-DOMNKVKA.cjs} +9 -9
  8. package/dist/{chunk-OMJ45CW4.cjs.map → chunk-DOMNKVKA.cjs.map} +1 -1
  9. package/dist/{chunk-WY4QRJZW.js → chunk-DTYN7QAZ.js} +25 -2
  10. package/dist/chunk-DTYN7QAZ.js.map +1 -0
  11. package/dist/{chunk-PQ6G5EM7.js → chunk-EDSODRRY.js} +9 -9
  12. package/dist/{chunk-PQ6G5EM7.js.map → chunk-EDSODRRY.js.map} +1 -1
  13. package/dist/{chunk-DFT4LD2H.cjs → chunk-GDUEOKBF.cjs} +4 -4
  14. package/dist/{chunk-DFT4LD2H.cjs.map → chunk-GDUEOKBF.cjs.map} +1 -1
  15. package/dist/{chunk-Z4B4SZ33.cjs → chunk-GSE7SB3I.cjs} +6 -4
  16. package/dist/chunk-GSE7SB3I.cjs.map +1 -0
  17. package/dist/{chunk-Q7W4QNE5.cjs → chunk-GWTKYJJO.cjs} +22 -22
  18. package/dist/{chunk-Q7W4QNE5.cjs.map → chunk-GWTKYJJO.cjs.map} +1 -1
  19. package/dist/{chunk-4VP2GFIZ.js → chunk-JJMQ2EVL.js} +6 -4
  20. package/dist/chunk-JJMQ2EVL.js.map +1 -0
  21. package/dist/{chunk-RIMDKJSQ.cjs → chunk-JX3GYLV3.cjs} +16 -16
  22. package/dist/{chunk-RIMDKJSQ.cjs.map → chunk-JX3GYLV3.cjs.map} +1 -1
  23. package/dist/{chunk-Q4MFQC2J.cjs → chunk-KU3UITCU.cjs} +5 -5
  24. package/dist/{chunk-Q4MFQC2J.cjs.map → chunk-KU3UITCU.cjs.map} +1 -1
  25. package/dist/{chunk-E6X6BGRO.js → chunk-MUHRK4OI.js} +3 -3
  26. package/dist/{chunk-E6X6BGRO.js.map → chunk-MUHRK4OI.js.map} +1 -1
  27. package/dist/{chunk-VEQLP5TA.js → chunk-ND7JMM5H.js} +3 -3
  28. package/dist/{chunk-VEQLP5TA.js.map → chunk-ND7JMM5H.js.map} +1 -1
  29. package/dist/{chunk-JTOEHQQJ.cjs → chunk-NOZWIS7M.cjs} +25 -2
  30. package/dist/chunk-NOZWIS7M.cjs.map +1 -0
  31. package/dist/{chunk-HK6XP5EN.js → chunk-RCD4HDBI.js} +3 -3
  32. package/dist/{chunk-HK6XP5EN.js.map → chunk-RCD4HDBI.js.map} +1 -1
  33. package/dist/{chunk-37LL6BPM.js → chunk-SOR6K3XZ.js} +4 -4
  34. package/dist/{chunk-37LL6BPM.js.map → chunk-SOR6K3XZ.js.map} +1 -1
  35. package/dist/{chunk-4WOT5OAY.cjs → chunk-TSM3S2QS.cjs} +5 -5
  36. package/dist/{chunk-4WOT5OAY.cjs.map → chunk-TSM3S2QS.cjs.map} +1 -1
  37. package/dist/{chunk-BGOZRZHY.js → chunk-VTL4DBX4.js} +3 -3
  38. package/dist/{chunk-BGOZRZHY.js.map → chunk-VTL4DBX4.js.map} +1 -1
  39. package/dist/{chunk-4FSWJTRS.js → chunk-YYMX3VN7.js} +3 -3
  40. package/dist/{chunk-4FSWJTRS.js.map → chunk-YYMX3VN7.js.map} +1 -1
  41. package/dist/entries/client.cjs +15 -15
  42. package/dist/entries/client.js +10 -10
  43. package/dist/entries/copilot.cjs +4 -4
  44. package/dist/entries/copilot.js +3 -3
  45. package/dist/entries/core.cjs +6 -6
  46. package/dist/entries/core.js +2 -2
  47. package/dist/entries/edit.cjs +7 -7
  48. package/dist/entries/edit.js +2 -2
  49. package/dist/entries/errors.cjs +26 -26
  50. package/dist/entries/errors.d.cts +12 -1
  51. package/dist/entries/errors.d.ts +12 -1
  52. package/dist/entries/errors.js +1 -1
  53. package/dist/entries/media.cjs +4 -4
  54. package/dist/entries/media.js +3 -3
  55. package/dist/entries/nodes.cjs +3 -3
  56. package/dist/entries/nodes.js +2 -2
  57. package/dist/entries/studio.cjs +5 -5
  58. package/dist/entries/studio.js +2 -2
  59. package/dist/entries/uploads.cjs +2 -2
  60. package/dist/entries/uploads.d.cts +41 -1
  61. package/dist/entries/uploads.d.ts +41 -1
  62. package/dist/entries/uploads.js +1 -1
  63. package/dist/index.cjs +53 -53
  64. package/dist/index.d.cts +1 -1
  65. package/dist/index.d.ts +1 -1
  66. package/dist/index.js +10 -10
  67. package/package.json +1 -1
  68. package/dist/chunk-4VP2GFIZ.js.map +0 -1
  69. package/dist/chunk-JTOEHQQJ.cjs.map +0 -1
  70. package/dist/chunk-WY4QRJZW.js.map +0 -1
  71. package/dist/chunk-Z4B4SZ33.cjs.map +0 -1
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkRIMDKJSQ_cjs = require('../chunk-RIMDKJSQ.cjs');
3
+ var chunkJX3GYLV3_cjs = require('../chunk-JX3GYLV3.cjs');
4
4
  require('../chunk-KMNSPC72.cjs');
5
- require('../chunk-JTOEHQQJ.cjs');
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-4WOT5OAY.cjs');
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-3CVWTUK5.cjs');
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-Q7W4QNE5.cjs');
33
+ require('../chunk-GWTKYJJO.cjs');
34
34
  require('../chunk-GVIFLUYZ.cjs');
35
35
  require('../chunk-57GANTLV.cjs');
36
- require('../chunk-OMJ45CW4.cjs');
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-DFT4LD2H.cjs');
47
- require('../chunk-Q4MFQC2J.cjs');
48
- var chunk2LOTDOUV_cjs = require('../chunk-2LOTDOUV.cjs');
49
- require('../chunk-Z4B4SZ33.cjs');
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 chunkRIMDKJSQ_cjs.NodaroClient; }
64
+ get: function () { return chunkJX3GYLV3_cjs.NodaroClient; }
65
65
  });
66
66
  Object.defineProperty(exports, "createClient", {
67
67
  enumerable: true,
68
- get: function () { return chunkRIMDKJSQ_cjs.createClient; }
68
+ get: function () { return chunkJX3GYLV3_cjs.createClient; }
69
69
  });
70
70
  Object.defineProperty(exports, "CallbackAuth", {
71
71
  enumerable: true,
72
- get: function () { return chunk2LOTDOUV_cjs.CallbackAuth; }
72
+ get: function () { return chunk7PYZCNLH_cjs.CallbackAuth; }
73
73
  });
74
74
  Object.defineProperty(exports, "StaticTokenAuth", {
75
75
  enumerable: true,
76
- get: function () { return chunk2LOTDOUV_cjs.StaticTokenAuth; }
76
+ get: function () { return chunk7PYZCNLH_cjs.StaticTokenAuth; }
77
77
  });
78
78
  Object.defineProperty(exports, "supabaseAuth", {
79
79
  enumerable: true,
80
- get: function () { return chunk2LOTDOUV_cjs.supabaseAuth; }
80
+ get: function () { return chunk7PYZCNLH_cjs.supabaseAuth; }
81
81
  });
82
82
  //# sourceMappingURL=client.cjs.map
83
83
  //# sourceMappingURL=client.cjs.map
@@ -1,6 +1,6 @@
1
- export { NodaroClient, createClient } from '../chunk-PQ6G5EM7.js';
1
+ export { NodaroClient, createClient } from '../chunk-EDSODRRY.js';
2
2
  import '../chunk-HPXE3NZW.js';
3
- import '../chunk-WY4QRJZW.js';
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-BGOZRZHY.js';
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-VEQLP5TA.js';
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-FTCAT2LK.js';
31
+ import '../chunk-ALDXFMD7.js';
32
32
  import '../chunk-Z7LGWNI7.js';
33
33
  import '../chunk-GIQDM2MH.js';
34
- import '../chunk-E6X6BGRO.js';
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-HK6XP5EN.js';
45
- import '../chunk-4FSWJTRS.js';
46
- export { CallbackAuth, StaticTokenAuth, supabaseAuth } from '../chunk-37LL6BPM.js';
47
- import '../chunk-4VP2GFIZ.js';
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';
@@ -1,15 +1,15 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-W33CKW6Q.cjs');
4
- var chunkDFT4LD2H_cjs = require('../chunk-DFT4LD2H.cjs');
5
- require('../chunk-Q4MFQC2J.cjs');
6
- require('../chunk-Z4B4SZ33.cjs');
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 chunkDFT4LD2H_cjs.CopilotResource; }
12
+ get: function () { return chunkGDUEOKBF_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-HK6XP5EN.js';
3
- import '../chunk-4FSWJTRS.js';
4
- import '../chunk-4VP2GFIZ.js';
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
@@ -1,26 +1,26 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-X7XP5WBP.cjs');
4
- var chunk2LOTDOUV_cjs = require('../chunk-2LOTDOUV.cjs');
5
- require('../chunk-Z4B4SZ33.cjs');
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 chunk2LOTDOUV_cjs.CallbackAuth; }
11
+ get: function () { return chunk7PYZCNLH_cjs.CallbackAuth; }
12
12
  });
13
13
  Object.defineProperty(exports, "NodaroClientCore", {
14
14
  enumerable: true,
15
- get: function () { return chunk2LOTDOUV_cjs.NodaroClientCore; }
15
+ get: function () { return chunk7PYZCNLH_cjs.NodaroClientCore; }
16
16
  });
17
17
  Object.defineProperty(exports, "StaticTokenAuth", {
18
18
  enumerable: true,
19
- get: function () { return chunk2LOTDOUV_cjs.StaticTokenAuth; }
19
+ get: function () { return chunk7PYZCNLH_cjs.StaticTokenAuth; }
20
20
  });
21
21
  Object.defineProperty(exports, "supabaseAuth", {
22
22
  enumerable: true,
23
- get: function () { return chunk2LOTDOUV_cjs.supabaseAuth; }
23
+ get: function () { return chunk7PYZCNLH_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-37LL6BPM.js';
3
- import '../chunk-4VP2GFIZ.js';
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
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var chunk6T54F65Q_cjs = require('../chunk-6T54F65Q.cjs');
4
- var chunkOMJ45CW4_cjs = require('../chunk-OMJ45CW4.cjs');
5
- require('../chunk-Z4B4SZ33.cjs');
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 chunkOMJ45CW4_cjs.CLIP_PACK_MAX_TARGET_SEC; }
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 chunkOMJ45CW4_cjs.CLIP_PACK_MIN_TARGET_SEC; }
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 chunkOMJ45CW4_cjs.EditResource; }
23
+ get: function () { return chunkDOMNKVKA_cjs.EditResource; }
24
24
  });
25
25
  Object.defineProperty(exports, "TRAILER_FORMATS", {
26
26
  enumerable: true,
27
- get: function () { return chunkOMJ45CW4_cjs.TRAILER_FORMATS; }
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 chunkOMJ45CW4_cjs.USE_CASE_NODE_TYPES; }
31
+ get: function () { return chunkDOMNKVKA_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-E6X6BGRO.js';
3
- import '../chunk-4VP2GFIZ.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';
4
4
  //# sourceMappingURL=edit.js.map
5
5
  //# sourceMappingURL=edit.js.map
@@ -1,109 +1,109 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-A2ZAFAWC.cjs');
4
- var chunkZ4B4SZ33_cjs = require('../chunk-Z4B4SZ33.cjs');
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 chunkZ4B4SZ33_cjs.AlreadyRunningError; }
10
+ get: function () { return chunkGSE7SB3I_cjs.AlreadyRunningError; }
11
11
  });
12
12
  Object.defineProperty(exports, "AppRunVersionChangedError", {
13
13
  enumerable: true,
14
- get: function () { return chunkZ4B4SZ33_cjs.AppRunVersionChangedError; }
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 chunkZ4B4SZ33_cjs.CREDIT_CAP_CODES; }
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 chunkZ4B4SZ33_cjs.ContinuationPreviewPendingError; }
22
+ get: function () { return chunkGSE7SB3I_cjs.ContinuationPreviewPendingError; }
23
23
  });
24
24
  Object.defineProperty(exports, "ContinuationRefusedError", {
25
25
  enumerable: true,
26
- get: function () { return chunkZ4B4SZ33_cjs.ContinuationRefusedError; }
26
+ get: function () { return chunkGSE7SB3I_cjs.ContinuationRefusedError; }
27
27
  });
28
28
  Object.defineProperty(exports, "CreditCapExceededError", {
29
29
  enumerable: true,
30
- get: function () { return chunkZ4B4SZ33_cjs.CreditCapExceededError; }
30
+ get: function () { return chunkGSE7SB3I_cjs.CreditCapExceededError; }
31
31
  });
32
32
  Object.defineProperty(exports, "ForbiddenError", {
33
33
  enumerable: true,
34
- get: function () { return chunkZ4B4SZ33_cjs.ForbiddenError; }
34
+ get: function () { return chunkGSE7SB3I_cjs.ForbiddenError; }
35
35
  });
36
36
  Object.defineProperty(exports, "InsufficientCreditsError", {
37
37
  enumerable: true,
38
- get: function () { return chunkZ4B4SZ33_cjs.InsufficientCreditsError; }
38
+ get: function () { return chunkGSE7SB3I_cjs.InsufficientCreditsError; }
39
39
  });
40
40
  Object.defineProperty(exports, "JobAbortedError", {
41
41
  enumerable: true,
42
- get: function () { return chunkZ4B4SZ33_cjs.JobAbortedError; }
42
+ get: function () { return chunkGSE7SB3I_cjs.JobAbortedError; }
43
43
  });
44
44
  Object.defineProperty(exports, "JobBlockedError", {
45
45
  enumerable: true,
46
- get: function () { return chunkZ4B4SZ33_cjs.JobBlockedError; }
46
+ get: function () { return chunkGSE7SB3I_cjs.JobBlockedError; }
47
47
  });
48
48
  Object.defineProperty(exports, "JobFailedError", {
49
49
  enumerable: true,
50
- get: function () { return chunkZ4B4SZ33_cjs.JobFailedError; }
50
+ get: function () { return chunkGSE7SB3I_cjs.JobFailedError; }
51
51
  });
52
52
  Object.defineProperty(exports, "JobHeldError", {
53
53
  enumerable: true,
54
- get: function () { return chunkZ4B4SZ33_cjs.JobHeldError; }
54
+ get: function () { return chunkGSE7SB3I_cjs.JobHeldError; }
55
55
  });
56
56
  Object.defineProperty(exports, "JobTimeoutError", {
57
57
  enumerable: true,
58
- get: function () { return chunkZ4B4SZ33_cjs.JobTimeoutError; }
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 chunkZ4B4SZ33_cjs.MODEL_UNAVAILABLE_CODES; }
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 chunkZ4B4SZ33_cjs.ModelUnavailableError; }
66
+ get: function () { return chunkGSE7SB3I_cjs.ModelUnavailableError; }
67
67
  });
68
68
  Object.defineProperty(exports, "NodaroError", {
69
69
  enumerable: true,
70
- get: function () { return chunkZ4B4SZ33_cjs.NodaroError; }
70
+ get: function () { return chunkGSE7SB3I_cjs.NodaroError; }
71
71
  });
72
72
  Object.defineProperty(exports, "NotFoundError", {
73
73
  enumerable: true,
74
- get: function () { return chunkZ4B4SZ33_cjs.NotFoundError; }
74
+ get: function () { return chunkGSE7SB3I_cjs.NotFoundError; }
75
75
  });
76
76
  Object.defineProperty(exports, "RateLimitedError", {
77
77
  enumerable: true,
78
- get: function () { return chunkZ4B4SZ33_cjs.RateLimitedError; }
78
+ get: function () { return chunkGSE7SB3I_cjs.RateLimitedError; }
79
79
  });
80
80
  Object.defineProperty(exports, "StorageExceededError", {
81
81
  enumerable: true,
82
- get: function () { return chunkZ4B4SZ33_cjs.StorageExceededError; }
82
+ get: function () { return chunkGSE7SB3I_cjs.StorageExceededError; }
83
83
  });
84
84
  Object.defineProperty(exports, "StudioOpError", {
85
85
  enumerable: true,
86
- get: function () { return chunkZ4B4SZ33_cjs.StudioOpError; }
86
+ get: function () { return chunkGSE7SB3I_cjs.StudioOpError; }
87
87
  });
88
88
  Object.defineProperty(exports, "StudioPreviewAppliedError", {
89
89
  enumerable: true,
90
- get: function () { return chunkZ4B4SZ33_cjs.StudioPreviewAppliedError; }
90
+ get: function () { return chunkGSE7SB3I_cjs.StudioPreviewAppliedError; }
91
91
  });
92
92
  Object.defineProperty(exports, "StudioPreviewUnavailable", {
93
93
  enumerable: true,
94
- get: function () { return chunkZ4B4SZ33_cjs.StudioPreviewUnavailable; }
94
+ get: function () { return chunkGSE7SB3I_cjs.StudioPreviewUnavailable; }
95
95
  });
96
96
  Object.defineProperty(exports, "UnauthorizedError", {
97
97
  enumerable: true,
98
- get: function () { return chunkZ4B4SZ33_cjs.UnauthorizedError; }
98
+ get: function () { return chunkGSE7SB3I_cjs.UnauthorizedError; }
99
99
  });
100
100
  Object.defineProperty(exports, "WorkflowConflictError", {
101
101
  enumerable: true,
102
- get: function () { return chunkZ4B4SZ33_cjs.WorkflowConflictError; }
102
+ get: function () { return chunkGSE7SB3I_cjs.WorkflowConflictError; }
103
103
  });
104
104
  Object.defineProperty(exports, "throwFromResponse", {
105
105
  enumerable: true,
106
- get: function () { return chunkZ4B4SZ33_cjs.throwFromResponse; }
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
- constructor(message?: string, limitBytes?: number | undefined);
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
@@ -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
- constructor(message?: string, limitBytes?: number | undefined);
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
@@ -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-4VP2GFIZ.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-JJMQ2EVL.js';
3
3
  //# sourceMappingURL=errors.js.map
4
4
  //# sourceMappingURL=errors.js.map
@@ -1,15 +1,15 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-RHETJOUM.cjs');
4
- var chunk3CVWTUK5_cjs = require('../chunk-3CVWTUK5.cjs');
5
- require('../chunk-Q4MFQC2J.cjs');
6
- require('../chunk-Z4B4SZ33.cjs');
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 chunk3CVWTUK5_cjs.MediaResource; }
12
+ get: function () { return chunk3Y5TDB5K_cjs.MediaResource; }
13
13
  });
14
14
  //# sourceMappingURL=media.cjs.map
15
15
  //# sourceMappingURL=media.cjs.map
@@ -1,6 +1,6 @@
1
1
  import '../chunk-ES2E65HT.js';
2
- export { MediaResource } from '../chunk-VEQLP5TA.js';
3
- import '../chunk-4FSWJTRS.js';
4
- import '../chunk-4VP2GFIZ.js';
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
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var chunk7CK6I4CT_cjs = require('../chunk-7CK6I4CT.cjs');
4
- var chunkQ7W4QNE5_cjs = require('../chunk-Q7W4QNE5.cjs');
5
- require('../chunk-Z4B4SZ33.cjs');
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 chunkQ7W4QNE5_cjs.NodesResource; }
19
+ get: function () { return chunkGWTKYJJO_cjs.NodesResource; }
20
20
  });
21
21
  //# sourceMappingURL=nodes.cjs.map
22
22
  //# sourceMappingURL=nodes.cjs.map
@@ -1,5 +1,5 @@
1
1
  export { PROMPT_PREFIX_KEY, PROMPT_SUFFIX_KEY } from '../chunk-ZYPH2FPT.js';
2
- export { NodesResource } from '../chunk-FTCAT2LK.js';
3
- import '../chunk-4VP2GFIZ.js';
2
+ export { NodesResource } from '../chunk-ALDXFMD7.js';
3
+ import '../chunk-JJMQ2EVL.js';
4
4
  //# sourceMappingURL=nodes.js.map
5
5
  //# sourceMappingURL=nodes.js.map
@@ -1,22 +1,22 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-ZJGFLJ2Z.cjs');
4
- var chunk4WOT5OAY_cjs = require('../chunk-4WOT5OAY.cjs');
5
- require('../chunk-Z4B4SZ33.cjs');
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 chunk4WOT5OAY_cjs.StudioProductionsResource; }
11
+ get: function () { return chunkTSM3S2QS_cjs.StudioProductionsResource; }
12
12
  });
13
13
  Object.defineProperty(exports, "StudioResource", {
14
14
  enumerable: true,
15
- get: function () { return chunk4WOT5OAY_cjs.StudioResource; }
15
+ get: function () { return chunkTSM3S2QS_cjs.StudioResource; }
16
16
  });
17
17
  Object.defineProperty(exports, "isStudioGenerateEstimate", {
18
18
  enumerable: true,
19
- get: function () { return chunk4WOT5OAY_cjs.isStudioGenerateEstimate; }
19
+ get: function () { return chunkTSM3S2QS_cjs.isStudioGenerateEstimate; }
20
20
  });
21
21
  //# sourceMappingURL=studio.cjs.map
22
22
  //# sourceMappingURL=studio.cjs.map
@@ -1,5 +1,5 @@
1
1
  import '../chunk-PMTM26LL.js';
2
- export { StudioProductionsResource, StudioResource, isStudioGenerateEstimate } from '../chunk-BGOZRZHY.js';
3
- import '../chunk-4VP2GFIZ.js';
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
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  require('../chunk-ZE5RISBZ.cjs');
4
- var chunkJTOEHQQJ_cjs = require('../chunk-JTOEHQQJ.cjs');
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 chunkJTOEHQQJ_cjs.UploadsResource; }
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 };