@transcodely/sdk 0.1.3 → 0.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.
package/dist/index.d.cts CHANGED
@@ -438,31 +438,6 @@ declare class FieldViolation$1 extends Message<FieldViolation$1> {
438
438
  static equals(a: FieldViolation$1 | PlainMessage<FieldViolation$1> | undefined, b: FieldViolation$1 | PlainMessage<FieldViolation$1> | undefined): boolean;
439
439
  }
440
440
 
441
- /**
442
- * API key environment.
443
- *
444
- * @generated from enum transcodely.v1.APIKeyEnvironment
445
- */
446
- declare enum APIKeyEnvironment {
447
- /**
448
- * Default value, should not be used.
449
- *
450
- * @generated from enum value: API_KEY_ENVIRONMENT_UNSPECIFIED = 0;
451
- */
452
- API_KEY_ENVIRONMENT_UNSPECIFIED = 0,
453
- /**
454
- * Production environment (ak_live_...).
455
- *
456
- * @generated from enum value: API_KEY_ENVIRONMENT_LIVE = 1;
457
- */
458
- API_KEY_ENVIRONMENT_LIVE = 1,
459
- /**
460
- * Sandbox/development environment (ak_test_...).
461
- *
462
- * @generated from enum value: API_KEY_ENVIRONMENT_TEST = 2;
463
- */
464
- API_KEY_ENVIRONMENT_TEST = 2
465
- }
466
441
  /**
467
442
  * An API key for programmatic access.
468
443
  * Note: The actual secret is only returned during creation.
@@ -489,7 +464,7 @@ declare class APIKey extends Message<APIKey> {
489
464
  */
490
465
  description: string;
491
466
  /**
492
- * Key prefix for identification (e.g., "ak_live_" or "ak_test_").
467
+ * Key prefix for identification (e.g., "ak_...").
493
468
  * Safe to display in logs and dashboards.
494
469
  *
495
470
  * @generated from field: string key_prefix = 4;
@@ -502,12 +477,6 @@ declare class APIKey extends Message<APIKey> {
502
477
  * @generated from field: string key_hint = 5;
503
478
  */
504
479
  keyHint: string;
505
- /**
506
- * Environment the key is valid for.
507
- *
508
- * @generated from field: transcodely.v1.APIKeyEnvironment environment = 6;
509
- */
510
- environment: APIKeyEnvironment;
511
480
  /**
512
481
  * Permission scopes (empty means full access).
513
482
  * Future: granular permissions like "jobs:read", "jobs:write".
@@ -572,12 +541,6 @@ declare class CreateAPIKeyRequest extends Message<CreateAPIKeyRequest> {
572
541
  * @generated from field: string description = 2;
573
542
  */
574
543
  description: string;
575
- /**
576
- * Environment for the key.
577
- *
578
- * @generated from field: transcodely.v1.APIKeyEnvironment environment = 3;
579
- */
580
- environment: APIKeyEnvironment;
581
544
  /**
582
545
  * Optional expiration time. Null means the key never expires.
583
546
  *
@@ -677,12 +640,6 @@ declare class GetAPIKeyResponse extends Message<GetAPIKeyResponse> {
677
640
  * @generated from message transcodely.v1.ListAPIKeysRequest
678
641
  */
679
642
  declare class ListAPIKeysRequest extends Message<ListAPIKeysRequest> {
680
- /**
681
- * Optional filter by environment.
682
- *
683
- * @generated from field: optional transcodely.v1.APIKeyEnvironment environment = 1;
684
- */
685
- environment?: APIKeyEnvironment;
686
643
  /**
687
644
  * If true, include revoked keys in the response.
688
645
  *
@@ -1882,13 +1839,6 @@ declare class Event extends Message<Event> {
1882
1839
  * @generated from field: string api_version = 8;
1883
1840
  */
1884
1841
  apiVersion: string;
1885
- /**
1886
- * True when the event was emitted from production (live mode) traffic.
1887
- * Reserved for a future test-mode concept; always `true` today.
1888
- *
1889
- * @generated from field: bool livemode = 9;
1890
- */
1891
- livemode: boolean;
1892
1842
  /**
1893
1843
  * Resource type discriminator. Always "event" for this message.
1894
1844
  * Mirrored into the webhook envelope as the top-level `object`.
@@ -1931,8 +1881,11 @@ declare class WebhookDelivery extends Message<WebhookDelivery> {
1931
1881
  */
1932
1882
  eventId: string;
1933
1883
  /**
1934
- * Delivery status: "pending", "succeeded", or "failed".
1935
- * Wire value is lowercase per project convention.
1884
+ * Delivery status: "pending", "succeeded", "failed", or "exhausted".
1885
+ * "exhausted" means the retry curve ran out (attempt 15) without a success;
1886
+ * "failed" is a single failed attempt (a retry may still be scheduled) or an
1887
+ * early stop on a non-retryable 4xx. Wire value is lowercase per project
1888
+ * convention.
1936
1889
  *
1937
1890
  * @generated from field: string status = 4;
1938
1891
  */
@@ -1985,7 +1938,8 @@ declare class WebhookDelivery extends Message<WebhookDelivery> {
1985
1938
  latencyMs?: number;
1986
1939
  /**
1987
1940
  * Reason a response was not received. Absent when response_status is set.
1988
- * One of: "timeout", "connection_refused", "dns_failure",
1941
+ * One of: "timeout", "connection_refused", "connection_reset",
1942
+ * "connection_closed", "host_unreachable", "dns_failure",
1989
1943
  * "tls_handshake_failed", "ssrf_blocked", "unknown".
1990
1944
  * Wire value is lowercase per project convention.
1991
1945
  *
@@ -2004,6 +1958,15 @@ declare class WebhookDelivery extends Message<WebhookDelivery> {
2004
1958
  * @generated from field: optional string response_headers = 13;
2005
1959
  */
2006
1960
  responseHeaders?: string;
1961
+ /**
1962
+ * Human-readable detail for the failure: the transport error text when
1963
+ * transport_error is set, or "non-2xx response: <status>" for a completed
1964
+ * request that the endpoint rejected. Absent for pending or succeeded
1965
+ * deliveries.
1966
+ *
1967
+ * @generated from field: optional string error_message = 14;
1968
+ */
1969
+ errorMessage?: string;
2007
1970
  constructor(data?: PartialMessage<WebhookDelivery>);
2008
1971
  static readonly runtime: typeof proto3;
2009
1972
  static readonly typeName = "transcodely.v1.WebhookDelivery";
@@ -2584,7 +2547,7 @@ declare class ListWebhookDeliveriesRequest extends Message<ListWebhookDeliveries
2584
2547
  */
2585
2548
  eventId?: string;
2586
2549
  /**
2587
- * Filter by status: "pending", "succeeded", or "failed".
2550
+ * Filter by status: "pending", "succeeded", "failed", or "exhausted".
2588
2551
  *
2589
2552
  * @generated from field: optional string status = 3;
2590
2553
  */
@@ -5323,13 +5286,16 @@ declare class VideoStreamInfo extends Message<VideoStreamInfo> {
5323
5286
  */
5324
5287
  codec: string;
5325
5288
  /**
5326
- * Frame width in pixels.
5289
+ * Frame width in pixels, as displayed (container rotation applied).
5290
+ * For a portrait phone recording stored as 1920x1440 with a 90° rotation
5291
+ * side-matrix this is 1440 — matching the media players render and the
5292
+ * outputs Transcodely produces. See `rotation` for the stored orientation.
5327
5293
  *
5328
5294
  * @generated from field: int32 width = 2;
5329
5295
  */
5330
5296
  width: number;
5331
5297
  /**
5332
- * Frame height in pixels.
5298
+ * Frame height in pixels, as displayed (container rotation applied).
5333
5299
  *
5334
5300
  * @generated from field: int32 height = 3;
5335
5301
  */
@@ -5401,7 +5367,9 @@ declare class VideoStreamInfo extends Message<VideoStreamInfo> {
5401
5367
  */
5402
5368
  frameCount?: bigint;
5403
5369
  /**
5404
- * Display aspect ratio as string (e.g., "16:9", "2.35:1").
5370
+ * Display aspect ratio as string (e.g., "16:9", "2.35:1"), rotation-aware:
5371
+ * for a 90°/270° rotated stream the ratio describes the displayed frame
5372
+ * (consistent with width/height above), not the coded one.
5405
5373
  *
5406
5374
  * @generated from field: optional string display_aspect_ratio = 15;
5407
5375
  */
@@ -5412,6 +5380,16 @@ declare class VideoStreamInfo extends Message<VideoStreamInfo> {
5412
5380
  * @generated from field: optional string sample_aspect_ratio = 16;
5413
5381
  */
5414
5382
  sampleAspectRatio?: string;
5383
+ /**
5384
+ * Container-level rotation metadata in degrees clockwise: 0, 90, 180 or
5385
+ * 270. Parsed from the display-matrix side data (or legacy rotate tag).
5386
+ * width/height/display_aspect_ratio already have this rotation applied;
5387
+ * the field is informational so callers can recover the coded orientation.
5388
+ * Absent when the stream carries no rotation metadata.
5389
+ *
5390
+ * @generated from field: optional int32 rotation = 17;
5391
+ */
5392
+ rotation?: number;
5415
5393
  constructor(data?: PartialMessage<VideoStreamInfo>);
5416
5394
  static readonly runtime: typeof proto3;
5417
5395
  static readonly typeName = "transcodely.v1.VideoStreamInfo";
@@ -6646,6 +6624,38 @@ declare class JobOutput extends Message<JobOutput> {
6646
6624
  * @generated from field: string object = 21;
6647
6625
  */
6648
6626
  object: string;
6627
+ /**
6628
+ * Actual encoded frame width in pixels, measured from the produced media
6629
+ * (rotation applied, so it matches what players display). For multi-variant
6630
+ * outputs (ABR ladders) this is the highest-resolution variant's width;
6631
+ * per-variant dimensions are in variant_results. Set when completed.
6632
+ *
6633
+ * @generated from field: optional int32 width = 22;
6634
+ */
6635
+ width?: number;
6636
+ /**
6637
+ * Actual encoded frame height in pixels (see width for semantics).
6638
+ *
6639
+ * @generated from field: optional int32 height = 23;
6640
+ */
6641
+ height?: number;
6642
+ /**
6643
+ * Measured average bitrate of the encoded output in kbps
6644
+ * (total bytes × 8 / encoded duration). For multi-variant outputs this
6645
+ * aggregates all variants; per-variant bitrates are in variant_results.
6646
+ * Set when completed.
6647
+ *
6648
+ * @generated from field: optional int32 average_bitrate_kbps = 24;
6649
+ */
6650
+ averageBitrateKbps?: number;
6651
+ /**
6652
+ * Per-variant encode results for multi-variant outputs (ABR ladders),
6653
+ * indexed like variant_pricing. Empty for single-variant outputs (use
6654
+ * width/height/average_bitrate_kbps instead). Set when completed.
6655
+ *
6656
+ * @generated from field: repeated transcodely.v1.OutputVariantResult variant_results = 25;
6657
+ */
6658
+ variantResults: OutputVariantResult[];
6649
6659
  constructor(data?: PartialMessage<JobOutput>);
6650
6660
  static readonly runtime: typeof proto3;
6651
6661
  static readonly typeName = "transcodely.v1.JobOutput";
@@ -6655,6 +6665,53 @@ declare class JobOutput extends Message<JobOutput> {
6655
6665
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobOutput;
6656
6666
  static equals(a: JobOutput | PlainMessage<JobOutput> | undefined, b: JobOutput | PlainMessage<JobOutput> | undefined): boolean;
6657
6667
  }
6668
+ /**
6669
+ * Measured encode results for one variant of a multi-variant output.
6670
+ * Reported by the worker after encoding; index matches the variant's
6671
+ * position in the output spec (and VariantPricingSnapshot.index).
6672
+ *
6673
+ * @generated from message transcodely.v1.OutputVariantResult
6674
+ */
6675
+ declare class OutputVariantResult extends Message<OutputVariantResult> {
6676
+ /**
6677
+ * Variant index within the output (0-based).
6678
+ *
6679
+ * @generated from field: int32 index = 1;
6680
+ */
6681
+ index: number;
6682
+ /**
6683
+ * Actual encoded frame width in pixels.
6684
+ *
6685
+ * @generated from field: int32 width = 2;
6686
+ */
6687
+ width: number;
6688
+ /**
6689
+ * Actual encoded frame height in pixels.
6690
+ *
6691
+ * @generated from field: int32 height = 3;
6692
+ */
6693
+ height: number;
6694
+ /**
6695
+ * Measured average bitrate for this variant in kbps.
6696
+ *
6697
+ * @generated from field: optional int32 average_bitrate_kbps = 4;
6698
+ */
6699
+ averageBitrateKbps?: number;
6700
+ /**
6701
+ * Total encoded size of this variant in bytes.
6702
+ *
6703
+ * @generated from field: optional int64 size_bytes = 5;
6704
+ */
6705
+ sizeBytes?: bigint;
6706
+ constructor(data?: PartialMessage<OutputVariantResult>);
6707
+ static readonly runtime: typeof proto3;
6708
+ static readonly typeName = "transcodely.v1.OutputVariantResult";
6709
+ static readonly fields: FieldList;
6710
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OutputVariantResult;
6711
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OutputVariantResult;
6712
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OutputVariantResult;
6713
+ static equals(a: OutputVariantResult | PlainMessage<OutputVariantResult> | undefined, b: OutputVariantResult | PlainMessage<OutputVariantResult> | undefined): boolean;
6714
+ }
6658
6715
  /**
6659
6716
  * Execution timing and telemetry for a job.
6660
6717
  * Populated after job processing begins. All durations are in milliseconds.
@@ -8555,8 +8612,6 @@ interface EventBase {
8555
8612
  apiVersion: string;
8556
8613
  /** RFC 3339 UTC timestamp of when the event was created. */
8557
8614
  created: string;
8558
- /** `true` for production-mode events. Reserved for a future test-mode concept. */
8559
- livemode: boolean;
8560
8615
  /** Number of delivery attempts still pending across all subscribed endpoints. */
8561
8616
  pendingWebhooks: number;
8562
8617
  /**
@@ -11037,7 +11092,7 @@ declare class Transcodely {
11037
11092
  }
11038
11093
 
11039
11094
  /** SDK version. Bumped by release-please from package.json on each tag. */
11040
- declare const SDK_VERSION = "0.1.3";
11095
+ declare const SDK_VERSION = "0.2.0";
11041
11096
  /**
11042
11097
  * API version this SDK release is pinned to. Sent on every request as
11043
11098
  * `Transcodely-Version`. Customers can override per-client via the
@@ -11047,4 +11102,4 @@ declare const API_VERSION = "2026-05-03";
11047
11102
  /** Default base URL for the production Transcodely API. */
11048
11103
  declare const DEFAULT_BASE_URL = "https://api.transcodely.com";
11049
11104
 
11050
- export { APIConnectionError, APIError, Event as APIEvent, APIKey, APIKeyEnvironment, API_VERSION, AV1Options, AbortMultipartUploadRequest, App, AppStatus, ArchiveAppRequest, ArchiveOriginRequest, ArchivePresetRequest, AudioCodec, AudioSettings, AudioStreamInfo, AudioTrackConfig, AuthenticationError, AutoABRConfig, AutoProfileDefaults, BYOKConfig, BitrateMode, BurnInStyle, type CallOptions, CancelJobRequest, CancelJobResponse, CheckSlugRequest, CheckSlugResponse, CompleteMultipartUploadRequest, CompleteMultipartUploadResponse, CompleteUploadRequest, CompleteUploadResponse, CompletedPart, ConfirmJobRequest, ConfirmJobResponse, ConflictError, Container, ContentAnalysis, ContentAwareConfig, ContentAwareMode, ContentType, CreateAPIKeyRequest, CreateAPIKeyResponse, CreateAppRequest, CreateAppResponse, CreateJobRequest, CreateJobResponse, CreateMultipartUploadRequest, CreateMultipartUploadResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateOriginRequest, CreateOriginResponse, CreatePresetRequest, CreatePresetResponse, CreateUploadRequest, CreateUploadResponse, CreateWebhookConfig, CreateWebhookEndpointRequest, CreateWebhookEndpointResponse, DASHConfig, DEFAULT_BASE_URL, DEFAULT_TOLERANCE_SECONDS, DRMConfig, DRMSystem, DeleteVideoRequest, DeleteWebhookEndpointRequest, DeleteWebhookEndpointResponse, DeliveryFormat, DuplicatePresetRequest, DuplicatePresetResponse, EVENT_ID_HEADER, EnableHostingRequest, EnableHostingResponse, EncryptionScheme, ErrorDetails, type EventBase, ExecutionTiming, type FieldViolation, GOPAlignmentMode, GcsCredentials, GcsOriginConfig, GetAPIKeyRequest, GetAPIKeyResponse, GetAppRequest, GetAppResponse, GetEndpointHealthRequest, GetEndpointHealthResponse, GetJobRequest, GetJobResponse, GetMeRequest, GetMeResponse, GetMembershipRequest, GetMembershipResponse, GetOrganizationRequest, GetOrganizationResponse, GetOriginRequest, GetOriginResponse, GetPresetBySlugRequest, GetPresetBySlugResponse, GetPresetRequest, GetPresetResponse, GetUploadPartUrlsRequest, GetUploadPartUrlsResponse, GetUsageRequest, GetUsageResponse, GetUserRequest, GetUserResponse, GetVideoRequest, GetVideoResponse, H264Options, H265Options, HDRConfig, HDRFormat, HDRMode, HLSConfig, HLSPlaylistType, HLSSegmentFormat, HealthBucket, HostingConfig, HttpCredentials, HttpOriginConfig, InputMetadata, InvalidRequestError, Job, JobOutput, JobPriority, JobStatus, KeyServerConfig, ListAPIKeysRequest, ListAPIKeysResponse, ListAppsRequest, ListAppsResponse, ListEventsRequest, ListEventsResponse, ListJobsRequest, ListJobsResponse, ListMembershipsRequest, ListMembershipsResponse, ListOrganizationsRequest, ListOrganizationsResponse, ListOriginsRequest, ListOriginsResponse, ListPresetsRequest, ListPresetsResponse, ListUsersRequest, ListUsersResponse, ListVideosRequest, ListVideosResponse, ListWebhookDeliveriesRequest, ListWebhookDeliveriesResponse, ListWebhookEndpointsRequest, ListWebhookEndpointsResponse, type LogEvent, Membership, MembershipRole, MembershipStatus, MembershipWithUser, NotFoundError, Organization, OrganizationStatus, Origin, OriginPermission, OriginProvider, OriginRef, OriginStatus, OutputFormat, OutputSpec, OutputStatus, Page, PaginationRequest, PaginationResponse, PermissionError, PreconditionError, Preset, PresetVariant, PricingSnapshot, QualityTier, R2Jurisdiction, R2OriginConfig, RateLimitError, RemoveMembershipRequest, ResendEventRequest, ResendEventResponse, Resolution, RetrieveEventRequest, RetrieveEventResponse, RetrieveWebhookEndpointRequest, RetrieveWebhookEndpointResponse, RevokeAPIKeyRequest, RotateWebhookSecretRequest, RotateWebhookSecretResponse, S3Credentials, S3OriginConfig, SDK_VERSION, SIGNATURE_HEADER, SegmentConfig, SendTestWebhookRequest, SendTestWebhookResponse, StreamingConfig, SubtitleFormat, SubtitleOperation, SubtitleStreamInfo, SubtitleTrack, ThumbnailFormat, ThumbnailMode, ThumbnailResult, ThumbnailSpec, ToneMapping, Transcodely, type TranscodelyConfig, TranscodelyError, UpdateAppRequest, UpdateAppResponse, UpdateHostingConfigRequest, UpdateHostingConfigResponse, UpdateMeRequest, UpdateMeResponse, UpdateMembershipRoleRequest, UpdateMembershipRoleResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateOriginRequest, UpdateOriginResponse, UpdatePresetRequest, UpdatePresetResponse, UpdateVideoRequest, UpdateVideoResponse, UpdateWebhookConfig, UpdateWebhookEndpointRequest, UpdateWebhookEndpointResponse, UploadPart, UsageSummary, User, UserApprovalStatus, UserOrganization, UserStatus, UserWithOrganizations, VP9Options, ValidateOriginRequest, ValidateOriginResponse, ValidationResult, VariantPricingSnapshot, type VerifyOptions, Video, VideoCodec, VideoRendition, VideoSettings, VideoStatus, VideoStreamInfo, VideoVariant, VideoVisibility, WEBHOOK_EVENT_TYPES, WatchEventType, WatchJobRequest, WatchJobResponse, WatchVideoRequest, WatchVideoResponse, WebhookConfig, WebhookDelivery, WebhookEndpoint, WebhookError, type WebhookEvent, type WebhookEventType, WebhookPayloadError, WebhookSignatureError, WebhookTimestampError, Webhooks, constructEvent, verifySignature };
11105
+ export { APIConnectionError, APIError, Event as APIEvent, APIKey, API_VERSION, AV1Options, AbortMultipartUploadRequest, App, AppStatus, ArchiveAppRequest, ArchiveOriginRequest, ArchivePresetRequest, AudioCodec, AudioSettings, AudioStreamInfo, AudioTrackConfig, AuthenticationError, AutoABRConfig, AutoProfileDefaults, BYOKConfig, BitrateMode, BurnInStyle, type CallOptions, CancelJobRequest, CancelJobResponse, CheckSlugRequest, CheckSlugResponse, CompleteMultipartUploadRequest, CompleteMultipartUploadResponse, CompleteUploadRequest, CompleteUploadResponse, CompletedPart, ConfirmJobRequest, ConfirmJobResponse, ConflictError, Container, ContentAnalysis, ContentAwareConfig, ContentAwareMode, ContentType, CreateAPIKeyRequest, CreateAPIKeyResponse, CreateAppRequest, CreateAppResponse, CreateJobRequest, CreateJobResponse, CreateMultipartUploadRequest, CreateMultipartUploadResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateOriginRequest, CreateOriginResponse, CreatePresetRequest, CreatePresetResponse, CreateUploadRequest, CreateUploadResponse, CreateWebhookConfig, CreateWebhookEndpointRequest, CreateWebhookEndpointResponse, DASHConfig, DEFAULT_BASE_URL, DEFAULT_TOLERANCE_SECONDS, DRMConfig, DRMSystem, DeleteVideoRequest, DeleteWebhookEndpointRequest, DeleteWebhookEndpointResponse, DeliveryFormat, DuplicatePresetRequest, DuplicatePresetResponse, EVENT_ID_HEADER, EnableHostingRequest, EnableHostingResponse, EncryptionScheme, ErrorDetails, type EventBase, ExecutionTiming, type FieldViolation, GOPAlignmentMode, GcsCredentials, GcsOriginConfig, GetAPIKeyRequest, GetAPIKeyResponse, GetAppRequest, GetAppResponse, GetEndpointHealthRequest, GetEndpointHealthResponse, GetJobRequest, GetJobResponse, GetMeRequest, GetMeResponse, GetMembershipRequest, GetMembershipResponse, GetOrganizationRequest, GetOrganizationResponse, GetOriginRequest, GetOriginResponse, GetPresetBySlugRequest, GetPresetBySlugResponse, GetPresetRequest, GetPresetResponse, GetUploadPartUrlsRequest, GetUploadPartUrlsResponse, GetUsageRequest, GetUsageResponse, GetUserRequest, GetUserResponse, GetVideoRequest, GetVideoResponse, H264Options, H265Options, HDRConfig, HDRFormat, HDRMode, HLSConfig, HLSPlaylistType, HLSSegmentFormat, HealthBucket, HostingConfig, HttpCredentials, HttpOriginConfig, InputMetadata, InvalidRequestError, Job, JobOutput, JobPriority, JobStatus, KeyServerConfig, ListAPIKeysRequest, ListAPIKeysResponse, ListAppsRequest, ListAppsResponse, ListEventsRequest, ListEventsResponse, ListJobsRequest, ListJobsResponse, ListMembershipsRequest, ListMembershipsResponse, ListOrganizationsRequest, ListOrganizationsResponse, ListOriginsRequest, ListOriginsResponse, ListPresetsRequest, ListPresetsResponse, ListUsersRequest, ListUsersResponse, ListVideosRequest, ListVideosResponse, ListWebhookDeliveriesRequest, ListWebhookDeliveriesResponse, ListWebhookEndpointsRequest, ListWebhookEndpointsResponse, type LogEvent, Membership, MembershipRole, MembershipStatus, MembershipWithUser, NotFoundError, Organization, OrganizationStatus, Origin, OriginPermission, OriginProvider, OriginRef, OriginStatus, OutputFormat, OutputSpec, OutputStatus, OutputVariantResult, Page, PaginationRequest, PaginationResponse, PermissionError, PreconditionError, Preset, PresetVariant, PricingSnapshot, QualityTier, R2Jurisdiction, R2OriginConfig, RateLimitError, RemoveMembershipRequest, ResendEventRequest, ResendEventResponse, Resolution, RetrieveEventRequest, RetrieveEventResponse, RetrieveWebhookEndpointRequest, RetrieveWebhookEndpointResponse, RevokeAPIKeyRequest, RotateWebhookSecretRequest, RotateWebhookSecretResponse, S3Credentials, S3OriginConfig, SDK_VERSION, SIGNATURE_HEADER, SegmentConfig, SendTestWebhookRequest, SendTestWebhookResponse, StreamingConfig, SubtitleFormat, SubtitleOperation, SubtitleStreamInfo, SubtitleTrack, ThumbnailFormat, ThumbnailMode, ThumbnailResult, ThumbnailSpec, ToneMapping, Transcodely, type TranscodelyConfig, TranscodelyError, UpdateAppRequest, UpdateAppResponse, UpdateHostingConfigRequest, UpdateHostingConfigResponse, UpdateMeRequest, UpdateMeResponse, UpdateMembershipRoleRequest, UpdateMembershipRoleResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateOriginRequest, UpdateOriginResponse, UpdatePresetRequest, UpdatePresetResponse, UpdateVideoRequest, UpdateVideoResponse, UpdateWebhookConfig, UpdateWebhookEndpointRequest, UpdateWebhookEndpointResponse, UploadPart, UsageSummary, User, UserApprovalStatus, UserOrganization, UserStatus, UserWithOrganizations, VP9Options, ValidateOriginRequest, ValidateOriginResponse, ValidationResult, VariantPricingSnapshot, type VerifyOptions, Video, VideoCodec, VideoRendition, VideoSettings, VideoStatus, VideoStreamInfo, VideoVariant, VideoVisibility, WEBHOOK_EVENT_TYPES, WatchEventType, WatchJobRequest, WatchJobResponse, WatchVideoRequest, WatchVideoResponse, WebhookConfig, WebhookDelivery, WebhookEndpoint, WebhookError, type WebhookEvent, type WebhookEventType, WebhookPayloadError, WebhookSignatureError, WebhookTimestampError, Webhooks, constructEvent, verifySignature };
package/dist/index.d.ts CHANGED
@@ -438,31 +438,6 @@ declare class FieldViolation$1 extends Message<FieldViolation$1> {
438
438
  static equals(a: FieldViolation$1 | PlainMessage<FieldViolation$1> | undefined, b: FieldViolation$1 | PlainMessage<FieldViolation$1> | undefined): boolean;
439
439
  }
440
440
 
441
- /**
442
- * API key environment.
443
- *
444
- * @generated from enum transcodely.v1.APIKeyEnvironment
445
- */
446
- declare enum APIKeyEnvironment {
447
- /**
448
- * Default value, should not be used.
449
- *
450
- * @generated from enum value: API_KEY_ENVIRONMENT_UNSPECIFIED = 0;
451
- */
452
- API_KEY_ENVIRONMENT_UNSPECIFIED = 0,
453
- /**
454
- * Production environment (ak_live_...).
455
- *
456
- * @generated from enum value: API_KEY_ENVIRONMENT_LIVE = 1;
457
- */
458
- API_KEY_ENVIRONMENT_LIVE = 1,
459
- /**
460
- * Sandbox/development environment (ak_test_...).
461
- *
462
- * @generated from enum value: API_KEY_ENVIRONMENT_TEST = 2;
463
- */
464
- API_KEY_ENVIRONMENT_TEST = 2
465
- }
466
441
  /**
467
442
  * An API key for programmatic access.
468
443
  * Note: The actual secret is only returned during creation.
@@ -489,7 +464,7 @@ declare class APIKey extends Message<APIKey> {
489
464
  */
490
465
  description: string;
491
466
  /**
492
- * Key prefix for identification (e.g., "ak_live_" or "ak_test_").
467
+ * Key prefix for identification (e.g., "ak_...").
493
468
  * Safe to display in logs and dashboards.
494
469
  *
495
470
  * @generated from field: string key_prefix = 4;
@@ -502,12 +477,6 @@ declare class APIKey extends Message<APIKey> {
502
477
  * @generated from field: string key_hint = 5;
503
478
  */
504
479
  keyHint: string;
505
- /**
506
- * Environment the key is valid for.
507
- *
508
- * @generated from field: transcodely.v1.APIKeyEnvironment environment = 6;
509
- */
510
- environment: APIKeyEnvironment;
511
480
  /**
512
481
  * Permission scopes (empty means full access).
513
482
  * Future: granular permissions like "jobs:read", "jobs:write".
@@ -572,12 +541,6 @@ declare class CreateAPIKeyRequest extends Message<CreateAPIKeyRequest> {
572
541
  * @generated from field: string description = 2;
573
542
  */
574
543
  description: string;
575
- /**
576
- * Environment for the key.
577
- *
578
- * @generated from field: transcodely.v1.APIKeyEnvironment environment = 3;
579
- */
580
- environment: APIKeyEnvironment;
581
544
  /**
582
545
  * Optional expiration time. Null means the key never expires.
583
546
  *
@@ -677,12 +640,6 @@ declare class GetAPIKeyResponse extends Message<GetAPIKeyResponse> {
677
640
  * @generated from message transcodely.v1.ListAPIKeysRequest
678
641
  */
679
642
  declare class ListAPIKeysRequest extends Message<ListAPIKeysRequest> {
680
- /**
681
- * Optional filter by environment.
682
- *
683
- * @generated from field: optional transcodely.v1.APIKeyEnvironment environment = 1;
684
- */
685
- environment?: APIKeyEnvironment;
686
643
  /**
687
644
  * If true, include revoked keys in the response.
688
645
  *
@@ -1882,13 +1839,6 @@ declare class Event extends Message<Event> {
1882
1839
  * @generated from field: string api_version = 8;
1883
1840
  */
1884
1841
  apiVersion: string;
1885
- /**
1886
- * True when the event was emitted from production (live mode) traffic.
1887
- * Reserved for a future test-mode concept; always `true` today.
1888
- *
1889
- * @generated from field: bool livemode = 9;
1890
- */
1891
- livemode: boolean;
1892
1842
  /**
1893
1843
  * Resource type discriminator. Always "event" for this message.
1894
1844
  * Mirrored into the webhook envelope as the top-level `object`.
@@ -1931,8 +1881,11 @@ declare class WebhookDelivery extends Message<WebhookDelivery> {
1931
1881
  */
1932
1882
  eventId: string;
1933
1883
  /**
1934
- * Delivery status: "pending", "succeeded", or "failed".
1935
- * Wire value is lowercase per project convention.
1884
+ * Delivery status: "pending", "succeeded", "failed", or "exhausted".
1885
+ * "exhausted" means the retry curve ran out (attempt 15) without a success;
1886
+ * "failed" is a single failed attempt (a retry may still be scheduled) or an
1887
+ * early stop on a non-retryable 4xx. Wire value is lowercase per project
1888
+ * convention.
1936
1889
  *
1937
1890
  * @generated from field: string status = 4;
1938
1891
  */
@@ -1985,7 +1938,8 @@ declare class WebhookDelivery extends Message<WebhookDelivery> {
1985
1938
  latencyMs?: number;
1986
1939
  /**
1987
1940
  * Reason a response was not received. Absent when response_status is set.
1988
- * One of: "timeout", "connection_refused", "dns_failure",
1941
+ * One of: "timeout", "connection_refused", "connection_reset",
1942
+ * "connection_closed", "host_unreachable", "dns_failure",
1989
1943
  * "tls_handshake_failed", "ssrf_blocked", "unknown".
1990
1944
  * Wire value is lowercase per project convention.
1991
1945
  *
@@ -2004,6 +1958,15 @@ declare class WebhookDelivery extends Message<WebhookDelivery> {
2004
1958
  * @generated from field: optional string response_headers = 13;
2005
1959
  */
2006
1960
  responseHeaders?: string;
1961
+ /**
1962
+ * Human-readable detail for the failure: the transport error text when
1963
+ * transport_error is set, or "non-2xx response: <status>" for a completed
1964
+ * request that the endpoint rejected. Absent for pending or succeeded
1965
+ * deliveries.
1966
+ *
1967
+ * @generated from field: optional string error_message = 14;
1968
+ */
1969
+ errorMessage?: string;
2007
1970
  constructor(data?: PartialMessage<WebhookDelivery>);
2008
1971
  static readonly runtime: typeof proto3;
2009
1972
  static readonly typeName = "transcodely.v1.WebhookDelivery";
@@ -2584,7 +2547,7 @@ declare class ListWebhookDeliveriesRequest extends Message<ListWebhookDeliveries
2584
2547
  */
2585
2548
  eventId?: string;
2586
2549
  /**
2587
- * Filter by status: "pending", "succeeded", or "failed".
2550
+ * Filter by status: "pending", "succeeded", "failed", or "exhausted".
2588
2551
  *
2589
2552
  * @generated from field: optional string status = 3;
2590
2553
  */
@@ -5323,13 +5286,16 @@ declare class VideoStreamInfo extends Message<VideoStreamInfo> {
5323
5286
  */
5324
5287
  codec: string;
5325
5288
  /**
5326
- * Frame width in pixels.
5289
+ * Frame width in pixels, as displayed (container rotation applied).
5290
+ * For a portrait phone recording stored as 1920x1440 with a 90° rotation
5291
+ * side-matrix this is 1440 — matching the media players render and the
5292
+ * outputs Transcodely produces. See `rotation` for the stored orientation.
5327
5293
  *
5328
5294
  * @generated from field: int32 width = 2;
5329
5295
  */
5330
5296
  width: number;
5331
5297
  /**
5332
- * Frame height in pixels.
5298
+ * Frame height in pixels, as displayed (container rotation applied).
5333
5299
  *
5334
5300
  * @generated from field: int32 height = 3;
5335
5301
  */
@@ -5401,7 +5367,9 @@ declare class VideoStreamInfo extends Message<VideoStreamInfo> {
5401
5367
  */
5402
5368
  frameCount?: bigint;
5403
5369
  /**
5404
- * Display aspect ratio as string (e.g., "16:9", "2.35:1").
5370
+ * Display aspect ratio as string (e.g., "16:9", "2.35:1"), rotation-aware:
5371
+ * for a 90°/270° rotated stream the ratio describes the displayed frame
5372
+ * (consistent with width/height above), not the coded one.
5405
5373
  *
5406
5374
  * @generated from field: optional string display_aspect_ratio = 15;
5407
5375
  */
@@ -5412,6 +5380,16 @@ declare class VideoStreamInfo extends Message<VideoStreamInfo> {
5412
5380
  * @generated from field: optional string sample_aspect_ratio = 16;
5413
5381
  */
5414
5382
  sampleAspectRatio?: string;
5383
+ /**
5384
+ * Container-level rotation metadata in degrees clockwise: 0, 90, 180 or
5385
+ * 270. Parsed from the display-matrix side data (or legacy rotate tag).
5386
+ * width/height/display_aspect_ratio already have this rotation applied;
5387
+ * the field is informational so callers can recover the coded orientation.
5388
+ * Absent when the stream carries no rotation metadata.
5389
+ *
5390
+ * @generated from field: optional int32 rotation = 17;
5391
+ */
5392
+ rotation?: number;
5415
5393
  constructor(data?: PartialMessage<VideoStreamInfo>);
5416
5394
  static readonly runtime: typeof proto3;
5417
5395
  static readonly typeName = "transcodely.v1.VideoStreamInfo";
@@ -6646,6 +6624,38 @@ declare class JobOutput extends Message<JobOutput> {
6646
6624
  * @generated from field: string object = 21;
6647
6625
  */
6648
6626
  object: string;
6627
+ /**
6628
+ * Actual encoded frame width in pixels, measured from the produced media
6629
+ * (rotation applied, so it matches what players display). For multi-variant
6630
+ * outputs (ABR ladders) this is the highest-resolution variant's width;
6631
+ * per-variant dimensions are in variant_results. Set when completed.
6632
+ *
6633
+ * @generated from field: optional int32 width = 22;
6634
+ */
6635
+ width?: number;
6636
+ /**
6637
+ * Actual encoded frame height in pixels (see width for semantics).
6638
+ *
6639
+ * @generated from field: optional int32 height = 23;
6640
+ */
6641
+ height?: number;
6642
+ /**
6643
+ * Measured average bitrate of the encoded output in kbps
6644
+ * (total bytes × 8 / encoded duration). For multi-variant outputs this
6645
+ * aggregates all variants; per-variant bitrates are in variant_results.
6646
+ * Set when completed.
6647
+ *
6648
+ * @generated from field: optional int32 average_bitrate_kbps = 24;
6649
+ */
6650
+ averageBitrateKbps?: number;
6651
+ /**
6652
+ * Per-variant encode results for multi-variant outputs (ABR ladders),
6653
+ * indexed like variant_pricing. Empty for single-variant outputs (use
6654
+ * width/height/average_bitrate_kbps instead). Set when completed.
6655
+ *
6656
+ * @generated from field: repeated transcodely.v1.OutputVariantResult variant_results = 25;
6657
+ */
6658
+ variantResults: OutputVariantResult[];
6649
6659
  constructor(data?: PartialMessage<JobOutput>);
6650
6660
  static readonly runtime: typeof proto3;
6651
6661
  static readonly typeName = "transcodely.v1.JobOutput";
@@ -6655,6 +6665,53 @@ declare class JobOutput extends Message<JobOutput> {
6655
6665
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobOutput;
6656
6666
  static equals(a: JobOutput | PlainMessage<JobOutput> | undefined, b: JobOutput | PlainMessage<JobOutput> | undefined): boolean;
6657
6667
  }
6668
+ /**
6669
+ * Measured encode results for one variant of a multi-variant output.
6670
+ * Reported by the worker after encoding; index matches the variant's
6671
+ * position in the output spec (and VariantPricingSnapshot.index).
6672
+ *
6673
+ * @generated from message transcodely.v1.OutputVariantResult
6674
+ */
6675
+ declare class OutputVariantResult extends Message<OutputVariantResult> {
6676
+ /**
6677
+ * Variant index within the output (0-based).
6678
+ *
6679
+ * @generated from field: int32 index = 1;
6680
+ */
6681
+ index: number;
6682
+ /**
6683
+ * Actual encoded frame width in pixels.
6684
+ *
6685
+ * @generated from field: int32 width = 2;
6686
+ */
6687
+ width: number;
6688
+ /**
6689
+ * Actual encoded frame height in pixels.
6690
+ *
6691
+ * @generated from field: int32 height = 3;
6692
+ */
6693
+ height: number;
6694
+ /**
6695
+ * Measured average bitrate for this variant in kbps.
6696
+ *
6697
+ * @generated from field: optional int32 average_bitrate_kbps = 4;
6698
+ */
6699
+ averageBitrateKbps?: number;
6700
+ /**
6701
+ * Total encoded size of this variant in bytes.
6702
+ *
6703
+ * @generated from field: optional int64 size_bytes = 5;
6704
+ */
6705
+ sizeBytes?: bigint;
6706
+ constructor(data?: PartialMessage<OutputVariantResult>);
6707
+ static readonly runtime: typeof proto3;
6708
+ static readonly typeName = "transcodely.v1.OutputVariantResult";
6709
+ static readonly fields: FieldList;
6710
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OutputVariantResult;
6711
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OutputVariantResult;
6712
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OutputVariantResult;
6713
+ static equals(a: OutputVariantResult | PlainMessage<OutputVariantResult> | undefined, b: OutputVariantResult | PlainMessage<OutputVariantResult> | undefined): boolean;
6714
+ }
6658
6715
  /**
6659
6716
  * Execution timing and telemetry for a job.
6660
6717
  * Populated after job processing begins. All durations are in milliseconds.
@@ -8555,8 +8612,6 @@ interface EventBase {
8555
8612
  apiVersion: string;
8556
8613
  /** RFC 3339 UTC timestamp of when the event was created. */
8557
8614
  created: string;
8558
- /** `true` for production-mode events. Reserved for a future test-mode concept. */
8559
- livemode: boolean;
8560
8615
  /** Number of delivery attempts still pending across all subscribed endpoints. */
8561
8616
  pendingWebhooks: number;
8562
8617
  /**
@@ -11037,7 +11092,7 @@ declare class Transcodely {
11037
11092
  }
11038
11093
 
11039
11094
  /** SDK version. Bumped by release-please from package.json on each tag. */
11040
- declare const SDK_VERSION = "0.1.3";
11095
+ declare const SDK_VERSION = "0.2.0";
11041
11096
  /**
11042
11097
  * API version this SDK release is pinned to. Sent on every request as
11043
11098
  * `Transcodely-Version`. Customers can override per-client via the
@@ -11047,4 +11102,4 @@ declare const API_VERSION = "2026-05-03";
11047
11102
  /** Default base URL for the production Transcodely API. */
11048
11103
  declare const DEFAULT_BASE_URL = "https://api.transcodely.com";
11049
11104
 
11050
- export { APIConnectionError, APIError, Event as APIEvent, APIKey, APIKeyEnvironment, API_VERSION, AV1Options, AbortMultipartUploadRequest, App, AppStatus, ArchiveAppRequest, ArchiveOriginRequest, ArchivePresetRequest, AudioCodec, AudioSettings, AudioStreamInfo, AudioTrackConfig, AuthenticationError, AutoABRConfig, AutoProfileDefaults, BYOKConfig, BitrateMode, BurnInStyle, type CallOptions, CancelJobRequest, CancelJobResponse, CheckSlugRequest, CheckSlugResponse, CompleteMultipartUploadRequest, CompleteMultipartUploadResponse, CompleteUploadRequest, CompleteUploadResponse, CompletedPart, ConfirmJobRequest, ConfirmJobResponse, ConflictError, Container, ContentAnalysis, ContentAwareConfig, ContentAwareMode, ContentType, CreateAPIKeyRequest, CreateAPIKeyResponse, CreateAppRequest, CreateAppResponse, CreateJobRequest, CreateJobResponse, CreateMultipartUploadRequest, CreateMultipartUploadResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateOriginRequest, CreateOriginResponse, CreatePresetRequest, CreatePresetResponse, CreateUploadRequest, CreateUploadResponse, CreateWebhookConfig, CreateWebhookEndpointRequest, CreateWebhookEndpointResponse, DASHConfig, DEFAULT_BASE_URL, DEFAULT_TOLERANCE_SECONDS, DRMConfig, DRMSystem, DeleteVideoRequest, DeleteWebhookEndpointRequest, DeleteWebhookEndpointResponse, DeliveryFormat, DuplicatePresetRequest, DuplicatePresetResponse, EVENT_ID_HEADER, EnableHostingRequest, EnableHostingResponse, EncryptionScheme, ErrorDetails, type EventBase, ExecutionTiming, type FieldViolation, GOPAlignmentMode, GcsCredentials, GcsOriginConfig, GetAPIKeyRequest, GetAPIKeyResponse, GetAppRequest, GetAppResponse, GetEndpointHealthRequest, GetEndpointHealthResponse, GetJobRequest, GetJobResponse, GetMeRequest, GetMeResponse, GetMembershipRequest, GetMembershipResponse, GetOrganizationRequest, GetOrganizationResponse, GetOriginRequest, GetOriginResponse, GetPresetBySlugRequest, GetPresetBySlugResponse, GetPresetRequest, GetPresetResponse, GetUploadPartUrlsRequest, GetUploadPartUrlsResponse, GetUsageRequest, GetUsageResponse, GetUserRequest, GetUserResponse, GetVideoRequest, GetVideoResponse, H264Options, H265Options, HDRConfig, HDRFormat, HDRMode, HLSConfig, HLSPlaylistType, HLSSegmentFormat, HealthBucket, HostingConfig, HttpCredentials, HttpOriginConfig, InputMetadata, InvalidRequestError, Job, JobOutput, JobPriority, JobStatus, KeyServerConfig, ListAPIKeysRequest, ListAPIKeysResponse, ListAppsRequest, ListAppsResponse, ListEventsRequest, ListEventsResponse, ListJobsRequest, ListJobsResponse, ListMembershipsRequest, ListMembershipsResponse, ListOrganizationsRequest, ListOrganizationsResponse, ListOriginsRequest, ListOriginsResponse, ListPresetsRequest, ListPresetsResponse, ListUsersRequest, ListUsersResponse, ListVideosRequest, ListVideosResponse, ListWebhookDeliveriesRequest, ListWebhookDeliveriesResponse, ListWebhookEndpointsRequest, ListWebhookEndpointsResponse, type LogEvent, Membership, MembershipRole, MembershipStatus, MembershipWithUser, NotFoundError, Organization, OrganizationStatus, Origin, OriginPermission, OriginProvider, OriginRef, OriginStatus, OutputFormat, OutputSpec, OutputStatus, Page, PaginationRequest, PaginationResponse, PermissionError, PreconditionError, Preset, PresetVariant, PricingSnapshot, QualityTier, R2Jurisdiction, R2OriginConfig, RateLimitError, RemoveMembershipRequest, ResendEventRequest, ResendEventResponse, Resolution, RetrieveEventRequest, RetrieveEventResponse, RetrieveWebhookEndpointRequest, RetrieveWebhookEndpointResponse, RevokeAPIKeyRequest, RotateWebhookSecretRequest, RotateWebhookSecretResponse, S3Credentials, S3OriginConfig, SDK_VERSION, SIGNATURE_HEADER, SegmentConfig, SendTestWebhookRequest, SendTestWebhookResponse, StreamingConfig, SubtitleFormat, SubtitleOperation, SubtitleStreamInfo, SubtitleTrack, ThumbnailFormat, ThumbnailMode, ThumbnailResult, ThumbnailSpec, ToneMapping, Transcodely, type TranscodelyConfig, TranscodelyError, UpdateAppRequest, UpdateAppResponse, UpdateHostingConfigRequest, UpdateHostingConfigResponse, UpdateMeRequest, UpdateMeResponse, UpdateMembershipRoleRequest, UpdateMembershipRoleResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateOriginRequest, UpdateOriginResponse, UpdatePresetRequest, UpdatePresetResponse, UpdateVideoRequest, UpdateVideoResponse, UpdateWebhookConfig, UpdateWebhookEndpointRequest, UpdateWebhookEndpointResponse, UploadPart, UsageSummary, User, UserApprovalStatus, UserOrganization, UserStatus, UserWithOrganizations, VP9Options, ValidateOriginRequest, ValidateOriginResponse, ValidationResult, VariantPricingSnapshot, type VerifyOptions, Video, VideoCodec, VideoRendition, VideoSettings, VideoStatus, VideoStreamInfo, VideoVariant, VideoVisibility, WEBHOOK_EVENT_TYPES, WatchEventType, WatchJobRequest, WatchJobResponse, WatchVideoRequest, WatchVideoResponse, WebhookConfig, WebhookDelivery, WebhookEndpoint, WebhookError, type WebhookEvent, type WebhookEventType, WebhookPayloadError, WebhookSignatureError, WebhookTimestampError, Webhooks, constructEvent, verifySignature };
11105
+ export { APIConnectionError, APIError, Event as APIEvent, APIKey, API_VERSION, AV1Options, AbortMultipartUploadRequest, App, AppStatus, ArchiveAppRequest, ArchiveOriginRequest, ArchivePresetRequest, AudioCodec, AudioSettings, AudioStreamInfo, AudioTrackConfig, AuthenticationError, AutoABRConfig, AutoProfileDefaults, BYOKConfig, BitrateMode, BurnInStyle, type CallOptions, CancelJobRequest, CancelJobResponse, CheckSlugRequest, CheckSlugResponse, CompleteMultipartUploadRequest, CompleteMultipartUploadResponse, CompleteUploadRequest, CompleteUploadResponse, CompletedPart, ConfirmJobRequest, ConfirmJobResponse, ConflictError, Container, ContentAnalysis, ContentAwareConfig, ContentAwareMode, ContentType, CreateAPIKeyRequest, CreateAPIKeyResponse, CreateAppRequest, CreateAppResponse, CreateJobRequest, CreateJobResponse, CreateMultipartUploadRequest, CreateMultipartUploadResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateOriginRequest, CreateOriginResponse, CreatePresetRequest, CreatePresetResponse, CreateUploadRequest, CreateUploadResponse, CreateWebhookConfig, CreateWebhookEndpointRequest, CreateWebhookEndpointResponse, DASHConfig, DEFAULT_BASE_URL, DEFAULT_TOLERANCE_SECONDS, DRMConfig, DRMSystem, DeleteVideoRequest, DeleteWebhookEndpointRequest, DeleteWebhookEndpointResponse, DeliveryFormat, DuplicatePresetRequest, DuplicatePresetResponse, EVENT_ID_HEADER, EnableHostingRequest, EnableHostingResponse, EncryptionScheme, ErrorDetails, type EventBase, ExecutionTiming, type FieldViolation, GOPAlignmentMode, GcsCredentials, GcsOriginConfig, GetAPIKeyRequest, GetAPIKeyResponse, GetAppRequest, GetAppResponse, GetEndpointHealthRequest, GetEndpointHealthResponse, GetJobRequest, GetJobResponse, GetMeRequest, GetMeResponse, GetMembershipRequest, GetMembershipResponse, GetOrganizationRequest, GetOrganizationResponse, GetOriginRequest, GetOriginResponse, GetPresetBySlugRequest, GetPresetBySlugResponse, GetPresetRequest, GetPresetResponse, GetUploadPartUrlsRequest, GetUploadPartUrlsResponse, GetUsageRequest, GetUsageResponse, GetUserRequest, GetUserResponse, GetVideoRequest, GetVideoResponse, H264Options, H265Options, HDRConfig, HDRFormat, HDRMode, HLSConfig, HLSPlaylistType, HLSSegmentFormat, HealthBucket, HostingConfig, HttpCredentials, HttpOriginConfig, InputMetadata, InvalidRequestError, Job, JobOutput, JobPriority, JobStatus, KeyServerConfig, ListAPIKeysRequest, ListAPIKeysResponse, ListAppsRequest, ListAppsResponse, ListEventsRequest, ListEventsResponse, ListJobsRequest, ListJobsResponse, ListMembershipsRequest, ListMembershipsResponse, ListOrganizationsRequest, ListOrganizationsResponse, ListOriginsRequest, ListOriginsResponse, ListPresetsRequest, ListPresetsResponse, ListUsersRequest, ListUsersResponse, ListVideosRequest, ListVideosResponse, ListWebhookDeliveriesRequest, ListWebhookDeliveriesResponse, ListWebhookEndpointsRequest, ListWebhookEndpointsResponse, type LogEvent, Membership, MembershipRole, MembershipStatus, MembershipWithUser, NotFoundError, Organization, OrganizationStatus, Origin, OriginPermission, OriginProvider, OriginRef, OriginStatus, OutputFormat, OutputSpec, OutputStatus, OutputVariantResult, Page, PaginationRequest, PaginationResponse, PermissionError, PreconditionError, Preset, PresetVariant, PricingSnapshot, QualityTier, R2Jurisdiction, R2OriginConfig, RateLimitError, RemoveMembershipRequest, ResendEventRequest, ResendEventResponse, Resolution, RetrieveEventRequest, RetrieveEventResponse, RetrieveWebhookEndpointRequest, RetrieveWebhookEndpointResponse, RevokeAPIKeyRequest, RotateWebhookSecretRequest, RotateWebhookSecretResponse, S3Credentials, S3OriginConfig, SDK_VERSION, SIGNATURE_HEADER, SegmentConfig, SendTestWebhookRequest, SendTestWebhookResponse, StreamingConfig, SubtitleFormat, SubtitleOperation, SubtitleStreamInfo, SubtitleTrack, ThumbnailFormat, ThumbnailMode, ThumbnailResult, ThumbnailSpec, ToneMapping, Transcodely, type TranscodelyConfig, TranscodelyError, UpdateAppRequest, UpdateAppResponse, UpdateHostingConfigRequest, UpdateHostingConfigResponse, UpdateMeRequest, UpdateMeResponse, UpdateMembershipRoleRequest, UpdateMembershipRoleResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateOriginRequest, UpdateOriginResponse, UpdatePresetRequest, UpdatePresetResponse, UpdateVideoRequest, UpdateVideoResponse, UpdateWebhookConfig, UpdateWebhookEndpointRequest, UpdateWebhookEndpointResponse, UploadPart, UsageSummary, User, UserApprovalStatus, UserOrganization, UserStatus, UserWithOrganizations, VP9Options, ValidateOriginRequest, ValidateOriginResponse, ValidationResult, VariantPricingSnapshot, type VerifyOptions, Video, VideoCodec, VideoRendition, VideoSettings, VideoStatus, VideoStreamInfo, VideoVariant, VideoVisibility, WEBHOOK_EVENT_TYPES, WatchEventType, WatchJobRequest, WatchJobResponse, WatchVideoRequest, WatchVideoResponse, WebhookConfig, WebhookDelivery, WebhookEndpoint, WebhookError, type WebhookEvent, type WebhookEventType, WebhookPayloadError, WebhookSignatureError, WebhookTimestampError, Webhooks, constructEvent, verifySignature };