@transcodely/sdk 0.3.1 → 0.3.2

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
@@ -3961,7 +3961,11 @@ declare enum HDRMode {
3961
3961
  */
3962
3962
  HDR_MODE_PASSTHROUGH = 1,
3963
3963
  /**
3964
- * Convert HDR to SDR via tone mapping.
3964
+ * Convert HDR to SDR via tone mapping. Requires an HDR input: whether the
3965
+ * input carries HDR color signaling is only knowable once it has been
3966
+ * probed, so a tone-map job on an SDR source is accepted at create and then
3967
+ * fails at probe time with error code `input_not_hdr`, before any encode
3968
+ * starts.
3965
3969
  *
3966
3970
  * @generated from enum value: HDR_MODE_TONEMAP = 2;
3967
3971
  */
@@ -4492,12 +4496,12 @@ declare class SubtitleTrack extends Message<SubtitleTrack> {
4492
4496
  /**
4493
4497
  * Generate an AI chapters track from the transcript this track produces.
4494
4498
  *
4495
- * Only meaningful together with the (upcoming) `generate` subtitle operation:
4496
- * when enabled, an AI pass over the generated transcript produces a chapters
4499
+ * Only meaningful together with the `generate` subtitle operation: when
4500
+ * enabled, an AI pass over the generated transcript produces a chapters
4497
4501
  * track delivered as WebVTT plus JSON. Free — no pricing impact. The
4498
4502
  * transcript text is processed via the Anthropic API (an external
4499
- * subprocessor). Until the `generate` operation ships, setting this is
4500
- * rejected at job creation.
4503
+ * subprocessor). Caption generation is available; the auto-chapters pass is
4504
+ * not yet, so setting this is still rejected at job creation.
4501
4505
  *
4502
4506
  * @generated from field: optional bool generate_chapters = 12;
4503
4507
  */
@@ -4550,9 +4554,9 @@ declare class ChapterPoint extends Message<ChapterPoint> {
4550
4554
  * responses). It is produced by the opt-in auto-chapters pass over generated
4551
4555
  * captions (SubtitleTrack.generate_chapters).
4552
4556
  *
4553
- * Not yet populated: the auto-chapters feature is rolling out together with
4554
- * generated captions. Fields are documented here so consumers can code against
4555
- * the shape ahead of the rollout.
4557
+ * Not yet populated: the auto-chapters pass has not shipped yet. Fields are
4558
+ * documented here so consumers can code against the shape ahead of the
4559
+ * rollout.
4556
4560
  *
4557
4561
  * @generated from message transcodely.v1.ChapterResult
4558
4562
  */
@@ -4673,6 +4677,30 @@ declare class SubtitleResult extends Message<SubtitleResult> {
4673
4677
  * @generated from field: string transcript_url = 10;
4674
4678
  */
4675
4679
  transcriptUrl: string;
4680
+ /**
4681
+ * Ready-to-fetch HTTPS URL for the caption file, signed and time-limited.
4682
+ *
4683
+ * Points at the same object as url, but as a CDN URL a browser or player can
4684
+ * load — url is a raw storage URI ("s3://…") that no client can fetch.
4685
+ * Present only for jobs writing to Transcodely-managed storage (an
4686
+ * output_origin with provider "transcodely"); jobs writing to your own bucket
4687
+ * get nothing here and should sign url with their own credentials.
4688
+ *
4689
+ * Emitted on single-job reads (Get, Watch) and never on List, and expires —
4690
+ * 6 hours by default — so re-read the job for a fresh one rather than
4691
+ * storing it.
4692
+ *
4693
+ * @generated from field: optional string signed_url = 11;
4694
+ */
4695
+ signedUrl?: string;
4696
+ /**
4697
+ * Ready-to-fetch HTTPS URL for the segment transcript, signed and
4698
+ * time-limited. Same rules and lifetime as signed_url; set only for generate
4699
+ * tracks, which are the only ones carrying a transcript.
4700
+ *
4701
+ * @generated from field: optional string transcript_signed_url = 12;
4702
+ */
4703
+ transcriptSignedUrl?: string;
4676
4704
  constructor(data?: PartialMessage<SubtitleResult>);
4677
4705
  static readonly runtime: typeof proto3;
4678
4706
  static readonly typeName = "transcodely.v1.SubtitleResult";
@@ -4739,41 +4767,59 @@ declare enum EncryptionScheme {
4739
4767
  * Bring Your Own Key configuration.
4740
4768
  * Client provides their own encryption keys.
4741
4769
  *
4770
+ * Write-only apart from key_id. Every read — CreateJob, GetJob, ListJobs, the
4771
+ * Watch snapshots and the webhook payloads — returns key_id and nothing else;
4772
+ * the content key, the PSSH boxes and the FairPlay IV/URI are never echoed
4773
+ * back. Because key is a non-optional scalar it still appears on the wire as
4774
+ * the empty string; that means "never returned", not "empty key". A job read
4775
+ * back from the API therefore cannot be resubmitted verbatim — repopulate key
4776
+ * from your own records first.
4777
+ *
4778
+ * Outputs created before the key id got its own storage column (2026-07-30)
4779
+ * carry no key id and return no byok block at all. There is no backfill:
4780
+ * recovering their id would mean opening the encrypted config envelope.
4781
+ *
4742
4782
  * @generated from message transcodely.v1.BYOKConfig
4743
4783
  */
4744
4784
  declare class BYOKConfig extends Message<BYOKConfig> {
4745
4785
  /**
4746
4786
  * Key identifier (32 hex characters).
4747
4787
  *
4788
+ * The one BYOK field returned on reads. It names which key encrypted an
4789
+ * output — the way an API key's prefix and last-4 name the key — so the
4790
+ * key in use can be confirmed without keeping separate records.
4791
+ *
4748
4792
  * @generated from field: string key_id = 1;
4749
4793
  */
4750
4794
  keyId: string;
4751
4795
  /**
4752
4796
  * Content encryption key (32 hex characters).
4753
4797
  *
4798
+ * Write-only: encrypted at rest and never returned on any read.
4799
+ *
4754
4800
  * @generated from field: string key = 2;
4755
4801
  */
4756
4802
  key: string;
4757
4803
  /**
4758
- * Widevine PSSH box (base64-encoded, optional).
4804
+ * Widevine PSSH box (base64-encoded, optional). Write-only.
4759
4805
  *
4760
4806
  * @generated from field: optional string pssh_widevine = 3;
4761
4807
  */
4762
4808
  psshWidevine?: string;
4763
4809
  /**
4764
- * PlayReady PSSH XML (optional).
4810
+ * PlayReady PSSH XML (optional). Write-only.
4765
4811
  *
4766
4812
  * @generated from field: optional string pssh_playready = 4;
4767
4813
  */
4768
4814
  psshPlayready?: string;
4769
4815
  /**
4770
- * FairPlay initialization vector (32 hex characters).
4816
+ * FairPlay initialization vector (32 hex characters). Write-only.
4771
4817
  *
4772
4818
  * @generated from field: optional string fairplay_iv = 5;
4773
4819
  */
4774
4820
  fairplayIv?: string;
4775
4821
  /**
4776
- * FairPlay key server URI (skd:// scheme).
4822
+ * FairPlay key server URI (skd:// scheme). Write-only.
4777
4823
  *
4778
4824
  * @generated from field: optional string fairplay_uri = 6;
4779
4825
  */
@@ -4803,6 +4849,9 @@ declare class KeyServerConfig extends Message<KeyServerConfig> {
4803
4849
  /**
4804
4850
  * Authentication token for the key server.
4805
4851
  *
4852
+ * Write-only: encrypted at rest and never returned on any read. The other
4853
+ * two fields of this message are echoed back normally.
4854
+ *
4806
4855
  * @generated from field: optional string auth_token = 2;
4807
4856
  */
4808
4857
  authToken?: string;
@@ -4843,6 +4892,9 @@ declare class DRMConfig extends Message<DRMConfig> {
4843
4892
  /**
4844
4893
  * BYOK configuration (mutually exclusive with key_server).
4845
4894
  *
4895
+ * On reads this is a partial reveal: present with only key_id populated,
4896
+ * or absent entirely for outputs predating the key id column.
4897
+ *
4846
4898
  * @generated from field: optional transcodely.v1.BYOKConfig byok = 3;
4847
4899
  */
4848
4900
  byok?: BYOKConfig;
@@ -6781,6 +6833,24 @@ declare class ThumbnailResult extends Message<ThumbnailResult> {
6781
6833
  * @generated from field: int32 index = 7;
6782
6834
  */
6783
6835
  index: number;
6836
+ /**
6837
+ * Ready-to-fetch HTTPS URL for this thumbnail file, signed and time-limited.
6838
+ *
6839
+ * Points at the same object as url, but as a CDN URL a browser can load —
6840
+ * url is a raw storage URI ("s3://…") that no client can fetch. Present only
6841
+ * for jobs writing to Transcodely-managed storage (an output_origin with
6842
+ * provider "transcodely"); jobs writing to your own bucket get nothing here
6843
+ * and should sign url with their own credentials.
6844
+ *
6845
+ * Emitted on single-job reads (Get, Watch) and never on List, and expires —
6846
+ * 6 hours by default — so re-read the job for a fresh one rather than storing
6847
+ * it. The sprite mode's WebVTT sidecar (format "vtt") is signed so that the
6848
+ * sprite image its cues reference relatively inherits the same
6849
+ * authorization.
6850
+ *
6851
+ * @generated from field: optional string signed_url = 8;
6852
+ */
6853
+ signedUrl?: string;
6784
6854
  constructor(data?: PartialMessage<ThumbnailResult>);
6785
6855
  static readonly runtime: typeof proto3;
6786
6856
  static readonly typeName = "transcodely.v1.ThumbnailResult";
@@ -7641,7 +7711,14 @@ declare class JobOutput extends Message<JobOutput> {
7641
7711
  */
7642
7712
  errorCode?: string;
7643
7713
  /**
7644
- * Error message if failed.
7714
+ * Human-readable summary of why this output failed, in one or two sentences.
7715
+ *
7716
+ * Derived from error_code, not from the transcoder: this field never carries
7717
+ * raw tool output, command lines, stack traces, or file paths. Where a short
7718
+ * safe detail is available it is appended in parentheses, e.g. "(HTTP 404)".
7719
+ *
7720
+ * Match on error_code, not on this text. The wording is documentation, not
7721
+ * API surface, and may be reworded in any release.
7645
7722
  *
7646
7723
  * @generated from field: optional string error_message = 13;
7647
7724
  */
@@ -7720,6 +7797,28 @@ declare class JobOutput extends Message<JobOutput> {
7720
7797
  * @generated from field: repeated transcodely.v1.OutputVariantResult variant_results = 25;
7721
7798
  */
7722
7799
  variantResults: OutputVariantResult[];
7800
+ /**
7801
+ * Ready-to-fetch HTTPS URL for this output, signed and time-limited.
7802
+ *
7803
+ * Points at the same object as output_url — the media file for a progressive
7804
+ * output, the master playlist or MPD for HLS/DASH — but as a CDN URL a
7805
+ * browser or player can load, where output_url is a raw storage URI
7806
+ * ("s3://…") that no client can fetch.
7807
+ *
7808
+ * Present only when the job writes to Transcodely-managed storage (an
7809
+ * output_origin with provider "transcodely") and the output has completed.
7810
+ * Jobs writing to your own bucket get nothing here: we hold no delivery
7811
+ * domain for it, so read output_url and sign it with your own credentials.
7812
+ *
7813
+ * Emitted on single-job reads (Get, Watch) and never on List. The URL expires
7814
+ * — 6 hours by default — so treat it as a fetch handle, not a durable link:
7815
+ * re-read the job for a fresh one rather than storing it. For HLS and DASH it
7816
+ * is signed so that variant playlists and segments referenced by the manifest
7817
+ * inherit the same authorization.
7818
+ *
7819
+ * @generated from field: optional string signed_url = 26;
7820
+ */
7821
+ signedUrl?: string;
7723
7822
  constructor(data?: PartialMessage<JobOutput>);
7724
7823
  static readonly runtime: typeof proto3;
7725
7824
  static readonly typeName = "transcodely.v1.JobOutput";
@@ -8014,7 +8113,9 @@ declare class Job extends Message<Job> {
8014
8113
  */
8015
8114
  inputMetadata?: InputMetadata;
8016
8115
  /**
8017
- * Output renditions.
8116
+ * Output renditions, in the same order as the create request's `outputs`.
8117
+ * The order is stable across every read of the job, so indexing into this
8118
+ * array to find the rendition you asked for is safe.
8018
8119
  *
8019
8120
  * @generated from field: repeated transcodely.v1.JobOutput outputs = 7;
8020
8121
  */
@@ -8052,7 +8153,15 @@ declare class Job extends Message<Job> {
8052
8153
  */
8053
8154
  errorCode?: string;
8054
8155
  /**
8055
- * Error message if status is FAILED.
8156
+ * Human-readable summary of why the job failed, in one or two sentences.
8157
+ *
8158
+ * Derived from error_code, not from the transcoder: this field never carries
8159
+ * raw tool output, command lines, stack traces, or file paths. Where a short
8160
+ * safe detail is available it is appended in parentheses, e.g. "(HTTP 404)".
8161
+ * The same text reaches you on the job.failed webhook payload.
8162
+ *
8163
+ * Match on error_code, not on this text. The wording is documentation, not
8164
+ * API surface, and may be reworded in any release.
8056
8165
  *
8057
8166
  * @generated from field: optional string error_message = 11;
8058
8167
  */
@@ -8223,8 +8332,8 @@ declare class Job extends Message<Job> {
8223
8332
  inputVideoId: string;
8224
8333
  /**
8225
8334
  * Auto-generated chapter tracks, one per output whose generated caption track
8226
- * had chapters enabled (SubtitleTrack.generate_chapters). Not yet populated:
8227
- * the auto-chapters feature is rolling out together with generated captions.
8335
+ * had chapters enabled (SubtitleTrack.generate_chapters). Populated once the
8336
+ * auto-chapters pass ships; empty until then.
8228
8337
  *
8229
8338
  * @generated from field: repeated transcodely.v1.ChapterResult chapter_results = 35;
8230
8339
  */
@@ -13208,7 +13317,7 @@ declare class Transcodely {
13208
13317
  }
13209
13318
 
13210
13319
  /** SDK version. Bumped by release-please from package.json on each tag. */
13211
- declare const SDK_VERSION = "0.3.1";
13320
+ declare const SDK_VERSION = "0.3.2";
13212
13321
  /**
13213
13322
  * API version this SDK release is pinned to. Sent on every request as
13214
13323
  * `Transcodely-Version`. Customers can override per-client via the
package/dist/index.d.ts CHANGED
@@ -3961,7 +3961,11 @@ declare enum HDRMode {
3961
3961
  */
3962
3962
  HDR_MODE_PASSTHROUGH = 1,
3963
3963
  /**
3964
- * Convert HDR to SDR via tone mapping.
3964
+ * Convert HDR to SDR via tone mapping. Requires an HDR input: whether the
3965
+ * input carries HDR color signaling is only knowable once it has been
3966
+ * probed, so a tone-map job on an SDR source is accepted at create and then
3967
+ * fails at probe time with error code `input_not_hdr`, before any encode
3968
+ * starts.
3965
3969
  *
3966
3970
  * @generated from enum value: HDR_MODE_TONEMAP = 2;
3967
3971
  */
@@ -4492,12 +4496,12 @@ declare class SubtitleTrack extends Message<SubtitleTrack> {
4492
4496
  /**
4493
4497
  * Generate an AI chapters track from the transcript this track produces.
4494
4498
  *
4495
- * Only meaningful together with the (upcoming) `generate` subtitle operation:
4496
- * when enabled, an AI pass over the generated transcript produces a chapters
4499
+ * Only meaningful together with the `generate` subtitle operation: when
4500
+ * enabled, an AI pass over the generated transcript produces a chapters
4497
4501
  * track delivered as WebVTT plus JSON. Free — no pricing impact. The
4498
4502
  * transcript text is processed via the Anthropic API (an external
4499
- * subprocessor). Until the `generate` operation ships, setting this is
4500
- * rejected at job creation.
4503
+ * subprocessor). Caption generation is available; the auto-chapters pass is
4504
+ * not yet, so setting this is still rejected at job creation.
4501
4505
  *
4502
4506
  * @generated from field: optional bool generate_chapters = 12;
4503
4507
  */
@@ -4550,9 +4554,9 @@ declare class ChapterPoint extends Message<ChapterPoint> {
4550
4554
  * responses). It is produced by the opt-in auto-chapters pass over generated
4551
4555
  * captions (SubtitleTrack.generate_chapters).
4552
4556
  *
4553
- * Not yet populated: the auto-chapters feature is rolling out together with
4554
- * generated captions. Fields are documented here so consumers can code against
4555
- * the shape ahead of the rollout.
4557
+ * Not yet populated: the auto-chapters pass has not shipped yet. Fields are
4558
+ * documented here so consumers can code against the shape ahead of the
4559
+ * rollout.
4556
4560
  *
4557
4561
  * @generated from message transcodely.v1.ChapterResult
4558
4562
  */
@@ -4673,6 +4677,30 @@ declare class SubtitleResult extends Message<SubtitleResult> {
4673
4677
  * @generated from field: string transcript_url = 10;
4674
4678
  */
4675
4679
  transcriptUrl: string;
4680
+ /**
4681
+ * Ready-to-fetch HTTPS URL for the caption file, signed and time-limited.
4682
+ *
4683
+ * Points at the same object as url, but as a CDN URL a browser or player can
4684
+ * load — url is a raw storage URI ("s3://…") that no client can fetch.
4685
+ * Present only for jobs writing to Transcodely-managed storage (an
4686
+ * output_origin with provider "transcodely"); jobs writing to your own bucket
4687
+ * get nothing here and should sign url with their own credentials.
4688
+ *
4689
+ * Emitted on single-job reads (Get, Watch) and never on List, and expires —
4690
+ * 6 hours by default — so re-read the job for a fresh one rather than
4691
+ * storing it.
4692
+ *
4693
+ * @generated from field: optional string signed_url = 11;
4694
+ */
4695
+ signedUrl?: string;
4696
+ /**
4697
+ * Ready-to-fetch HTTPS URL for the segment transcript, signed and
4698
+ * time-limited. Same rules and lifetime as signed_url; set only for generate
4699
+ * tracks, which are the only ones carrying a transcript.
4700
+ *
4701
+ * @generated from field: optional string transcript_signed_url = 12;
4702
+ */
4703
+ transcriptSignedUrl?: string;
4676
4704
  constructor(data?: PartialMessage<SubtitleResult>);
4677
4705
  static readonly runtime: typeof proto3;
4678
4706
  static readonly typeName = "transcodely.v1.SubtitleResult";
@@ -4739,41 +4767,59 @@ declare enum EncryptionScheme {
4739
4767
  * Bring Your Own Key configuration.
4740
4768
  * Client provides their own encryption keys.
4741
4769
  *
4770
+ * Write-only apart from key_id. Every read — CreateJob, GetJob, ListJobs, the
4771
+ * Watch snapshots and the webhook payloads — returns key_id and nothing else;
4772
+ * the content key, the PSSH boxes and the FairPlay IV/URI are never echoed
4773
+ * back. Because key is a non-optional scalar it still appears on the wire as
4774
+ * the empty string; that means "never returned", not "empty key". A job read
4775
+ * back from the API therefore cannot be resubmitted verbatim — repopulate key
4776
+ * from your own records first.
4777
+ *
4778
+ * Outputs created before the key id got its own storage column (2026-07-30)
4779
+ * carry no key id and return no byok block at all. There is no backfill:
4780
+ * recovering their id would mean opening the encrypted config envelope.
4781
+ *
4742
4782
  * @generated from message transcodely.v1.BYOKConfig
4743
4783
  */
4744
4784
  declare class BYOKConfig extends Message<BYOKConfig> {
4745
4785
  /**
4746
4786
  * Key identifier (32 hex characters).
4747
4787
  *
4788
+ * The one BYOK field returned on reads. It names which key encrypted an
4789
+ * output — the way an API key's prefix and last-4 name the key — so the
4790
+ * key in use can be confirmed without keeping separate records.
4791
+ *
4748
4792
  * @generated from field: string key_id = 1;
4749
4793
  */
4750
4794
  keyId: string;
4751
4795
  /**
4752
4796
  * Content encryption key (32 hex characters).
4753
4797
  *
4798
+ * Write-only: encrypted at rest and never returned on any read.
4799
+ *
4754
4800
  * @generated from field: string key = 2;
4755
4801
  */
4756
4802
  key: string;
4757
4803
  /**
4758
- * Widevine PSSH box (base64-encoded, optional).
4804
+ * Widevine PSSH box (base64-encoded, optional). Write-only.
4759
4805
  *
4760
4806
  * @generated from field: optional string pssh_widevine = 3;
4761
4807
  */
4762
4808
  psshWidevine?: string;
4763
4809
  /**
4764
- * PlayReady PSSH XML (optional).
4810
+ * PlayReady PSSH XML (optional). Write-only.
4765
4811
  *
4766
4812
  * @generated from field: optional string pssh_playready = 4;
4767
4813
  */
4768
4814
  psshPlayready?: string;
4769
4815
  /**
4770
- * FairPlay initialization vector (32 hex characters).
4816
+ * FairPlay initialization vector (32 hex characters). Write-only.
4771
4817
  *
4772
4818
  * @generated from field: optional string fairplay_iv = 5;
4773
4819
  */
4774
4820
  fairplayIv?: string;
4775
4821
  /**
4776
- * FairPlay key server URI (skd:// scheme).
4822
+ * FairPlay key server URI (skd:// scheme). Write-only.
4777
4823
  *
4778
4824
  * @generated from field: optional string fairplay_uri = 6;
4779
4825
  */
@@ -4803,6 +4849,9 @@ declare class KeyServerConfig extends Message<KeyServerConfig> {
4803
4849
  /**
4804
4850
  * Authentication token for the key server.
4805
4851
  *
4852
+ * Write-only: encrypted at rest and never returned on any read. The other
4853
+ * two fields of this message are echoed back normally.
4854
+ *
4806
4855
  * @generated from field: optional string auth_token = 2;
4807
4856
  */
4808
4857
  authToken?: string;
@@ -4843,6 +4892,9 @@ declare class DRMConfig extends Message<DRMConfig> {
4843
4892
  /**
4844
4893
  * BYOK configuration (mutually exclusive with key_server).
4845
4894
  *
4895
+ * On reads this is a partial reveal: present with only key_id populated,
4896
+ * or absent entirely for outputs predating the key id column.
4897
+ *
4846
4898
  * @generated from field: optional transcodely.v1.BYOKConfig byok = 3;
4847
4899
  */
4848
4900
  byok?: BYOKConfig;
@@ -6781,6 +6833,24 @@ declare class ThumbnailResult extends Message<ThumbnailResult> {
6781
6833
  * @generated from field: int32 index = 7;
6782
6834
  */
6783
6835
  index: number;
6836
+ /**
6837
+ * Ready-to-fetch HTTPS URL for this thumbnail file, signed and time-limited.
6838
+ *
6839
+ * Points at the same object as url, but as a CDN URL a browser can load —
6840
+ * url is a raw storage URI ("s3://…") that no client can fetch. Present only
6841
+ * for jobs writing to Transcodely-managed storage (an output_origin with
6842
+ * provider "transcodely"); jobs writing to your own bucket get nothing here
6843
+ * and should sign url with their own credentials.
6844
+ *
6845
+ * Emitted on single-job reads (Get, Watch) and never on List, and expires —
6846
+ * 6 hours by default — so re-read the job for a fresh one rather than storing
6847
+ * it. The sprite mode's WebVTT sidecar (format "vtt") is signed so that the
6848
+ * sprite image its cues reference relatively inherits the same
6849
+ * authorization.
6850
+ *
6851
+ * @generated from field: optional string signed_url = 8;
6852
+ */
6853
+ signedUrl?: string;
6784
6854
  constructor(data?: PartialMessage<ThumbnailResult>);
6785
6855
  static readonly runtime: typeof proto3;
6786
6856
  static readonly typeName = "transcodely.v1.ThumbnailResult";
@@ -7641,7 +7711,14 @@ declare class JobOutput extends Message<JobOutput> {
7641
7711
  */
7642
7712
  errorCode?: string;
7643
7713
  /**
7644
- * Error message if failed.
7714
+ * Human-readable summary of why this output failed, in one or two sentences.
7715
+ *
7716
+ * Derived from error_code, not from the transcoder: this field never carries
7717
+ * raw tool output, command lines, stack traces, or file paths. Where a short
7718
+ * safe detail is available it is appended in parentheses, e.g. "(HTTP 404)".
7719
+ *
7720
+ * Match on error_code, not on this text. The wording is documentation, not
7721
+ * API surface, and may be reworded in any release.
7645
7722
  *
7646
7723
  * @generated from field: optional string error_message = 13;
7647
7724
  */
@@ -7720,6 +7797,28 @@ declare class JobOutput extends Message<JobOutput> {
7720
7797
  * @generated from field: repeated transcodely.v1.OutputVariantResult variant_results = 25;
7721
7798
  */
7722
7799
  variantResults: OutputVariantResult[];
7800
+ /**
7801
+ * Ready-to-fetch HTTPS URL for this output, signed and time-limited.
7802
+ *
7803
+ * Points at the same object as output_url — the media file for a progressive
7804
+ * output, the master playlist or MPD for HLS/DASH — but as a CDN URL a
7805
+ * browser or player can load, where output_url is a raw storage URI
7806
+ * ("s3://…") that no client can fetch.
7807
+ *
7808
+ * Present only when the job writes to Transcodely-managed storage (an
7809
+ * output_origin with provider "transcodely") and the output has completed.
7810
+ * Jobs writing to your own bucket get nothing here: we hold no delivery
7811
+ * domain for it, so read output_url and sign it with your own credentials.
7812
+ *
7813
+ * Emitted on single-job reads (Get, Watch) and never on List. The URL expires
7814
+ * — 6 hours by default — so treat it as a fetch handle, not a durable link:
7815
+ * re-read the job for a fresh one rather than storing it. For HLS and DASH it
7816
+ * is signed so that variant playlists and segments referenced by the manifest
7817
+ * inherit the same authorization.
7818
+ *
7819
+ * @generated from field: optional string signed_url = 26;
7820
+ */
7821
+ signedUrl?: string;
7723
7822
  constructor(data?: PartialMessage<JobOutput>);
7724
7823
  static readonly runtime: typeof proto3;
7725
7824
  static readonly typeName = "transcodely.v1.JobOutput";
@@ -8014,7 +8113,9 @@ declare class Job extends Message<Job> {
8014
8113
  */
8015
8114
  inputMetadata?: InputMetadata;
8016
8115
  /**
8017
- * Output renditions.
8116
+ * Output renditions, in the same order as the create request's `outputs`.
8117
+ * The order is stable across every read of the job, so indexing into this
8118
+ * array to find the rendition you asked for is safe.
8018
8119
  *
8019
8120
  * @generated from field: repeated transcodely.v1.JobOutput outputs = 7;
8020
8121
  */
@@ -8052,7 +8153,15 @@ declare class Job extends Message<Job> {
8052
8153
  */
8053
8154
  errorCode?: string;
8054
8155
  /**
8055
- * Error message if status is FAILED.
8156
+ * Human-readable summary of why the job failed, in one or two sentences.
8157
+ *
8158
+ * Derived from error_code, not from the transcoder: this field never carries
8159
+ * raw tool output, command lines, stack traces, or file paths. Where a short
8160
+ * safe detail is available it is appended in parentheses, e.g. "(HTTP 404)".
8161
+ * The same text reaches you on the job.failed webhook payload.
8162
+ *
8163
+ * Match on error_code, not on this text. The wording is documentation, not
8164
+ * API surface, and may be reworded in any release.
8056
8165
  *
8057
8166
  * @generated from field: optional string error_message = 11;
8058
8167
  */
@@ -8223,8 +8332,8 @@ declare class Job extends Message<Job> {
8223
8332
  inputVideoId: string;
8224
8333
  /**
8225
8334
  * Auto-generated chapter tracks, one per output whose generated caption track
8226
- * had chapters enabled (SubtitleTrack.generate_chapters). Not yet populated:
8227
- * the auto-chapters feature is rolling out together with generated captions.
8335
+ * had chapters enabled (SubtitleTrack.generate_chapters). Populated once the
8336
+ * auto-chapters pass ships; empty until then.
8228
8337
  *
8229
8338
  * @generated from field: repeated transcodely.v1.ChapterResult chapter_results = 35;
8230
8339
  */
@@ -13208,7 +13317,7 @@ declare class Transcodely {
13208
13317
  }
13209
13318
 
13210
13319
  /** SDK version. Bumped by release-please from package.json on each tag. */
13211
- declare const SDK_VERSION = "0.3.1";
13320
+ declare const SDK_VERSION = "0.3.2";
13212
13321
  /**
13213
13322
  * API version this SDK release is pinned to. Sent on every request as
13214
13323
  * `Transcodely-Version`. Customers can override per-client via the