@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/dist/index.d.cts CHANGED
@@ -1835,9 +1835,10 @@ declare class AutoProfileDefaults extends Message<AutoProfileDefaults> {
1835
1835
  */
1836
1836
  qualityTier?: string;
1837
1837
  /**
1838
- * Encoding mode: "fixed" (default, static CRF) or "auto" (input-aware constrained CRF).
1838
+ * Encoding mode: "auto" (default, input-aware constrained CRF) or "fixed" (static CRF).
1839
1839
  * In "auto" mode, the worker caps each variant's bitrate based on the input's bitrate
1840
- * and resolution ratio, preventing output from exceeding the input's quality ceiling.
1840
+ * and resolution ratio, preventing output from exceeding the input's quality ceiling,
1841
+ * and skips any ladder rung larger than the source instead of upscaling it.
1841
1842
  *
1842
1843
  * @generated from field: optional string encoding_mode = 5;
1843
1844
  */
@@ -5442,13 +5443,17 @@ declare enum HDRFormat {
5442
5443
  */
5443
5444
  HDR_FORMAT_HLG = 3,
5444
5445
  /**
5445
- * Dolby Vision Profile 5 (single-layer, cross-compatible).
5446
+ * Dolby Vision Profile 5 (single-layer, no HDR10 or SDR compatibility
5447
+ * layer). Not available: refused at create with `parameter_unsupported` on
5448
+ * `hdr.format` until the worker produces Dolby Vision output.
5446
5449
  *
5447
5450
  * @generated from enum value: HDR_FORMAT_DOLBY_VISION_5 = 4;
5448
5451
  */
5449
5452
  HDR_FORMAT_DOLBY_VISION_5 = 4,
5450
5453
  /**
5451
- * Dolby Vision Profile 8 (MEL, backward-compatible with HDR10).
5454
+ * Dolby Vision Profile 8.1 (single-layer, HDR10-compatible base layer). Not
5455
+ * available: refused at create with `parameter_unsupported` on `hdr.format`
5456
+ * until the worker produces Dolby Vision output.
5452
5457
  *
5453
5458
  * @generated from enum value: HDR_FORMAT_DOLBY_VISION_8 = 5;
5454
5459
  */
@@ -5530,6 +5535,9 @@ declare enum ToneMapping {
5530
5535
  declare class HDRConfig extends Message<HDRConfig> {
5531
5536
  /**
5532
5537
  * Target HDR format (required for passthrough and force modes).
5538
+ * `dolby_vision_5` and `dolby_vision_8` are refused at create until the
5539
+ * worker produces Dolby Vision output; a refused request creates no job and
5540
+ * is neither quoted nor billed.
5533
5541
  *
5534
5542
  * @generated from field: transcodely.v1.HDRFormat format = 1;
5535
5543
  */
@@ -5568,7 +5576,9 @@ declare class HDRConfig extends Message<HDRConfig> {
5568
5576
  */
5569
5577
  contentLightLevel?: string;
5570
5578
  /**
5571
- * Dolby Vision RPU file URL (for DV metadata injection).
5579
+ * Dolby Vision RPU file URL. Only accepted with a `dolby_vision_*` format,
5580
+ * which is refused at create until the worker produces Dolby Vision output,
5581
+ * so this field is currently unreachable.
5572
5582
  *
5573
5583
  * @generated from field: optional string rpu_url = 7;
5574
5584
  */
@@ -9531,6 +9541,10 @@ declare class OutputSpec extends Message<OutputSpec> {
9531
9541
  * Encoding mode: "fixed" (default, static CRF) or "auto" (input-aware constrained CRF).
9532
9542
  * In "auto" mode, the worker caps each variant's bitrate based on the input's bitrate
9533
9543
  * and resolution ratio, preventing output from exceeding the input's quality ceiling.
9544
+ * "auto" also skips any ABR rung larger than the source instead of upscaling it.
9545
+ * A skipped rung is reported with status "skipped" and is not billed.
9546
+ * Outputs created since 2026-10-27 echo the resolved mode on responses (unset
9547
+ * resolves to "fixed"). Outputs created before then omit it: their mode was not stored.
9534
9548
  *
9535
9549
  * @generated from field: optional string encoding_mode = 14;
9536
9550
  */
@@ -9761,7 +9775,10 @@ declare class VariantPricingSnapshot extends Message<VariantPricingSnapshot> {
9761
9775
  */
9762
9776
  actualCost?: number;
9763
9777
  /**
9764
- * Variant encoding status: "pending", "processing", "completed", "failed".
9778
+ * Variant encoding status: "pending", "processing", "completed", "failed",
9779
+ * "canceled", or "skipped". A rung is "skipped" when `encoding_mode: auto`
9780
+ * left it unencoded because it would have upscaled the source. A skipped
9781
+ * rung has actual_cost 0 and is not billed.
9765
9782
  *
9766
9783
  * @generated from field: string status = 20;
9767
9784
  */
@@ -13439,6 +13456,13 @@ declare class UsageSummary extends Message<UsageSummary> {
13439
13456
  */
13440
13457
  storageGbAvg: number;
13441
13458
  /**
13459
+ * Storage cost of the period so far, as your invoice will carry it. Each
13460
+ * day is one GB-day: the day's stored bytes at the day's monthly price
13461
+ * divided by the days in that month. Days already billed are reported at
13462
+ * the rate they were billed at, so a later price or rate-card change never
13463
+ * re-prices them; the remaining days (see hosting_estimated_from) are
13464
+ * estimated the same way at your current rate.
13465
+ *
13442
13466
  * @generated from field: double storage_cost = 11;
13443
13467
  */
13444
13468
  storageCost: number;
@@ -13453,6 +13477,10 @@ declare class UsageSummary extends Message<UsageSummary> {
13453
13477
  */
13454
13478
  egressGb: number;
13455
13479
  /**
13480
+ * Delivery cost of the period so far, as your invoice will carry it:
13481
+ * billed delivery at the rate it was billed at, delivery not billed yet
13482
+ * estimated at your current rate.
13483
+ *
13456
13484
  * @generated from field: double egress_cost = 21;
13457
13485
  */
13458
13486
  egressCost: number;
@@ -13472,6 +13500,18 @@ declare class UsageSummary extends Message<UsageSummary> {
13472
13500
  * @generated from field: string currency = 31;
13473
13501
  */
13474
13502
  currency: string;
13503
+ /**
13504
+ * First day (YYYY-MM-DD, UTC) whose storage or delivery cost is an
13505
+ * estimate rather than billed usage. Hosting is billed daily, through the
13506
+ * previous day, so while you store or deliver video the current period has
13507
+ * an estimated tail, and the estimate turns into the billed amount as each
13508
+ * day is billed. Empty when no day with hosting usage in the period is
13509
+ * still unbilled, which is when storage_cost and egress_cost match your
13510
+ * invoice (to within the sub-cent remainder carried to the next charge).
13511
+ *
13512
+ * @generated from field: string hosting_estimated_from = 32;
13513
+ */
13514
+ hostingEstimatedFrom: string;
13475
13515
  /**
13476
13516
  * Per-day usage breakdown for the billing period identified by
13477
13517
  * billing_month, oldest day first. With a billing anchor day other than 1,
@@ -18005,7 +18045,7 @@ interface SerializeOptions {
18005
18045
  declare function toWireJson<T extends Message<T>>(msg: T, opts?: SerializeOptions): JsonValue;
18006
18046
 
18007
18047
  /** SDK version. Bumped by release-please from package.json on each tag. */
18008
- declare const SDK_VERSION = "0.3.14";
18048
+ declare const SDK_VERSION = "0.3.15";
18009
18049
  /**
18010
18050
  * API version this SDK release is pinned to. Sent on every request as
18011
18051
  * `Transcodely-Version`. Customers can override per-client via the
package/dist/index.d.ts CHANGED
@@ -1835,9 +1835,10 @@ declare class AutoProfileDefaults extends Message<AutoProfileDefaults> {
1835
1835
  */
1836
1836
  qualityTier?: string;
1837
1837
  /**
1838
- * Encoding mode: "fixed" (default, static CRF) or "auto" (input-aware constrained CRF).
1838
+ * Encoding mode: "auto" (default, input-aware constrained CRF) or "fixed" (static CRF).
1839
1839
  * In "auto" mode, the worker caps each variant's bitrate based on the input's bitrate
1840
- * and resolution ratio, preventing output from exceeding the input's quality ceiling.
1840
+ * and resolution ratio, preventing output from exceeding the input's quality ceiling,
1841
+ * and skips any ladder rung larger than the source instead of upscaling it.
1841
1842
  *
1842
1843
  * @generated from field: optional string encoding_mode = 5;
1843
1844
  */
@@ -5442,13 +5443,17 @@ declare enum HDRFormat {
5442
5443
  */
5443
5444
  HDR_FORMAT_HLG = 3,
5444
5445
  /**
5445
- * Dolby Vision Profile 5 (single-layer, cross-compatible).
5446
+ * Dolby Vision Profile 5 (single-layer, no HDR10 or SDR compatibility
5447
+ * layer). Not available: refused at create with `parameter_unsupported` on
5448
+ * `hdr.format` until the worker produces Dolby Vision output.
5446
5449
  *
5447
5450
  * @generated from enum value: HDR_FORMAT_DOLBY_VISION_5 = 4;
5448
5451
  */
5449
5452
  HDR_FORMAT_DOLBY_VISION_5 = 4,
5450
5453
  /**
5451
- * Dolby Vision Profile 8 (MEL, backward-compatible with HDR10).
5454
+ * Dolby Vision Profile 8.1 (single-layer, HDR10-compatible base layer). Not
5455
+ * available: refused at create with `parameter_unsupported` on `hdr.format`
5456
+ * until the worker produces Dolby Vision output.
5452
5457
  *
5453
5458
  * @generated from enum value: HDR_FORMAT_DOLBY_VISION_8 = 5;
5454
5459
  */
@@ -5530,6 +5535,9 @@ declare enum ToneMapping {
5530
5535
  declare class HDRConfig extends Message<HDRConfig> {
5531
5536
  /**
5532
5537
  * Target HDR format (required for passthrough and force modes).
5538
+ * `dolby_vision_5` and `dolby_vision_8` are refused at create until the
5539
+ * worker produces Dolby Vision output; a refused request creates no job and
5540
+ * is neither quoted nor billed.
5533
5541
  *
5534
5542
  * @generated from field: transcodely.v1.HDRFormat format = 1;
5535
5543
  */
@@ -5568,7 +5576,9 @@ declare class HDRConfig extends Message<HDRConfig> {
5568
5576
  */
5569
5577
  contentLightLevel?: string;
5570
5578
  /**
5571
- * Dolby Vision RPU file URL (for DV metadata injection).
5579
+ * Dolby Vision RPU file URL. Only accepted with a `dolby_vision_*` format,
5580
+ * which is refused at create until the worker produces Dolby Vision output,
5581
+ * so this field is currently unreachable.
5572
5582
  *
5573
5583
  * @generated from field: optional string rpu_url = 7;
5574
5584
  */
@@ -9531,6 +9541,10 @@ declare class OutputSpec extends Message<OutputSpec> {
9531
9541
  * Encoding mode: "fixed" (default, static CRF) or "auto" (input-aware constrained CRF).
9532
9542
  * In "auto" mode, the worker caps each variant's bitrate based on the input's bitrate
9533
9543
  * and resolution ratio, preventing output from exceeding the input's quality ceiling.
9544
+ * "auto" also skips any ABR rung larger than the source instead of upscaling it.
9545
+ * A skipped rung is reported with status "skipped" and is not billed.
9546
+ * Outputs created since 2026-10-27 echo the resolved mode on responses (unset
9547
+ * resolves to "fixed"). Outputs created before then omit it: their mode was not stored.
9534
9548
  *
9535
9549
  * @generated from field: optional string encoding_mode = 14;
9536
9550
  */
@@ -9761,7 +9775,10 @@ declare class VariantPricingSnapshot extends Message<VariantPricingSnapshot> {
9761
9775
  */
9762
9776
  actualCost?: number;
9763
9777
  /**
9764
- * Variant encoding status: "pending", "processing", "completed", "failed".
9778
+ * Variant encoding status: "pending", "processing", "completed", "failed",
9779
+ * "canceled", or "skipped". A rung is "skipped" when `encoding_mode: auto`
9780
+ * left it unencoded because it would have upscaled the source. A skipped
9781
+ * rung has actual_cost 0 and is not billed.
9765
9782
  *
9766
9783
  * @generated from field: string status = 20;
9767
9784
  */
@@ -13439,6 +13456,13 @@ declare class UsageSummary extends Message<UsageSummary> {
13439
13456
  */
13440
13457
  storageGbAvg: number;
13441
13458
  /**
13459
+ * Storage cost of the period so far, as your invoice will carry it. Each
13460
+ * day is one GB-day: the day's stored bytes at the day's monthly price
13461
+ * divided by the days in that month. Days already billed are reported at
13462
+ * the rate they were billed at, so a later price or rate-card change never
13463
+ * re-prices them; the remaining days (see hosting_estimated_from) are
13464
+ * estimated the same way at your current rate.
13465
+ *
13442
13466
  * @generated from field: double storage_cost = 11;
13443
13467
  */
13444
13468
  storageCost: number;
@@ -13453,6 +13477,10 @@ declare class UsageSummary extends Message<UsageSummary> {
13453
13477
  */
13454
13478
  egressGb: number;
13455
13479
  /**
13480
+ * Delivery cost of the period so far, as your invoice will carry it:
13481
+ * billed delivery at the rate it was billed at, delivery not billed yet
13482
+ * estimated at your current rate.
13483
+ *
13456
13484
  * @generated from field: double egress_cost = 21;
13457
13485
  */
13458
13486
  egressCost: number;
@@ -13472,6 +13500,18 @@ declare class UsageSummary extends Message<UsageSummary> {
13472
13500
  * @generated from field: string currency = 31;
13473
13501
  */
13474
13502
  currency: string;
13503
+ /**
13504
+ * First day (YYYY-MM-DD, UTC) whose storage or delivery cost is an
13505
+ * estimate rather than billed usage. Hosting is billed daily, through the
13506
+ * previous day, so while you store or deliver video the current period has
13507
+ * an estimated tail, and the estimate turns into the billed amount as each
13508
+ * day is billed. Empty when no day with hosting usage in the period is
13509
+ * still unbilled, which is when storage_cost and egress_cost match your
13510
+ * invoice (to within the sub-cent remainder carried to the next charge).
13511
+ *
13512
+ * @generated from field: string hosting_estimated_from = 32;
13513
+ */
13514
+ hostingEstimatedFrom: string;
13475
13515
  /**
13476
13516
  * Per-day usage breakdown for the billing period identified by
13477
13517
  * billing_month, oldest day first. With a billing anchor day other than 1,
@@ -18005,7 +18045,7 @@ interface SerializeOptions {
18005
18045
  declare function toWireJson<T extends Message<T>>(msg: T, opts?: SerializeOptions): JsonValue;
18006
18046
 
18007
18047
  /** SDK version. Bumped by release-please from package.json on each tag. */
18008
- declare const SDK_VERSION = "0.3.14";
18048
+ declare const SDK_VERSION = "0.3.15";
18009
18049
  /**
18010
18050
  * API version this SDK release is pinned to. Sent on every request as
18011
18051
  * `Transcodely-Version`. Customers can override per-client via the
package/dist/index.mjs CHANGED
@@ -1916,9 +1916,10 @@ var AutoProfileDefaults = class _AutoProfileDefaults extends Message {
1916
1916
  */
1917
1917
  qualityTier;
1918
1918
  /**
1919
- * Encoding mode: "fixed" (default, static CRF) or "auto" (input-aware constrained CRF).
1919
+ * Encoding mode: "auto" (default, input-aware constrained CRF) or "fixed" (static CRF).
1920
1920
  * In "auto" mode, the worker caps each variant's bitrate based on the input's bitrate
1921
- * and resolution ratio, preventing output from exceeding the input's quality ceiling.
1921
+ * and resolution ratio, preventing output from exceeding the input's quality ceiling,
1922
+ * and skips any ladder rung larger than the source instead of upscaling it.
1922
1923
  *
1923
1924
  * @generated from field: optional string encoding_mode = 5;
1924
1925
  */
@@ -7302,6 +7303,9 @@ proto3.util.setEnumType(ToneMapping, "transcodely.v1.ToneMapping", [
7302
7303
  var HDRConfig = class _HDRConfig extends Message {
7303
7304
  /**
7304
7305
  * Target HDR format (required for passthrough and force modes).
7306
+ * `dolby_vision_5` and `dolby_vision_8` are refused at create until the
7307
+ * worker produces Dolby Vision output; a refused request creates no job and
7308
+ * is neither quoted nor billed.
7305
7309
  *
7306
7310
  * @generated from field: transcodely.v1.HDRFormat format = 1;
7307
7311
  */
@@ -7340,7 +7344,9 @@ var HDRConfig = class _HDRConfig extends Message {
7340
7344
  */
7341
7345
  contentLightLevel;
7342
7346
  /**
7343
- * Dolby Vision RPU file URL (for DV metadata injection).
7347
+ * Dolby Vision RPU file URL. Only accepted with a `dolby_vision_*` format,
7348
+ * which is refused at create until the worker produces Dolby Vision output,
7349
+ * so this field is currently unreachable.
7344
7350
  *
7345
7351
  * @generated from field: optional string rpu_url = 7;
7346
7352
  */
@@ -12077,6 +12083,10 @@ var OutputSpec = class _OutputSpec extends Message {
12077
12083
  * Encoding mode: "fixed" (default, static CRF) or "auto" (input-aware constrained CRF).
12078
12084
  * In "auto" mode, the worker caps each variant's bitrate based on the input's bitrate
12079
12085
  * and resolution ratio, preventing output from exceeding the input's quality ceiling.
12086
+ * "auto" also skips any ABR rung larger than the source instead of upscaling it.
12087
+ * A skipped rung is reported with status "skipped" and is not billed.
12088
+ * Outputs created since 2026-10-27 echo the resolved mode on responses (unset
12089
+ * resolves to "fixed"). Outputs created before then omit it: their mode was not stored.
12080
12090
  *
12081
12091
  * @generated from field: optional string encoding_mode = 14;
12082
12092
  */
@@ -12385,7 +12395,10 @@ var VariantPricingSnapshot = class _VariantPricingSnapshot extends Message {
12385
12395
  */
12386
12396
  actualCost;
12387
12397
  /**
12388
- * Variant encoding status: "pending", "processing", "completed", "failed".
12398
+ * Variant encoding status: "pending", "processing", "completed", "failed",
12399
+ * "canceled", or "skipped". A rung is "skipped" when `encoding_mode: auto`
12400
+ * left it unencoded because it would have upscaled the source. A skipped
12401
+ * rung has actual_cost 0 and is not billed.
12389
12402
  *
12390
12403
  * @generated from field: string status = 20;
12391
12404
  */
@@ -17324,6 +17337,13 @@ var UsageSummary = class _UsageSummary extends Message {
17324
17337
  */
17325
17338
  storageGbAvg = 0;
17326
17339
  /**
17340
+ * Storage cost of the period so far, as your invoice will carry it. Each
17341
+ * day is one GB-day: the day's stored bytes at the day's monthly price
17342
+ * divided by the days in that month. Days already billed are reported at
17343
+ * the rate they were billed at, so a later price or rate-card change never
17344
+ * re-prices them; the remaining days (see hosting_estimated_from) are
17345
+ * estimated the same way at your current rate.
17346
+ *
17327
17347
  * @generated from field: double storage_cost = 11;
17328
17348
  */
17329
17349
  storageCost = 0;
@@ -17338,6 +17358,10 @@ var UsageSummary = class _UsageSummary extends Message {
17338
17358
  */
17339
17359
  egressGb = 0;
17340
17360
  /**
17361
+ * Delivery cost of the period so far, as your invoice will carry it:
17362
+ * billed delivery at the rate it was billed at, delivery not billed yet
17363
+ * estimated at your current rate.
17364
+ *
17341
17365
  * @generated from field: double egress_cost = 21;
17342
17366
  */
17343
17367
  egressCost = 0;
@@ -17357,6 +17381,18 @@ var UsageSummary = class _UsageSummary extends Message {
17357
17381
  * @generated from field: string currency = 31;
17358
17382
  */
17359
17383
  currency = "";
17384
+ /**
17385
+ * First day (YYYY-MM-DD, UTC) whose storage or delivery cost is an
17386
+ * estimate rather than billed usage. Hosting is billed daily, through the
17387
+ * previous day, so while you store or deliver video the current period has
17388
+ * an estimated tail, and the estimate turns into the billed amount as each
17389
+ * day is billed. Empty when no day with hosting usage in the period is
17390
+ * still unbilled, which is when storage_cost and egress_cost match your
17391
+ * invoice (to within the sub-cent remainder carried to the next charge).
17392
+ *
17393
+ * @generated from field: string hosting_estimated_from = 32;
17394
+ */
17395
+ hostingEstimatedFrom = "";
17360
17396
  /**
17361
17397
  * Per-day usage breakdown for the billing period identified by
17362
17398
  * billing_month, oldest day first. With a billing anchor day other than 1,
@@ -17461,6 +17497,13 @@ var UsageSummary = class _UsageSummary extends Message {
17461
17497
  T: 9
17462
17498
  /* ScalarType.STRING */
17463
17499
  },
17500
+ {
17501
+ no: 32,
17502
+ name: "hosting_estimated_from",
17503
+ kind: "scalar",
17504
+ T: 9
17505
+ /* ScalarType.STRING */
17506
+ },
17464
17507
  { no: 40, name: "daily", kind: "message", T: DailyUsage, repeated: true }
17465
17508
  ]);
17466
17509
  static fromBinary(bytes, options) {
@@ -20399,7 +20442,7 @@ function backoff(attempt) {
20399
20442
  }
20400
20443
 
20401
20444
  // src/version.ts
20402
- var SDK_VERSION = "0.3.14";
20445
+ var SDK_VERSION = "0.3.15";
20403
20446
  var API_VERSION = "2026-05-03";
20404
20447
  var DEFAULT_BASE_URL = "https://api.transcodely.com";
20405
20448