@scenario-labs/sdk 2.0.0 → 2.2.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 (269) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/api-promise.d.mts +1 -0
  3. package/api-promise.d.mts.map +1 -1
  4. package/api-promise.d.ts +1 -0
  5. package/api-promise.d.ts.map +1 -1
  6. package/api-promise.mjs +1 -0
  7. package/api-promise.mjs.map +1 -1
  8. package/client.d.mts.map +1 -1
  9. package/client.d.ts.map +1 -1
  10. package/client.mjs.map +1 -1
  11. package/core/api-promise.d.mts.map +1 -1
  12. package/core/api-promise.d.ts.map +1 -1
  13. package/core/api-promise.mjs.map +1 -1
  14. package/core/error.mjs.map +1 -1
  15. package/core/pagination.d.mts.map +1 -1
  16. package/core/pagination.d.ts.map +1 -1
  17. package/core/pagination.mjs.map +1 -1
  18. package/core/resource.d.mts.map +1 -1
  19. package/core/resource.d.ts.map +1 -1
  20. package/core/uploads.d.mts.map +1 -1
  21. package/core/uploads.d.ts.map +1 -1
  22. package/core/uploads.mjs.map +1 -1
  23. package/error.d.mts +1 -0
  24. package/error.d.mts.map +1 -1
  25. package/error.d.ts +1 -0
  26. package/error.d.ts.map +1 -1
  27. package/error.mjs +1 -0
  28. package/error.mjs.map +1 -1
  29. package/index.d.mts +1 -1
  30. package/index.d.mts.map +1 -1
  31. package/index.d.ts +1 -1
  32. package/index.d.ts.map +1 -1
  33. package/index.js +6 -1
  34. package/index.js.map +1 -1
  35. package/index.mjs +1 -1
  36. package/index.mjs.map +1 -1
  37. package/internal/detect-platform.mjs.map +1 -1
  38. package/internal/headers.mjs.map +1 -1
  39. package/internal/parse.d.mts.map +1 -1
  40. package/internal/parse.d.ts.map +1 -1
  41. package/internal/parse.mjs.map +1 -1
  42. package/internal/qs/formats.d.mts.map +1 -1
  43. package/internal/qs/formats.d.ts.map +1 -1
  44. package/internal/qs/index.d.mts +2 -2
  45. package/internal/qs/index.d.mts.map +1 -1
  46. package/internal/qs/index.d.ts +2 -2
  47. package/internal/qs/index.d.ts.map +1 -1
  48. package/internal/qs/index.mjs.map +1 -1
  49. package/internal/qs/stringify.d.mts.map +1 -1
  50. package/internal/qs/stringify.d.ts.map +1 -1
  51. package/internal/qs/stringify.mjs.map +1 -1
  52. package/internal/qs/utils.d.mts.map +1 -1
  53. package/internal/qs/utils.d.ts.map +1 -1
  54. package/internal/qs/utils.mjs.map +1 -1
  55. package/internal/request-options.d.mts.map +1 -1
  56. package/internal/request-options.d.ts.map +1 -1
  57. package/internal/shims.d.mts +6 -0
  58. package/internal/shims.d.mts.map +1 -1
  59. package/internal/shims.d.ts +6 -0
  60. package/internal/shims.d.ts.map +1 -1
  61. package/internal/to-file.d.mts.map +1 -1
  62. package/internal/to-file.d.ts.map +1 -1
  63. package/internal/to-file.mjs.map +1 -1
  64. package/internal/types.d.mts +4 -4
  65. package/internal/types.d.mts.map +1 -1
  66. package/internal/types.d.ts +4 -4
  67. package/internal/types.d.ts.map +1 -1
  68. package/internal/uploads.d.mts.map +1 -1
  69. package/internal/uploads.d.ts.map +1 -1
  70. package/internal/uploads.mjs.map +1 -1
  71. package/internal/utils/base64.mjs.map +1 -1
  72. package/internal/utils/log.d.mts.map +1 -1
  73. package/internal/utils/log.d.ts.map +1 -1
  74. package/internal/utils/log.mjs.map +1 -1
  75. package/internal/utils/path.mjs.map +1 -1
  76. package/internal/utils/query.mjs.map +1 -1
  77. package/internal/utils/values.mjs.map +1 -1
  78. package/internal/utils.d.mts.map +1 -1
  79. package/internal/utils.d.ts.map +1 -1
  80. package/internal/utils.mjs.map +1 -1
  81. package/lib/asset.d.mts.map +1 -1
  82. package/lib/asset.d.ts.map +1 -1
  83. package/lib/asset.mjs.map +1 -1
  84. package/lib/generate.d.mts.map +1 -1
  85. package/lib/generate.d.ts.map +1 -1
  86. package/lib/generate.mjs.map +1 -1
  87. package/lib/job.d.mts.map +1 -1
  88. package/lib/job.d.ts.map +1 -1
  89. package/lib/job.mjs.map +1 -1
  90. package/lib/models.d.mts.map +1 -1
  91. package/lib/models.d.ts.map +1 -1
  92. package/lib/models.mjs.map +1 -1
  93. package/lib/scenario.d.mts.map +1 -1
  94. package/lib/scenario.d.ts.map +1 -1
  95. package/lib/scenario.mjs.map +1 -1
  96. package/lib/upload.d.mts.map +1 -1
  97. package/lib/upload.d.ts.map +1 -1
  98. package/lib/upload.mjs.map +1 -1
  99. package/lib/workflow.d.mts.map +1 -1
  100. package/lib/workflow.d.ts.map +1 -1
  101. package/lib/workflow.mjs.map +1 -1
  102. package/lib/workflow_converter.d.mts +58 -2
  103. package/lib/workflow_converter.d.mts.map +1 -1
  104. package/lib/workflow_converter.d.ts +58 -2
  105. package/lib/workflow_converter.d.ts.map +1 -1
  106. package/lib/workflow_converter.js +350 -35
  107. package/lib/workflow_converter.js.map +1 -1
  108. package/lib/workflow_converter.mjs +345 -35
  109. package/lib/workflow_converter.mjs.map +1 -1
  110. package/lib/workflow_import_validator.d.mts +1 -1
  111. package/lib/workflow_import_validator.d.mts.map +1 -1
  112. package/lib/workflow_import_validator.d.ts +1 -1
  113. package/lib/workflow_import_validator.d.ts.map +1 -1
  114. package/lib/workflow_import_validator.js +1 -0
  115. package/lib/workflow_import_validator.js.map +1 -1
  116. package/lib/workflow_import_validator.mjs +1 -0
  117. package/lib/workflow_import_validator.mjs.map +1 -1
  118. package/package.json +1 -1
  119. package/pagination.d.mts +1 -0
  120. package/pagination.d.mts.map +1 -1
  121. package/pagination.d.ts +1 -0
  122. package/pagination.d.ts.map +1 -1
  123. package/pagination.mjs +1 -0
  124. package/pagination.mjs.map +1 -1
  125. package/resource.d.mts +1 -0
  126. package/resource.d.mts.map +1 -1
  127. package/resource.d.ts +1 -0
  128. package/resource.d.ts.map +1 -1
  129. package/resource.mjs +1 -0
  130. package/resource.mjs.map +1 -1
  131. package/resources/assets/assets.d.mts +289 -135
  132. package/resources/assets/assets.d.mts.map +1 -1
  133. package/resources/assets/assets.d.ts +289 -135
  134. package/resources/assets/assets.d.ts.map +1 -1
  135. package/resources/assets/assets.js.map +1 -1
  136. package/resources/assets/assets.mjs.map +1 -1
  137. package/resources/assets/download.d.mts.map +1 -1
  138. package/resources/assets/download.d.ts.map +1 -1
  139. package/resources/assets/download.mjs.map +1 -1
  140. package/resources/assets/index.d.mts.map +1 -1
  141. package/resources/assets/index.d.ts.map +1 -1
  142. package/resources/assets/index.mjs.map +1 -1
  143. package/resources/assets.d.mts.map +1 -1
  144. package/resources/assets.d.ts.map +1 -1
  145. package/resources/assets.mjs.map +1 -1
  146. package/resources/collections/assets.d.mts.map +1 -1
  147. package/resources/collections/assets.d.ts.map +1 -1
  148. package/resources/collections/assets.mjs.map +1 -1
  149. package/resources/collections/collections.d.mts.map +1 -1
  150. package/resources/collections/collections.d.ts.map +1 -1
  151. package/resources/collections/collections.mjs.map +1 -1
  152. package/resources/collections/index.d.mts.map +1 -1
  153. package/resources/collections/index.d.ts.map +1 -1
  154. package/resources/collections/index.mjs.map +1 -1
  155. package/resources/collections/models.d.mts.map +1 -1
  156. package/resources/collections/models.d.ts.map +1 -1
  157. package/resources/collections/models.mjs.map +1 -1
  158. package/resources/collections.d.mts.map +1 -1
  159. package/resources/collections.d.ts.map +1 -1
  160. package/resources/collections.mjs.map +1 -1
  161. package/resources/generate.d.mts +86 -48
  162. package/resources/generate.d.mts.map +1 -1
  163. package/resources/generate.d.ts +86 -48
  164. package/resources/generate.d.ts.map +1 -1
  165. package/resources/generate.mjs.map +1 -1
  166. package/resources/index.d.mts.map +1 -1
  167. package/resources/index.d.ts.map +1 -1
  168. package/resources/index.mjs.map +1 -1
  169. package/resources/jobs.d.mts +6 -6
  170. package/resources/jobs.d.mts.map +1 -1
  171. package/resources/jobs.d.ts +6 -6
  172. package/resources/jobs.d.ts.map +1 -1
  173. package/resources/jobs.mjs.map +1 -1
  174. package/resources/models/description.d.mts +54 -4
  175. package/resources/models/description.d.mts.map +1 -1
  176. package/resources/models/description.d.ts +54 -4
  177. package/resources/models/description.d.ts.map +1 -1
  178. package/resources/models/description.mjs.map +1 -1
  179. package/resources/models/examples.d.mts +74 -36
  180. package/resources/models/examples.d.mts.map +1 -1
  181. package/resources/models/examples.d.ts +74 -36
  182. package/resources/models/examples.d.ts.map +1 -1
  183. package/resources/models/examples.mjs.map +1 -1
  184. package/resources/models/index.d.mts.map +1 -1
  185. package/resources/models/index.d.ts.map +1 -1
  186. package/resources/models/index.mjs.map +1 -1
  187. package/resources/models/models.d.mts +21 -21
  188. package/resources/models/models.d.mts.map +1 -1
  189. package/resources/models/models.d.ts +21 -21
  190. package/resources/models/models.d.ts.map +1 -1
  191. package/resources/models/models.js.map +1 -1
  192. package/resources/models/models.mjs.map +1 -1
  193. package/resources/models/train.d.mts +8 -8
  194. package/resources/models/train.d.mts.map +1 -1
  195. package/resources/models/train.d.ts +8 -8
  196. package/resources/models/train.d.ts.map +1 -1
  197. package/resources/models/train.mjs.map +1 -1
  198. package/resources/models/training-images.d.mts.map +1 -1
  199. package/resources/models/training-images.d.ts.map +1 -1
  200. package/resources/models/training-images.mjs.map +1 -1
  201. package/resources/models.d.mts.map +1 -1
  202. package/resources/models.d.ts.map +1 -1
  203. package/resources/models.mjs.map +1 -1
  204. package/resources/oscu.d.mts.map +1 -1
  205. package/resources/oscu.d.ts.map +1 -1
  206. package/resources/oscu.mjs.map +1 -1
  207. package/resources/pricing/index.d.mts.map +1 -1
  208. package/resources/pricing/index.d.ts.map +1 -1
  209. package/resources/pricing/index.mjs.map +1 -1
  210. package/resources/pricing/oscu.d.mts.map +1 -1
  211. package/resources/pricing/oscu.d.ts.map +1 -1
  212. package/resources/pricing/oscu.mjs.map +1 -1
  213. package/resources/pricing/pricing.d.mts.map +1 -1
  214. package/resources/pricing/pricing.d.ts.map +1 -1
  215. package/resources/pricing/pricing.mjs.map +1 -1
  216. package/resources/pricing.d.mts.map +1 -1
  217. package/resources/pricing.d.ts.map +1 -1
  218. package/resources/pricing.mjs.map +1 -1
  219. package/resources/search.d.mts +6 -0
  220. package/resources/search.d.mts.map +1 -1
  221. package/resources/search.d.ts +6 -0
  222. package/resources/search.d.ts.map +1 -1
  223. package/resources/search.mjs.map +1 -1
  224. package/resources/tags.d.mts.map +1 -1
  225. package/resources/tags.d.ts.map +1 -1
  226. package/resources/tags.mjs.map +1 -1
  227. package/resources/uploads.d.mts +4 -4
  228. package/resources/uploads.d.mts.map +1 -1
  229. package/resources/uploads.d.ts +4 -4
  230. package/resources/uploads.d.ts.map +1 -1
  231. package/resources/uploads.mjs.map +1 -1
  232. package/resources/usages.d.mts +31 -6
  233. package/resources/usages.d.mts.map +1 -1
  234. package/resources/usages.d.ts +31 -6
  235. package/resources/usages.d.ts.map +1 -1
  236. package/resources/usages.mjs.map +1 -1
  237. package/resources/workflows.d.mts +36 -36
  238. package/resources/workflows.d.mts.map +1 -1
  239. package/resources/workflows.d.ts +36 -36
  240. package/resources/workflows.d.ts.map +1 -1
  241. package/resources/workflows.mjs.map +1 -1
  242. package/resources.d.mts.map +1 -1
  243. package/resources.d.ts.map +1 -1
  244. package/resources.mjs.map +1 -1
  245. package/src/index.ts +9 -0
  246. package/src/lib/workflow_converter.ts +487 -28
  247. package/src/lib/workflow_import_validator.ts +2 -0
  248. package/src/resources/assets/assets.ts +376 -118
  249. package/src/resources/generate.ts +106 -44
  250. package/src/resources/jobs.ts +6 -6
  251. package/src/resources/models/description.ts +68 -2
  252. package/src/resources/models/examples.ts +94 -32
  253. package/src/resources/models/models.ts +21 -14
  254. package/src/resources/models/train.ts +8 -6
  255. package/src/resources/search.ts +7 -0
  256. package/src/resources/uploads.ts +4 -4
  257. package/src/resources/usages.ts +41 -4
  258. package/src/resources/workflows.ts +36 -36
  259. package/src/version.ts +1 -1
  260. package/uploads.d.mts +1 -0
  261. package/uploads.d.mts.map +1 -1
  262. package/uploads.d.ts +1 -0
  263. package/uploads.d.ts.map +1 -1
  264. package/uploads.mjs +1 -0
  265. package/uploads.mjs.map +1 -1
  266. package/version.d.mts +1 -1
  267. package/version.d.ts +1 -1
  268. package/version.js +1 -1
  269. package/version.mjs +1 -1
@@ -222,7 +222,7 @@ export namespace WorkflowCreateResponse {
222
222
  /**
223
223
  * Asset kinds produced by this workflow (if specified).
224
224
  */
225
- outputAssetKinds?: Array<'3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video'>;
225
+ outputAssetKinds?: Array<'3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video'>;
226
226
 
227
227
  /**
228
228
  * Currently the thumbnail is identical to the after asset.
@@ -420,7 +420,7 @@ export namespace WorkflowCreateResponse {
420
420
  * not able to create the asset on the flight on API side with dataurl without
421
421
  * data:kind, prefix
422
422
  */
423
- kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
423
+ kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
424
424
 
425
425
  /**
426
426
  * The label displayed in the UI for this input
@@ -653,7 +653,7 @@ export namespace WorkflowCreateResponse {
653
653
  * not able to create the asset on the flight on API side with dataurl without
654
654
  * data:kind, prefix
655
655
  */
656
- kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
656
+ kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
657
657
 
658
658
  /**
659
659
  * The label displayed in the UI for this input
@@ -988,7 +988,7 @@ export namespace WorkflowCreateResponse {
988
988
  * Defines the input parameters for a model. Use this to understand the available
989
989
  * input parameters for a given `modelId` when calling
990
990
  * `POST /generate/custom/{modelId}`. See {@link
991
- * https://docs.scenario.com/docs/video-generation} for examples.
991
+ * https://docs.scenario.com/get-started/generation/video-generation} for examples.
992
992
  */
993
993
  export interface Input {
994
994
  /**
@@ -1068,7 +1068,7 @@ export namespace WorkflowCreateResponse {
1068
1068
  * not able to create the asset on the flight on API side with dataurl without
1069
1069
  * data:kind, prefix
1070
1070
  */
1071
- kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
1071
+ kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
1072
1072
 
1073
1073
  /**
1074
1074
  * The label displayed in the UI for this input
@@ -1548,7 +1548,7 @@ export namespace WorkflowRetrieveResponse {
1548
1548
  /**
1549
1549
  * Asset kinds produced by this workflow (if specified).
1550
1550
  */
1551
- outputAssetKinds?: Array<'3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video'>;
1551
+ outputAssetKinds?: Array<'3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video'>;
1552
1552
 
1553
1553
  /**
1554
1554
  * Currently the thumbnail is identical to the after asset.
@@ -1746,7 +1746,7 @@ export namespace WorkflowRetrieveResponse {
1746
1746
  * not able to create the asset on the flight on API side with dataurl without
1747
1747
  * data:kind, prefix
1748
1748
  */
1749
- kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
1749
+ kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
1750
1750
 
1751
1751
  /**
1752
1752
  * The label displayed in the UI for this input
@@ -1979,7 +1979,7 @@ export namespace WorkflowRetrieveResponse {
1979
1979
  * not able to create the asset on the flight on API side with dataurl without
1980
1980
  * data:kind, prefix
1981
1981
  */
1982
- kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
1982
+ kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
1983
1983
 
1984
1984
  /**
1985
1985
  * The label displayed in the UI for this input
@@ -2314,7 +2314,7 @@ export namespace WorkflowRetrieveResponse {
2314
2314
  * Defines the input parameters for a model. Use this to understand the available
2315
2315
  * input parameters for a given `modelId` when calling
2316
2316
  * `POST /generate/custom/{modelId}`. See {@link
2317
- * https://docs.scenario.com/docs/video-generation} for examples.
2317
+ * https://docs.scenario.com/get-started/generation/video-generation} for examples.
2318
2318
  */
2319
2319
  export interface Input {
2320
2320
  /**
@@ -2394,7 +2394,7 @@ export namespace WorkflowRetrieveResponse {
2394
2394
  * not able to create the asset on the flight on API side with dataurl without
2395
2395
  * data:kind, prefix
2396
2396
  */
2397
- kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
2397
+ kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
2398
2398
 
2399
2399
  /**
2400
2400
  * The label displayed in the UI for this input
@@ -2874,7 +2874,7 @@ export namespace WorkflowUpdateResponse {
2874
2874
  /**
2875
2875
  * Asset kinds produced by this workflow (if specified).
2876
2876
  */
2877
- outputAssetKinds?: Array<'3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video'>;
2877
+ outputAssetKinds?: Array<'3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video'>;
2878
2878
 
2879
2879
  /**
2880
2880
  * Currently the thumbnail is identical to the after asset.
@@ -3072,7 +3072,7 @@ export namespace WorkflowUpdateResponse {
3072
3072
  * not able to create the asset on the flight on API side with dataurl without
3073
3073
  * data:kind, prefix
3074
3074
  */
3075
- kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
3075
+ kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
3076
3076
 
3077
3077
  /**
3078
3078
  * The label displayed in the UI for this input
@@ -3305,7 +3305,7 @@ export namespace WorkflowUpdateResponse {
3305
3305
  * not able to create the asset on the flight on API side with dataurl without
3306
3306
  * data:kind, prefix
3307
3307
  */
3308
- kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
3308
+ kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
3309
3309
 
3310
3310
  /**
3311
3311
  * The label displayed in the UI for this input
@@ -3640,7 +3640,7 @@ export namespace WorkflowUpdateResponse {
3640
3640
  * Defines the input parameters for a model. Use this to understand the available
3641
3641
  * input parameters for a given `modelId` when calling
3642
3642
  * `POST /generate/custom/{modelId}`. See {@link
3643
- * https://docs.scenario.com/docs/video-generation} for examples.
3643
+ * https://docs.scenario.com/get-started/generation/video-generation} for examples.
3644
3644
  */
3645
3645
  export interface Input {
3646
3646
  /**
@@ -3720,7 +3720,7 @@ export namespace WorkflowUpdateResponse {
3720
3720
  * not able to create the asset on the flight on API side with dataurl without
3721
3721
  * data:kind, prefix
3722
3722
  */
3723
- kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
3723
+ kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
3724
3724
 
3725
3725
  /**
3726
3726
  * The label displayed in the UI for this input
@@ -4195,7 +4195,7 @@ export interface WorkflowListResponse {
4195
4195
  /**
4196
4196
  * Asset kinds produced by this workflow (if specified).
4197
4197
  */
4198
- outputAssetKinds?: Array<'3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video'>;
4198
+ outputAssetKinds?: Array<'3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video'>;
4199
4199
 
4200
4200
  /**
4201
4201
  * Currently the thumbnail is identical to the after asset.
@@ -4393,7 +4393,7 @@ export namespace WorkflowListResponse {
4393
4393
  * not able to create the asset on the flight on API side with dataurl without
4394
4394
  * data:kind, prefix
4395
4395
  */
4396
- kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
4396
+ kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
4397
4397
 
4398
4398
  /**
4399
4399
  * The label displayed in the UI for this input
@@ -4626,7 +4626,7 @@ export namespace WorkflowListResponse {
4626
4626
  * not able to create the asset on the flight on API side with dataurl without
4627
4627
  * data:kind, prefix
4628
4628
  */
4629
- kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
4629
+ kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
4630
4630
 
4631
4631
  /**
4632
4632
  * The label displayed in the UI for this input
@@ -4961,7 +4961,7 @@ export namespace WorkflowListResponse {
4961
4961
  * Defines the input parameters for a model. Use this to understand the available
4962
4962
  * input parameters for a given `modelId` when calling
4963
4963
  * `POST /generate/custom/{modelId}`. See {@link
4964
- * https://docs.scenario.com/docs/video-generation} for examples.
4964
+ * https://docs.scenario.com/get-started/generation/video-generation} for examples.
4965
4965
  */
4966
4966
  export interface Input {
4967
4967
  /**
@@ -5041,7 +5041,7 @@ export namespace WorkflowListResponse {
5041
5041
  * not able to create the asset on the flight on API side with dataurl without
5042
5042
  * data:kind, prefix
5043
5043
  */
5044
- kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
5044
+ kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
5045
5045
 
5046
5046
  /**
5047
5047
  * The label displayed in the UI for this input
@@ -5783,7 +5783,7 @@ export namespace WorkflowRunResponse {
5783
5783
  * not able to create the asset on the flight on API side with dataurl without
5784
5784
  * data:kind, prefix
5785
5785
  */
5786
- kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
5786
+ kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
5787
5787
 
5788
5788
  /**
5789
5789
  * The label displayed in the UI for this input
@@ -6016,7 +6016,7 @@ export namespace WorkflowRunResponse {
6016
6016
  * not able to create the asset on the flight on API side with dataurl without
6017
6017
  * data:kind, prefix
6018
6018
  */
6019
- kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
6019
+ kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
6020
6020
 
6021
6021
  /**
6022
6022
  * The label displayed in the UI for this input
@@ -6491,7 +6491,7 @@ export namespace WorkflowRunResponse {
6491
6491
  /**
6492
6492
  * Asset kinds produced by this workflow (if specified).
6493
6493
  */
6494
- outputAssetKinds?: Array<'3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video'>;
6494
+ outputAssetKinds?: Array<'3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video'>;
6495
6495
 
6496
6496
  /**
6497
6497
  * Currently the thumbnail is identical to the after asset.
@@ -6689,7 +6689,7 @@ export namespace WorkflowRunResponse {
6689
6689
  * not able to create the asset on the flight on API side with dataurl without
6690
6690
  * data:kind, prefix
6691
6691
  */
6692
- kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
6692
+ kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
6693
6693
 
6694
6694
  /**
6695
6695
  * The label displayed in the UI for this input
@@ -6922,7 +6922,7 @@ export namespace WorkflowRunResponse {
6922
6922
  * not able to create the asset on the flight on API side with dataurl without
6923
6923
  * data:kind, prefix
6924
6924
  */
6925
- kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
6925
+ kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
6926
6926
 
6927
6927
  /**
6928
6928
  * The label displayed in the UI for this input
@@ -7257,7 +7257,7 @@ export namespace WorkflowRunResponse {
7257
7257
  * Defines the input parameters for a model. Use this to understand the available
7258
7258
  * input parameters for a given `modelId` when calling
7259
7259
  * `POST /generate/custom/{modelId}`. See {@link
7260
- * https://docs.scenario.com/docs/video-generation} for examples.
7260
+ * https://docs.scenario.com/get-started/generation/video-generation} for examples.
7261
7261
  */
7262
7262
  export interface Input {
7263
7263
  /**
@@ -7337,7 +7337,7 @@ export namespace WorkflowRunResponse {
7337
7337
  * not able to create the asset on the flight on API side with dataurl without
7338
7338
  * data:kind, prefix
7339
7339
  */
7340
- kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
7340
+ kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
7341
7341
 
7342
7342
  /**
7343
7343
  * The label displayed in the UI for this input
@@ -8069,7 +8069,7 @@ export namespace WorkflowUserApprovalResponse {
8069
8069
  * not able to create the asset on the flight on API side with dataurl without
8070
8070
  * data:kind, prefix
8071
8071
  */
8072
- kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
8072
+ kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
8073
8073
 
8074
8074
  /**
8075
8075
  * The label displayed in the UI for this input
@@ -8302,7 +8302,7 @@ export namespace WorkflowUserApprovalResponse {
8302
8302
  * not able to create the asset on the flight on API side with dataurl without
8303
8303
  * data:kind, prefix
8304
8304
  */
8305
- kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
8305
+ kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
8306
8306
 
8307
8307
  /**
8308
8308
  * The label displayed in the UI for this input
@@ -8716,7 +8716,7 @@ export interface WorkflowUpdateParams {
8716
8716
  /**
8717
8717
  * The output asset kinds of the workflow.
8718
8718
  */
8719
- outputAssetKinds?: Array<'3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video'>;
8719
+ outputAssetKinds?: Array<'3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video'>;
8720
8720
 
8721
8721
  /**
8722
8722
  * The privacy of the workflow.
@@ -8931,7 +8931,7 @@ export namespace WorkflowUpdateParams {
8931
8931
  * not able to create the asset on the flight on API side with dataurl without
8932
8932
  * data:kind, prefix
8933
8933
  */
8934
- kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
8934
+ kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
8935
8935
 
8936
8936
  /**
8937
8937
  * The label displayed in the UI for this input
@@ -9164,7 +9164,7 @@ export namespace WorkflowUpdateParams {
9164
9164
  * not able to create the asset on the flight on API side with dataurl without
9165
9165
  * data:kind, prefix
9166
9166
  */
9167
- kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
9167
+ kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
9168
9168
 
9169
9169
  /**
9170
9170
  * The label displayed in the UI for this input
@@ -9499,7 +9499,7 @@ export namespace WorkflowUpdateParams {
9499
9499
  * Defines the input parameters for a model. Use this to understand the available
9500
9500
  * input parameters for a given `modelId` when calling
9501
9501
  * `POST /generate/custom/{modelId}`. See {@link
9502
- * https://docs.scenario.com/docs/video-generation} for examples.
9502
+ * https://docs.scenario.com/get-started/generation/video-generation} for examples.
9503
9503
  */
9504
9504
  export interface Input {
9505
9505
  /**
@@ -9579,7 +9579,7 @@ export namespace WorkflowUpdateParams {
9579
9579
  * not able to create the asset on the flight on API side with dataurl without
9580
9580
  * data:kind, prefix
9581
9581
  */
9582
- kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
9582
+ kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
9583
9583
 
9584
9584
  /**
9585
9585
  * The label displayed in the UI for this input
@@ -9765,8 +9765,8 @@ export namespace WorkflowUpdateParams {
9765
9765
 
9766
9766
  export interface WorkflowListParams extends WorkflowsCursorParams {
9767
9767
  /**
9768
- * The number of items to return in the response. The default value is 10, maximum
9769
- * value is 200, minimum value is 1
9768
+ * The number of items to return in the response. The default value is 50, maximum
9769
+ * value is 100, minimum value is 1
9770
9770
  */
9771
9771
  pageSize?: number;
9772
9772
 
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '2.0.0'; // x-release-please-version
1
+ export const VERSION = '2.2.0'; // x-release-please-version
package/uploads.d.mts CHANGED
@@ -1,2 +1,3 @@
1
+ /** @deprecated Import from ./core/uploads instead */
1
2
  export * from "./core/uploads.mjs";
2
3
  //# sourceMappingURL=uploads.d.mts.map
package/uploads.d.mts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"uploads.d.mts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"uploads.d.mts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,mCAA+B"}
package/uploads.d.ts CHANGED
@@ -1,2 +1,3 @@
1
+ /** @deprecated Import from ./core/uploads instead */
1
2
  export * from "./core/uploads.js";
2
3
  //# sourceMappingURL=uploads.d.ts.map
package/uploads.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"uploads.d.ts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"uploads.d.ts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,kCAA+B"}
package/uploads.mjs CHANGED
@@ -1,2 +1,3 @@
1
+ /** @deprecated Import from ./core/uploads instead */
1
2
  export * from "./core/uploads.mjs";
2
3
  //# sourceMappingURL=uploads.mjs.map
package/uploads.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"uploads.mjs","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"uploads.mjs","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,mCAA+B"}
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "2.0.0";
1
+ export declare const VERSION = "2.2.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "2.0.0";
1
+ export declare const VERSION = "2.2.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '2.0.0'; // x-release-please-version
4
+ exports.VERSION = '2.2.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '2.0.0'; // x-release-please-version
1
+ export const VERSION = '2.2.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map