@transcodely/sdk 0.3.14 → 0.3.15
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/CHANGELOG.md +7 -0
- package/dist/index.cjs +48 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +47 -7
- package/dist/index.d.ts +47 -7
- package/dist/index.mjs +48 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,13 @@ All notable changes to the Transcodely JavaScript / TypeScript SDK will be docum
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). Breaking changes are allowed on minor bumps until 1.0.0.
|
|
6
6
|
|
|
7
|
+
## [0.3.15](https://github.com/transcodely/transcodely-js/compare/v0.3.14...v0.3.15) (2026-10-30)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* resync protos to api master — usage hosting_estimated_from, encoding_mode echo ([f1f6bee](https://github.com/transcodely/transcodely-js/commit/f1f6bee811da5c86e3a74021ba42fcab8bffb6a8))
|
|
13
|
+
|
|
7
14
|
## [0.3.14](https://github.com/transcodely/transcodely-js/compare/v0.3.13...v0.3.14) (2026-10-27)
|
|
8
15
|
|
|
9
16
|
|
package/dist/index.cjs
CHANGED
|
@@ -1918,9 +1918,10 @@ var AutoProfileDefaults = class _AutoProfileDefaults extends protobuf.Message {
|
|
|
1918
1918
|
*/
|
|
1919
1919
|
qualityTier;
|
|
1920
1920
|
/**
|
|
1921
|
-
* Encoding mode: "
|
|
1921
|
+
* Encoding mode: "auto" (default, input-aware constrained CRF) or "fixed" (static CRF).
|
|
1922
1922
|
* In "auto" mode, the worker caps each variant's bitrate based on the input's bitrate
|
|
1923
|
-
* and resolution ratio, preventing output from exceeding the input's quality ceiling
|
|
1923
|
+
* and resolution ratio, preventing output from exceeding the input's quality ceiling,
|
|
1924
|
+
* and skips any ladder rung larger than the source instead of upscaling it.
|
|
1924
1925
|
*
|
|
1925
1926
|
* @generated from field: optional string encoding_mode = 5;
|
|
1926
1927
|
*/
|
|
@@ -7304,6 +7305,9 @@ protobuf.proto3.util.setEnumType(ToneMapping, "transcodely.v1.ToneMapping", [
|
|
|
7304
7305
|
var HDRConfig = class _HDRConfig extends protobuf.Message {
|
|
7305
7306
|
/**
|
|
7306
7307
|
* Target HDR format (required for passthrough and force modes).
|
|
7308
|
+
* `dolby_vision_5` and `dolby_vision_8` are refused at create until the
|
|
7309
|
+
* worker produces Dolby Vision output; a refused request creates no job and
|
|
7310
|
+
* is neither quoted nor billed.
|
|
7307
7311
|
*
|
|
7308
7312
|
* @generated from field: transcodely.v1.HDRFormat format = 1;
|
|
7309
7313
|
*/
|
|
@@ -7342,7 +7346,9 @@ var HDRConfig = class _HDRConfig extends protobuf.Message {
|
|
|
7342
7346
|
*/
|
|
7343
7347
|
contentLightLevel;
|
|
7344
7348
|
/**
|
|
7345
|
-
* Dolby Vision RPU file URL
|
|
7349
|
+
* Dolby Vision RPU file URL. Only accepted with a `dolby_vision_*` format,
|
|
7350
|
+
* which is refused at create until the worker produces Dolby Vision output,
|
|
7351
|
+
* so this field is currently unreachable.
|
|
7346
7352
|
*
|
|
7347
7353
|
* @generated from field: optional string rpu_url = 7;
|
|
7348
7354
|
*/
|
|
@@ -12079,6 +12085,10 @@ var OutputSpec = class _OutputSpec extends protobuf.Message {
|
|
|
12079
12085
|
* Encoding mode: "fixed" (default, static CRF) or "auto" (input-aware constrained CRF).
|
|
12080
12086
|
* In "auto" mode, the worker caps each variant's bitrate based on the input's bitrate
|
|
12081
12087
|
* and resolution ratio, preventing output from exceeding the input's quality ceiling.
|
|
12088
|
+
* "auto" also skips any ABR rung larger than the source instead of upscaling it.
|
|
12089
|
+
* A skipped rung is reported with status "skipped" and is not billed.
|
|
12090
|
+
* Outputs created since 2026-10-27 echo the resolved mode on responses (unset
|
|
12091
|
+
* resolves to "fixed"). Outputs created before then omit it: their mode was not stored.
|
|
12082
12092
|
*
|
|
12083
12093
|
* @generated from field: optional string encoding_mode = 14;
|
|
12084
12094
|
*/
|
|
@@ -12387,7 +12397,10 @@ var VariantPricingSnapshot = class _VariantPricingSnapshot extends protobuf.Mess
|
|
|
12387
12397
|
*/
|
|
12388
12398
|
actualCost;
|
|
12389
12399
|
/**
|
|
12390
|
-
* Variant encoding status: "pending", "processing", "completed", "failed"
|
|
12400
|
+
* Variant encoding status: "pending", "processing", "completed", "failed",
|
|
12401
|
+
* "canceled", or "skipped". A rung is "skipped" when `encoding_mode: auto`
|
|
12402
|
+
* left it unencoded because it would have upscaled the source. A skipped
|
|
12403
|
+
* rung has actual_cost 0 and is not billed.
|
|
12391
12404
|
*
|
|
12392
12405
|
* @generated from field: string status = 20;
|
|
12393
12406
|
*/
|
|
@@ -17326,6 +17339,13 @@ var UsageSummary = class _UsageSummary extends protobuf.Message {
|
|
|
17326
17339
|
*/
|
|
17327
17340
|
storageGbAvg = 0;
|
|
17328
17341
|
/**
|
|
17342
|
+
* Storage cost of the period so far, as your invoice will carry it. Each
|
|
17343
|
+
* day is one GB-day: the day's stored bytes at the day's monthly price
|
|
17344
|
+
* divided by the days in that month. Days already billed are reported at
|
|
17345
|
+
* the rate they were billed at, so a later price or rate-card change never
|
|
17346
|
+
* re-prices them; the remaining days (see hosting_estimated_from) are
|
|
17347
|
+
* estimated the same way at your current rate.
|
|
17348
|
+
*
|
|
17329
17349
|
* @generated from field: double storage_cost = 11;
|
|
17330
17350
|
*/
|
|
17331
17351
|
storageCost = 0;
|
|
@@ -17340,6 +17360,10 @@ var UsageSummary = class _UsageSummary extends protobuf.Message {
|
|
|
17340
17360
|
*/
|
|
17341
17361
|
egressGb = 0;
|
|
17342
17362
|
/**
|
|
17363
|
+
* Delivery cost of the period so far, as your invoice will carry it:
|
|
17364
|
+
* billed delivery at the rate it was billed at, delivery not billed yet
|
|
17365
|
+
* estimated at your current rate.
|
|
17366
|
+
*
|
|
17343
17367
|
* @generated from field: double egress_cost = 21;
|
|
17344
17368
|
*/
|
|
17345
17369
|
egressCost = 0;
|
|
@@ -17359,6 +17383,18 @@ var UsageSummary = class _UsageSummary extends protobuf.Message {
|
|
|
17359
17383
|
* @generated from field: string currency = 31;
|
|
17360
17384
|
*/
|
|
17361
17385
|
currency = "";
|
|
17386
|
+
/**
|
|
17387
|
+
* First day (YYYY-MM-DD, UTC) whose storage or delivery cost is an
|
|
17388
|
+
* estimate rather than billed usage. Hosting is billed daily, through the
|
|
17389
|
+
* previous day, so while you store or deliver video the current period has
|
|
17390
|
+
* an estimated tail, and the estimate turns into the billed amount as each
|
|
17391
|
+
* day is billed. Empty when no day with hosting usage in the period is
|
|
17392
|
+
* still unbilled, which is when storage_cost and egress_cost match your
|
|
17393
|
+
* invoice (to within the sub-cent remainder carried to the next charge).
|
|
17394
|
+
*
|
|
17395
|
+
* @generated from field: string hosting_estimated_from = 32;
|
|
17396
|
+
*/
|
|
17397
|
+
hostingEstimatedFrom = "";
|
|
17362
17398
|
/**
|
|
17363
17399
|
* Per-day usage breakdown for the billing period identified by
|
|
17364
17400
|
* billing_month, oldest day first. With a billing anchor day other than 1,
|
|
@@ -17463,6 +17499,13 @@ var UsageSummary = class _UsageSummary extends protobuf.Message {
|
|
|
17463
17499
|
T: 9
|
|
17464
17500
|
/* ScalarType.STRING */
|
|
17465
17501
|
},
|
|
17502
|
+
{
|
|
17503
|
+
no: 32,
|
|
17504
|
+
name: "hosting_estimated_from",
|
|
17505
|
+
kind: "scalar",
|
|
17506
|
+
T: 9
|
|
17507
|
+
/* ScalarType.STRING */
|
|
17508
|
+
},
|
|
17466
17509
|
{ no: 40, name: "daily", kind: "message", T: DailyUsage, repeated: true }
|
|
17467
17510
|
]);
|
|
17468
17511
|
static fromBinary(bytes, options) {
|
|
@@ -20401,7 +20444,7 @@ function backoff(attempt) {
|
|
|
20401
20444
|
}
|
|
20402
20445
|
|
|
20403
20446
|
// src/version.ts
|
|
20404
|
-
var SDK_VERSION = "0.3.
|
|
20447
|
+
var SDK_VERSION = "0.3.15";
|
|
20405
20448
|
var API_VERSION = "2026-05-03";
|
|
20406
20449
|
var DEFAULT_BASE_URL = "https://api.transcodely.com";
|
|
20407
20450
|
|