@transcodely/sdk 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/index.cjs +231 -34
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +158 -28
- package/dist/index.d.ts +158 -28
- package/dist/index.mjs +231 -34
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2490,7 +2490,10 @@ declare class ResendEventRequest extends Message<ResendEventRequest> {
|
|
|
2490
2490
|
*/
|
|
2491
2491
|
declare class ResendEventResponse extends Message<ResendEventResponse> {
|
|
2492
2492
|
/**
|
|
2493
|
-
* Newly-created pending delivery records, one per target endpoint.
|
|
2493
|
+
* Newly-created pending delivery records, one per target endpoint. These are
|
|
2494
|
+
* freshly queued, so response-side fields (latency_ms, response_status,
|
|
2495
|
+
* response_headers, transport_error) are absent until the worker attempts
|
|
2496
|
+
* delivery — re-fetch via ListWebhookDeliveries to see the completed row.
|
|
2494
2497
|
*
|
|
2495
2498
|
* @generated from field: repeated transcodely.v1.WebhookDelivery deliveries = 1;
|
|
2496
2499
|
*/
|
|
@@ -2542,7 +2545,9 @@ declare class SendTestWebhookResponse extends Message<SendTestWebhookResponse> {
|
|
|
2542
2545
|
/**
|
|
2543
2546
|
* The newly-queued delivery row. The UI navigates the operator to its
|
|
2544
2547
|
* detail sheet so they can watch the worker transition it from pending
|
|
2545
|
-
* to succeeded / failed in real time.
|
|
2548
|
+
* to succeeded / failed in real time. Because it is freshly queued,
|
|
2549
|
+
* response-side fields (latency_ms, response_status, response_headers,
|
|
2550
|
+
* transport_error) are absent until the worker attempts delivery.
|
|
2546
2551
|
*
|
|
2547
2552
|
* @generated from field: transcodely.v1.WebhookDelivery delivery = 1;
|
|
2548
2553
|
*/
|
|
@@ -5659,6 +5664,27 @@ declare class ThumbnailSpec extends Message<ThumbnailSpec> {
|
|
|
5659
5664
|
* @generated from field: optional int32 sprite_columns = 9;
|
|
5660
5665
|
*/
|
|
5661
5666
|
spriteColumns?: number;
|
|
5667
|
+
/**
|
|
5668
|
+
* Per-thumbnail storage path template, resolved by the worker with
|
|
5669
|
+
* thumbnail-aware variables. Precedence: this field, then the output origin's
|
|
5670
|
+
* path_template, then the built-in default {job_id}/thumbnails/thumb_{thumb_index}.
|
|
5671
|
+
* The job-level output_path_template is NOT applied to thumbnails (it is
|
|
5672
|
+
* documented as applying to every output; thumbnails aren't outputs).
|
|
5673
|
+
*
|
|
5674
|
+
* Variables: {job_id}, {video_id}, {date}, {timestamp}, {uuid},
|
|
5675
|
+
* {format} (image format: jpeg|png|webp), {thumb_index} (0-based),
|
|
5676
|
+
* {thumb_time} (seconds, file-safe), {thumb_time_ms} (milliseconds).
|
|
5677
|
+
*
|
|
5678
|
+
* Example: "video/{video_id}/poster/{thumb_index}".
|
|
5679
|
+
*
|
|
5680
|
+
* Must not start with `/` or contain `..` (no path traversal). When set, it
|
|
5681
|
+
* must reference a uniqueness token ({job_id}, {video_id}, or {uuid}) so
|
|
5682
|
+
* thumbnails from different jobs never collide on a shared origin. Unset →
|
|
5683
|
+
* the default above (existing keys unchanged).
|
|
5684
|
+
*
|
|
5685
|
+
* @generated from field: optional string path_template = 10;
|
|
5686
|
+
*/
|
|
5687
|
+
pathTemplate?: string;
|
|
5662
5688
|
constructor(data?: PartialMessage<ThumbnailSpec>);
|
|
5663
5689
|
static readonly runtime: typeof proto3;
|
|
5664
5690
|
static readonly typeName = "transcodely.v1.ThumbnailSpec";
|
|
@@ -5668,6 +5694,71 @@ declare class ThumbnailSpec extends Message<ThumbnailSpec> {
|
|
|
5668
5694
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ThumbnailSpec;
|
|
5669
5695
|
static equals(a: ThumbnailSpec | PlainMessage<ThumbnailSpec> | undefined, b: ThumbnailSpec | PlainMessage<ThumbnailSpec> | undefined): boolean;
|
|
5670
5696
|
}
|
|
5697
|
+
/**
|
|
5698
|
+
* A single generated thumbnail artifact, reported by the worker on job
|
|
5699
|
+
* completion and surfaced on the Job response. Mirrors the rendition pattern:
|
|
5700
|
+
* the worker computes both the storage key and the storage URL, and the API
|
|
5701
|
+
* persists them verbatim (the same way JobOutput.output_url works). One
|
|
5702
|
+
* ThumbnailSpec can yield many ThumbnailResults (interval → N frames; sprite →
|
|
5703
|
+
* image + .vtt sidecar), correlated back via mode + index.
|
|
5704
|
+
*
|
|
5705
|
+
* @generated from message transcodely.v1.ThumbnailResult
|
|
5706
|
+
*/
|
|
5707
|
+
declare class ThumbnailResult extends Message<ThumbnailResult> {
|
|
5708
|
+
/**
|
|
5709
|
+
* Storage key relative to the output origin
|
|
5710
|
+
* (e.g. "job_xxx/thumbnails/thumb_0.jpg"). Stable identifier for the file.
|
|
5711
|
+
*
|
|
5712
|
+
* @generated from field: string storage_key = 1;
|
|
5713
|
+
*/
|
|
5714
|
+
storageKey: string;
|
|
5715
|
+
/**
|
|
5716
|
+
* Fully-qualified storage URL as built by the worker
|
|
5717
|
+
* (e.g. "s3://bucket/prefix/job_xxx/thumbnails/thumb_0.jpg"). Stored as-is
|
|
5718
|
+
* and echoed on the Job response, exactly like JobOutput.output_url.
|
|
5719
|
+
*
|
|
5720
|
+
* @generated from field: string url = 2;
|
|
5721
|
+
*/
|
|
5722
|
+
url: string;
|
|
5723
|
+
/**
|
|
5724
|
+
* Generation mode that produced this file: single | interval | sprite |
|
|
5725
|
+
* timestamps. Lowercase string on the wire.
|
|
5726
|
+
*
|
|
5727
|
+
* @generated from field: string mode = 3;
|
|
5728
|
+
*/
|
|
5729
|
+
mode: string;
|
|
5730
|
+
/**
|
|
5731
|
+
* File format: jpeg | png | webp. The sprite mode's WebVTT sidecar uses
|
|
5732
|
+
* "vtt".
|
|
5733
|
+
*
|
|
5734
|
+
* @generated from field: string format = 4;
|
|
5735
|
+
*/
|
|
5736
|
+
format: string;
|
|
5737
|
+
/**
|
|
5738
|
+
* Pixel dimensions. 0 when not applicable (e.g. the .vtt sidecar).
|
|
5739
|
+
*
|
|
5740
|
+
* @generated from field: int32 width = 5;
|
|
5741
|
+
*/
|
|
5742
|
+
width: number;
|
|
5743
|
+
/**
|
|
5744
|
+
* @generated from field: int32 height = 6;
|
|
5745
|
+
*/
|
|
5746
|
+
height: number;
|
|
5747
|
+
/**
|
|
5748
|
+
* 0-based index within a multi-file spec (interval frames, sprite tiles).
|
|
5749
|
+
*
|
|
5750
|
+
* @generated from field: int32 index = 7;
|
|
5751
|
+
*/
|
|
5752
|
+
index: number;
|
|
5753
|
+
constructor(data?: PartialMessage<ThumbnailResult>);
|
|
5754
|
+
static readonly runtime: typeof proto3;
|
|
5755
|
+
static readonly typeName = "transcodely.v1.ThumbnailResult";
|
|
5756
|
+
static readonly fields: FieldList;
|
|
5757
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ThumbnailResult;
|
|
5758
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ThumbnailResult;
|
|
5759
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ThumbnailResult;
|
|
5760
|
+
static equals(a: ThumbnailResult | PlainMessage<ThumbnailResult> | undefined, b: ThumbnailResult | PlainMessage<ThumbnailResult> | undefined): boolean;
|
|
5761
|
+
}
|
|
5671
5762
|
|
|
5672
5763
|
/**
|
|
5673
5764
|
* Job status enumeration.
|
|
@@ -6195,6 +6286,17 @@ declare class OutputSpec extends Message<OutputSpec> {
|
|
|
6195
6286
|
* @generated from field: optional string effective_path_template = 15;
|
|
6196
6287
|
*/
|
|
6197
6288
|
effectivePathTemplate?: string;
|
|
6289
|
+
/**
|
|
6290
|
+
* Produce a video-only output, dropping audio entirely.
|
|
6291
|
+
* Override semantics: when unset, the value is inherited from the referenced
|
|
6292
|
+
* preset (or defaults to false). When true, no audio stream is encoded or
|
|
6293
|
+
* packaged even if the source has one. A source that has no audio is always
|
|
6294
|
+
* handled gracefully (video-only) regardless of this flag.
|
|
6295
|
+
* Must not be combined with explicit audio[] tracks.
|
|
6296
|
+
*
|
|
6297
|
+
* @generated from field: optional bool disable_audio = 16;
|
|
6298
|
+
*/
|
|
6299
|
+
disableAudio?: boolean;
|
|
6198
6300
|
constructor(data?: PartialMessage<OutputSpec>);
|
|
6199
6301
|
static readonly runtime: typeof proto3;
|
|
6200
6302
|
static readonly typeName = "transcodely.v1.OutputSpec";
|
|
@@ -6891,6 +6993,15 @@ declare class Job extends Message<Job> {
|
|
|
6891
6993
|
* @generated from field: repeated transcodely.v1.ThumbnailSpec thumbnails = 25;
|
|
6892
6994
|
*/
|
|
6893
6995
|
thumbnails: ThumbnailSpec[];
|
|
6996
|
+
/**
|
|
6997
|
+
* Generated thumbnail artifacts (populated after the job completes). Each
|
|
6998
|
+
* entry carries the worker-built storage `url` plus `mode`/`index` to
|
|
6999
|
+
* correlate it back to the spec in `thumbnails` that produced it. Mirrors
|
|
7000
|
+
* how JobOutput.output_url surfaces rendition results.
|
|
7001
|
+
*
|
|
7002
|
+
* @generated from field: repeated transcodely.v1.ThumbnailResult thumbnail_results = 28;
|
|
7003
|
+
*/
|
|
7004
|
+
thumbnailResults: ThumbnailResult[];
|
|
6894
7005
|
/**
|
|
6895
7006
|
* Job-level output path template (echoed from request).
|
|
6896
7007
|
* Variables: {job_id}, {output_id}, {date}, {timestamp}, {codec}, {resolution}, {format}, {quality}, {output_index}, {uuid}
|
|
@@ -7496,14 +7607,6 @@ declare class Video extends Message<Video> {
|
|
|
7496
7607
|
* @generated from field: optional double encoding_cost = 31;
|
|
7497
7608
|
*/
|
|
7498
7609
|
encodingCost?: number;
|
|
7499
|
-
/**
|
|
7500
|
-
* @generated from field: optional double storage_cost_monthly = 32;
|
|
7501
|
-
*/
|
|
7502
|
-
storageCostMonthly?: number;
|
|
7503
|
-
/**
|
|
7504
|
-
* @generated from field: optional double egress_total = 33;
|
|
7505
|
-
*/
|
|
7506
|
-
egressTotal?: number;
|
|
7507
7610
|
/**
|
|
7508
7611
|
* Timestamps.
|
|
7509
7612
|
*
|
|
@@ -8302,7 +8405,8 @@ declare class WatchVideoResponse extends Message<WatchVideoResponse> {
|
|
|
8302
8405
|
*/
|
|
8303
8406
|
video?: Video;
|
|
8304
8407
|
/**
|
|
8305
|
-
* Type of event that triggered this update
|
|
8408
|
+
* Type of event that triggered this update. One of: "snapshot" (initial
|
|
8409
|
+
* state on subscribe), "status_change", "progress", "completed".
|
|
8306
8410
|
*
|
|
8307
8411
|
* @generated from field: string event_type = 2;
|
|
8308
8412
|
*/
|
|
@@ -8419,6 +8523,12 @@ declare class UsageSummary extends Message<UsageSummary> {
|
|
|
8419
8523
|
* @generated from field: double total_cost = 30;
|
|
8420
8524
|
*/
|
|
8421
8525
|
totalCost: number;
|
|
8526
|
+
/**
|
|
8527
|
+
* ISO 4217 currency code for all monetary fields in this summary (e.g. "EUR").
|
|
8528
|
+
*
|
|
8529
|
+
* @generated from field: string currency = 31;
|
|
8530
|
+
*/
|
|
8531
|
+
currency: string;
|
|
8422
8532
|
constructor(data?: PartialMessage<UsageSummary>);
|
|
8423
8533
|
static readonly runtime: typeof proto3;
|
|
8424
8534
|
static readonly typeName = "transcodely.v1.UsageSummary";
|
|
@@ -8449,9 +8559,14 @@ interface EventBase {
|
|
|
8449
8559
|
livemode: boolean;
|
|
8450
8560
|
/** Number of delivery attempts still pending across all subscribed endpoints. */
|
|
8451
8561
|
pendingWebhooks: number;
|
|
8452
|
-
/**
|
|
8562
|
+
/**
|
|
8563
|
+
* Originating API request, if known. `id` is `null` for events emitted
|
|
8564
|
+
* outside a request scope (e.g. worker-callback events like
|
|
8565
|
+
* `job.succeeded`); `idempotencyKey` is `null` when the caller didn't
|
|
8566
|
+
* supply one on the originating request.
|
|
8567
|
+
*/
|
|
8453
8568
|
request: {
|
|
8454
|
-
id: string;
|
|
8569
|
+
id: string | null;
|
|
8455
8570
|
idempotencyKey: string | null;
|
|
8456
8571
|
};
|
|
8457
8572
|
}
|
|
@@ -8979,11 +9094,13 @@ declare class UpdateMembershipRoleRequest extends Message<UpdateMembershipRoleRe
|
|
|
8979
9094
|
*/
|
|
8980
9095
|
declare class UpdateMembershipRoleResponse extends Message<UpdateMembershipRoleResponse> {
|
|
8981
9096
|
/**
|
|
8982
|
-
* The updated membership
|
|
9097
|
+
* The updated membership, including user details — same shape as
|
|
9098
|
+
* GetMembership / ListMemberships so a client refreshing from this response
|
|
9099
|
+
* doesn't see user fields disappear after a role change.
|
|
8983
9100
|
*
|
|
8984
|
-
* @generated from field: transcodely.v1.
|
|
9101
|
+
* @generated from field: transcodely.v1.MembershipWithUser membership = 1;
|
|
8985
9102
|
*/
|
|
8986
|
-
membership?:
|
|
9103
|
+
membership?: MembershipWithUser;
|
|
8987
9104
|
constructor(data?: PartialMessage<UpdateMembershipRoleResponse>);
|
|
8988
9105
|
static readonly runtime: typeof proto3;
|
|
8989
9106
|
static readonly typeName = "transcodely.v1.UpdateMembershipRoleResponse";
|
|
@@ -9020,7 +9137,7 @@ declare class Memberships {
|
|
|
9020
9137
|
constructor(transport: Transport);
|
|
9021
9138
|
list(req?: PartialMessage<ListMembershipsRequest>, opts?: CallOptions): Page<MembershipWithUser>;
|
|
9022
9139
|
get(id: string, opts?: CallOptions): Promise<MembershipWithUser>;
|
|
9023
|
-
updateRole(req: PartialMessage<UpdateMembershipRoleRequest>, opts?: CallOptions): Promise<
|
|
9140
|
+
updateRole(req: PartialMessage<UpdateMembershipRoleRequest>, opts?: CallOptions): Promise<MembershipWithUser>;
|
|
9024
9141
|
remove(id: string, opts?: CallOptions): Promise<void>;
|
|
9025
9142
|
}
|
|
9026
9143
|
|
|
@@ -9757,14 +9874,6 @@ declare class Preset extends Message<Preset> {
|
|
|
9757
9874
|
* @generated from field: transcodely.v1.DeliveryFormat delivery_format = 8;
|
|
9758
9875
|
*/
|
|
9759
9876
|
deliveryFormat: DeliveryFormat;
|
|
9760
|
-
/**
|
|
9761
|
-
* Streaming configuration for HLS/DASH outputs.
|
|
9762
|
-
* Includes segment duration, GOP alignment, and format options.
|
|
9763
|
-
* DEPRECATED: segment_duration field 9 is replaced by this.
|
|
9764
|
-
*
|
|
9765
|
-
* @generated from field: optional transcodely.v1.StreamingConfig streaming = 17;
|
|
9766
|
-
*/
|
|
9767
|
-
streaming?: StreamingConfig;
|
|
9768
9877
|
/**
|
|
9769
9878
|
* Segment duration in seconds for HLS/DASH (default: 6).
|
|
9770
9879
|
* DEPRECATED: Use streaming.segment_duration_seconds instead.
|
|
@@ -9825,6 +9934,13 @@ declare class Preset extends Message<Preset> {
|
|
|
9825
9934
|
* @generated from field: repeated transcodely.v1.PresetVariant variants = 18;
|
|
9826
9935
|
*/
|
|
9827
9936
|
variants: PresetVariant[];
|
|
9937
|
+
/**
|
|
9938
|
+
* Produce video-only outputs (no audio). When true, outputs derived from this
|
|
9939
|
+
* preset drop audio entirely unless the output overrides disable_audio.
|
|
9940
|
+
*
|
|
9941
|
+
* @generated from field: bool disable_audio = 19;
|
|
9942
|
+
*/
|
|
9943
|
+
disableAudio: boolean;
|
|
9828
9944
|
constructor(data?: PartialMessage<Preset>);
|
|
9829
9945
|
static readonly runtime: typeof proto3;
|
|
9830
9946
|
static readonly typeName = "transcodely.v1.Preset";
|
|
@@ -9919,11 +10035,18 @@ declare class CreatePresetRequest extends Message<CreatePresetRequest> {
|
|
|
9919
10035
|
/**
|
|
9920
10036
|
* Multi-variant ABR configuration (max 20 variants).
|
|
9921
10037
|
* Only valid when delivery_format is hls, dash, or cmaf.
|
|
9922
|
-
* Requires at least
|
|
10038
|
+
* Requires at least 1 variant when non-empty; a single variant produces a
|
|
10039
|
+
* single-rendition streaming output (e.g. one vertical 720p HLS stream).
|
|
9923
10040
|
*
|
|
9924
10041
|
* @generated from field: repeated transcodely.v1.PresetVariant variants = 14;
|
|
9925
10042
|
*/
|
|
9926
10043
|
variants: PresetVariant[];
|
|
10044
|
+
/**
|
|
10045
|
+
* Produce video-only outputs (no audio). Default: false.
|
|
10046
|
+
*
|
|
10047
|
+
* @generated from field: optional bool disable_audio = 15;
|
|
10048
|
+
*/
|
|
10049
|
+
disableAudio?: boolean;
|
|
9927
10050
|
constructor(data?: PartialMessage<CreatePresetRequest>);
|
|
9928
10051
|
static readonly runtime: typeof proto3;
|
|
9929
10052
|
static readonly typeName = "transcodely.v1.CreatePresetRequest";
|
|
@@ -10209,6 +10332,13 @@ declare class UpdatePresetRequest extends Message<UpdatePresetRequest> {
|
|
|
10209
10332
|
* @generated from field: repeated transcodely.v1.PresetVariant variants = 15;
|
|
10210
10333
|
*/
|
|
10211
10334
|
variants: PresetVariant[];
|
|
10335
|
+
/**
|
|
10336
|
+
* New disable_audio setting (optional). When true, outputs from this preset
|
|
10337
|
+
* are video-only.
|
|
10338
|
+
*
|
|
10339
|
+
* @generated from field: optional bool disable_audio = 16;
|
|
10340
|
+
*/
|
|
10341
|
+
disableAudio?: boolean;
|
|
10212
10342
|
constructor(data?: PartialMessage<UpdatePresetRequest>);
|
|
10213
10343
|
static readonly runtime: typeof proto3;
|
|
10214
10344
|
static readonly typeName = "transcodely.v1.UpdatePresetRequest";
|
|
@@ -10907,7 +11037,7 @@ declare class Transcodely {
|
|
|
10907
11037
|
}
|
|
10908
11038
|
|
|
10909
11039
|
/** SDK version. Bumped by release-please from package.json on each tag. */
|
|
10910
|
-
declare const SDK_VERSION = "0.1.
|
|
11040
|
+
declare const SDK_VERSION = "0.1.3";
|
|
10911
11041
|
/**
|
|
10912
11042
|
* API version this SDK release is pinned to. Sent on every request as
|
|
10913
11043
|
* `Transcodely-Version`. Customers can override per-client via the
|
|
@@ -10917,4 +11047,4 @@ declare const API_VERSION = "2026-05-03";
|
|
|
10917
11047
|
/** Default base URL for the production Transcodely API. */
|
|
10918
11048
|
declare const DEFAULT_BASE_URL = "https://api.transcodely.com";
|
|
10919
11049
|
|
|
10920
|
-
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, 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 };
|
|
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -2490,7 +2490,10 @@ declare class ResendEventRequest extends Message<ResendEventRequest> {
|
|
|
2490
2490
|
*/
|
|
2491
2491
|
declare class ResendEventResponse extends Message<ResendEventResponse> {
|
|
2492
2492
|
/**
|
|
2493
|
-
* Newly-created pending delivery records, one per target endpoint.
|
|
2493
|
+
* Newly-created pending delivery records, one per target endpoint. These are
|
|
2494
|
+
* freshly queued, so response-side fields (latency_ms, response_status,
|
|
2495
|
+
* response_headers, transport_error) are absent until the worker attempts
|
|
2496
|
+
* delivery — re-fetch via ListWebhookDeliveries to see the completed row.
|
|
2494
2497
|
*
|
|
2495
2498
|
* @generated from field: repeated transcodely.v1.WebhookDelivery deliveries = 1;
|
|
2496
2499
|
*/
|
|
@@ -2542,7 +2545,9 @@ declare class SendTestWebhookResponse extends Message<SendTestWebhookResponse> {
|
|
|
2542
2545
|
/**
|
|
2543
2546
|
* The newly-queued delivery row. The UI navigates the operator to its
|
|
2544
2547
|
* detail sheet so they can watch the worker transition it from pending
|
|
2545
|
-
* to succeeded / failed in real time.
|
|
2548
|
+
* to succeeded / failed in real time. Because it is freshly queued,
|
|
2549
|
+
* response-side fields (latency_ms, response_status, response_headers,
|
|
2550
|
+
* transport_error) are absent until the worker attempts delivery.
|
|
2546
2551
|
*
|
|
2547
2552
|
* @generated from field: transcodely.v1.WebhookDelivery delivery = 1;
|
|
2548
2553
|
*/
|
|
@@ -5659,6 +5664,27 @@ declare class ThumbnailSpec extends Message<ThumbnailSpec> {
|
|
|
5659
5664
|
* @generated from field: optional int32 sprite_columns = 9;
|
|
5660
5665
|
*/
|
|
5661
5666
|
spriteColumns?: number;
|
|
5667
|
+
/**
|
|
5668
|
+
* Per-thumbnail storage path template, resolved by the worker with
|
|
5669
|
+
* thumbnail-aware variables. Precedence: this field, then the output origin's
|
|
5670
|
+
* path_template, then the built-in default {job_id}/thumbnails/thumb_{thumb_index}.
|
|
5671
|
+
* The job-level output_path_template is NOT applied to thumbnails (it is
|
|
5672
|
+
* documented as applying to every output; thumbnails aren't outputs).
|
|
5673
|
+
*
|
|
5674
|
+
* Variables: {job_id}, {video_id}, {date}, {timestamp}, {uuid},
|
|
5675
|
+
* {format} (image format: jpeg|png|webp), {thumb_index} (0-based),
|
|
5676
|
+
* {thumb_time} (seconds, file-safe), {thumb_time_ms} (milliseconds).
|
|
5677
|
+
*
|
|
5678
|
+
* Example: "video/{video_id}/poster/{thumb_index}".
|
|
5679
|
+
*
|
|
5680
|
+
* Must not start with `/` or contain `..` (no path traversal). When set, it
|
|
5681
|
+
* must reference a uniqueness token ({job_id}, {video_id}, or {uuid}) so
|
|
5682
|
+
* thumbnails from different jobs never collide on a shared origin. Unset →
|
|
5683
|
+
* the default above (existing keys unchanged).
|
|
5684
|
+
*
|
|
5685
|
+
* @generated from field: optional string path_template = 10;
|
|
5686
|
+
*/
|
|
5687
|
+
pathTemplate?: string;
|
|
5662
5688
|
constructor(data?: PartialMessage<ThumbnailSpec>);
|
|
5663
5689
|
static readonly runtime: typeof proto3;
|
|
5664
5690
|
static readonly typeName = "transcodely.v1.ThumbnailSpec";
|
|
@@ -5668,6 +5694,71 @@ declare class ThumbnailSpec extends Message<ThumbnailSpec> {
|
|
|
5668
5694
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ThumbnailSpec;
|
|
5669
5695
|
static equals(a: ThumbnailSpec | PlainMessage<ThumbnailSpec> | undefined, b: ThumbnailSpec | PlainMessage<ThumbnailSpec> | undefined): boolean;
|
|
5670
5696
|
}
|
|
5697
|
+
/**
|
|
5698
|
+
* A single generated thumbnail artifact, reported by the worker on job
|
|
5699
|
+
* completion and surfaced on the Job response. Mirrors the rendition pattern:
|
|
5700
|
+
* the worker computes both the storage key and the storage URL, and the API
|
|
5701
|
+
* persists them verbatim (the same way JobOutput.output_url works). One
|
|
5702
|
+
* ThumbnailSpec can yield many ThumbnailResults (interval → N frames; sprite →
|
|
5703
|
+
* image + .vtt sidecar), correlated back via mode + index.
|
|
5704
|
+
*
|
|
5705
|
+
* @generated from message transcodely.v1.ThumbnailResult
|
|
5706
|
+
*/
|
|
5707
|
+
declare class ThumbnailResult extends Message<ThumbnailResult> {
|
|
5708
|
+
/**
|
|
5709
|
+
* Storage key relative to the output origin
|
|
5710
|
+
* (e.g. "job_xxx/thumbnails/thumb_0.jpg"). Stable identifier for the file.
|
|
5711
|
+
*
|
|
5712
|
+
* @generated from field: string storage_key = 1;
|
|
5713
|
+
*/
|
|
5714
|
+
storageKey: string;
|
|
5715
|
+
/**
|
|
5716
|
+
* Fully-qualified storage URL as built by the worker
|
|
5717
|
+
* (e.g. "s3://bucket/prefix/job_xxx/thumbnails/thumb_0.jpg"). Stored as-is
|
|
5718
|
+
* and echoed on the Job response, exactly like JobOutput.output_url.
|
|
5719
|
+
*
|
|
5720
|
+
* @generated from field: string url = 2;
|
|
5721
|
+
*/
|
|
5722
|
+
url: string;
|
|
5723
|
+
/**
|
|
5724
|
+
* Generation mode that produced this file: single | interval | sprite |
|
|
5725
|
+
* timestamps. Lowercase string on the wire.
|
|
5726
|
+
*
|
|
5727
|
+
* @generated from field: string mode = 3;
|
|
5728
|
+
*/
|
|
5729
|
+
mode: string;
|
|
5730
|
+
/**
|
|
5731
|
+
* File format: jpeg | png | webp. The sprite mode's WebVTT sidecar uses
|
|
5732
|
+
* "vtt".
|
|
5733
|
+
*
|
|
5734
|
+
* @generated from field: string format = 4;
|
|
5735
|
+
*/
|
|
5736
|
+
format: string;
|
|
5737
|
+
/**
|
|
5738
|
+
* Pixel dimensions. 0 when not applicable (e.g. the .vtt sidecar).
|
|
5739
|
+
*
|
|
5740
|
+
* @generated from field: int32 width = 5;
|
|
5741
|
+
*/
|
|
5742
|
+
width: number;
|
|
5743
|
+
/**
|
|
5744
|
+
* @generated from field: int32 height = 6;
|
|
5745
|
+
*/
|
|
5746
|
+
height: number;
|
|
5747
|
+
/**
|
|
5748
|
+
* 0-based index within a multi-file spec (interval frames, sprite tiles).
|
|
5749
|
+
*
|
|
5750
|
+
* @generated from field: int32 index = 7;
|
|
5751
|
+
*/
|
|
5752
|
+
index: number;
|
|
5753
|
+
constructor(data?: PartialMessage<ThumbnailResult>);
|
|
5754
|
+
static readonly runtime: typeof proto3;
|
|
5755
|
+
static readonly typeName = "transcodely.v1.ThumbnailResult";
|
|
5756
|
+
static readonly fields: FieldList;
|
|
5757
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ThumbnailResult;
|
|
5758
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ThumbnailResult;
|
|
5759
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ThumbnailResult;
|
|
5760
|
+
static equals(a: ThumbnailResult | PlainMessage<ThumbnailResult> | undefined, b: ThumbnailResult | PlainMessage<ThumbnailResult> | undefined): boolean;
|
|
5761
|
+
}
|
|
5671
5762
|
|
|
5672
5763
|
/**
|
|
5673
5764
|
* Job status enumeration.
|
|
@@ -6195,6 +6286,17 @@ declare class OutputSpec extends Message<OutputSpec> {
|
|
|
6195
6286
|
* @generated from field: optional string effective_path_template = 15;
|
|
6196
6287
|
*/
|
|
6197
6288
|
effectivePathTemplate?: string;
|
|
6289
|
+
/**
|
|
6290
|
+
* Produce a video-only output, dropping audio entirely.
|
|
6291
|
+
* Override semantics: when unset, the value is inherited from the referenced
|
|
6292
|
+
* preset (or defaults to false). When true, no audio stream is encoded or
|
|
6293
|
+
* packaged even if the source has one. A source that has no audio is always
|
|
6294
|
+
* handled gracefully (video-only) regardless of this flag.
|
|
6295
|
+
* Must not be combined with explicit audio[] tracks.
|
|
6296
|
+
*
|
|
6297
|
+
* @generated from field: optional bool disable_audio = 16;
|
|
6298
|
+
*/
|
|
6299
|
+
disableAudio?: boolean;
|
|
6198
6300
|
constructor(data?: PartialMessage<OutputSpec>);
|
|
6199
6301
|
static readonly runtime: typeof proto3;
|
|
6200
6302
|
static readonly typeName = "transcodely.v1.OutputSpec";
|
|
@@ -6891,6 +6993,15 @@ declare class Job extends Message<Job> {
|
|
|
6891
6993
|
* @generated from field: repeated transcodely.v1.ThumbnailSpec thumbnails = 25;
|
|
6892
6994
|
*/
|
|
6893
6995
|
thumbnails: ThumbnailSpec[];
|
|
6996
|
+
/**
|
|
6997
|
+
* Generated thumbnail artifacts (populated after the job completes). Each
|
|
6998
|
+
* entry carries the worker-built storage `url` plus `mode`/`index` to
|
|
6999
|
+
* correlate it back to the spec in `thumbnails` that produced it. Mirrors
|
|
7000
|
+
* how JobOutput.output_url surfaces rendition results.
|
|
7001
|
+
*
|
|
7002
|
+
* @generated from field: repeated transcodely.v1.ThumbnailResult thumbnail_results = 28;
|
|
7003
|
+
*/
|
|
7004
|
+
thumbnailResults: ThumbnailResult[];
|
|
6894
7005
|
/**
|
|
6895
7006
|
* Job-level output path template (echoed from request).
|
|
6896
7007
|
* Variables: {job_id}, {output_id}, {date}, {timestamp}, {codec}, {resolution}, {format}, {quality}, {output_index}, {uuid}
|
|
@@ -7496,14 +7607,6 @@ declare class Video extends Message<Video> {
|
|
|
7496
7607
|
* @generated from field: optional double encoding_cost = 31;
|
|
7497
7608
|
*/
|
|
7498
7609
|
encodingCost?: number;
|
|
7499
|
-
/**
|
|
7500
|
-
* @generated from field: optional double storage_cost_monthly = 32;
|
|
7501
|
-
*/
|
|
7502
|
-
storageCostMonthly?: number;
|
|
7503
|
-
/**
|
|
7504
|
-
* @generated from field: optional double egress_total = 33;
|
|
7505
|
-
*/
|
|
7506
|
-
egressTotal?: number;
|
|
7507
7610
|
/**
|
|
7508
7611
|
* Timestamps.
|
|
7509
7612
|
*
|
|
@@ -8302,7 +8405,8 @@ declare class WatchVideoResponse extends Message<WatchVideoResponse> {
|
|
|
8302
8405
|
*/
|
|
8303
8406
|
video?: Video;
|
|
8304
8407
|
/**
|
|
8305
|
-
* Type of event that triggered this update
|
|
8408
|
+
* Type of event that triggered this update. One of: "snapshot" (initial
|
|
8409
|
+
* state on subscribe), "status_change", "progress", "completed".
|
|
8306
8410
|
*
|
|
8307
8411
|
* @generated from field: string event_type = 2;
|
|
8308
8412
|
*/
|
|
@@ -8419,6 +8523,12 @@ declare class UsageSummary extends Message<UsageSummary> {
|
|
|
8419
8523
|
* @generated from field: double total_cost = 30;
|
|
8420
8524
|
*/
|
|
8421
8525
|
totalCost: number;
|
|
8526
|
+
/**
|
|
8527
|
+
* ISO 4217 currency code for all monetary fields in this summary (e.g. "EUR").
|
|
8528
|
+
*
|
|
8529
|
+
* @generated from field: string currency = 31;
|
|
8530
|
+
*/
|
|
8531
|
+
currency: string;
|
|
8422
8532
|
constructor(data?: PartialMessage<UsageSummary>);
|
|
8423
8533
|
static readonly runtime: typeof proto3;
|
|
8424
8534
|
static readonly typeName = "transcodely.v1.UsageSummary";
|
|
@@ -8449,9 +8559,14 @@ interface EventBase {
|
|
|
8449
8559
|
livemode: boolean;
|
|
8450
8560
|
/** Number of delivery attempts still pending across all subscribed endpoints. */
|
|
8451
8561
|
pendingWebhooks: number;
|
|
8452
|
-
/**
|
|
8562
|
+
/**
|
|
8563
|
+
* Originating API request, if known. `id` is `null` for events emitted
|
|
8564
|
+
* outside a request scope (e.g. worker-callback events like
|
|
8565
|
+
* `job.succeeded`); `idempotencyKey` is `null` when the caller didn't
|
|
8566
|
+
* supply one on the originating request.
|
|
8567
|
+
*/
|
|
8453
8568
|
request: {
|
|
8454
|
-
id: string;
|
|
8569
|
+
id: string | null;
|
|
8455
8570
|
idempotencyKey: string | null;
|
|
8456
8571
|
};
|
|
8457
8572
|
}
|
|
@@ -8979,11 +9094,13 @@ declare class UpdateMembershipRoleRequest extends Message<UpdateMembershipRoleRe
|
|
|
8979
9094
|
*/
|
|
8980
9095
|
declare class UpdateMembershipRoleResponse extends Message<UpdateMembershipRoleResponse> {
|
|
8981
9096
|
/**
|
|
8982
|
-
* The updated membership
|
|
9097
|
+
* The updated membership, including user details — same shape as
|
|
9098
|
+
* GetMembership / ListMemberships so a client refreshing from this response
|
|
9099
|
+
* doesn't see user fields disappear after a role change.
|
|
8983
9100
|
*
|
|
8984
|
-
* @generated from field: transcodely.v1.
|
|
9101
|
+
* @generated from field: transcodely.v1.MembershipWithUser membership = 1;
|
|
8985
9102
|
*/
|
|
8986
|
-
membership?:
|
|
9103
|
+
membership?: MembershipWithUser;
|
|
8987
9104
|
constructor(data?: PartialMessage<UpdateMembershipRoleResponse>);
|
|
8988
9105
|
static readonly runtime: typeof proto3;
|
|
8989
9106
|
static readonly typeName = "transcodely.v1.UpdateMembershipRoleResponse";
|
|
@@ -9020,7 +9137,7 @@ declare class Memberships {
|
|
|
9020
9137
|
constructor(transport: Transport);
|
|
9021
9138
|
list(req?: PartialMessage<ListMembershipsRequest>, opts?: CallOptions): Page<MembershipWithUser>;
|
|
9022
9139
|
get(id: string, opts?: CallOptions): Promise<MembershipWithUser>;
|
|
9023
|
-
updateRole(req: PartialMessage<UpdateMembershipRoleRequest>, opts?: CallOptions): Promise<
|
|
9140
|
+
updateRole(req: PartialMessage<UpdateMembershipRoleRequest>, opts?: CallOptions): Promise<MembershipWithUser>;
|
|
9024
9141
|
remove(id: string, opts?: CallOptions): Promise<void>;
|
|
9025
9142
|
}
|
|
9026
9143
|
|
|
@@ -9757,14 +9874,6 @@ declare class Preset extends Message<Preset> {
|
|
|
9757
9874
|
* @generated from field: transcodely.v1.DeliveryFormat delivery_format = 8;
|
|
9758
9875
|
*/
|
|
9759
9876
|
deliveryFormat: DeliveryFormat;
|
|
9760
|
-
/**
|
|
9761
|
-
* Streaming configuration for HLS/DASH outputs.
|
|
9762
|
-
* Includes segment duration, GOP alignment, and format options.
|
|
9763
|
-
* DEPRECATED: segment_duration field 9 is replaced by this.
|
|
9764
|
-
*
|
|
9765
|
-
* @generated from field: optional transcodely.v1.StreamingConfig streaming = 17;
|
|
9766
|
-
*/
|
|
9767
|
-
streaming?: StreamingConfig;
|
|
9768
9877
|
/**
|
|
9769
9878
|
* Segment duration in seconds for HLS/DASH (default: 6).
|
|
9770
9879
|
* DEPRECATED: Use streaming.segment_duration_seconds instead.
|
|
@@ -9825,6 +9934,13 @@ declare class Preset extends Message<Preset> {
|
|
|
9825
9934
|
* @generated from field: repeated transcodely.v1.PresetVariant variants = 18;
|
|
9826
9935
|
*/
|
|
9827
9936
|
variants: PresetVariant[];
|
|
9937
|
+
/**
|
|
9938
|
+
* Produce video-only outputs (no audio). When true, outputs derived from this
|
|
9939
|
+
* preset drop audio entirely unless the output overrides disable_audio.
|
|
9940
|
+
*
|
|
9941
|
+
* @generated from field: bool disable_audio = 19;
|
|
9942
|
+
*/
|
|
9943
|
+
disableAudio: boolean;
|
|
9828
9944
|
constructor(data?: PartialMessage<Preset>);
|
|
9829
9945
|
static readonly runtime: typeof proto3;
|
|
9830
9946
|
static readonly typeName = "transcodely.v1.Preset";
|
|
@@ -9919,11 +10035,18 @@ declare class CreatePresetRequest extends Message<CreatePresetRequest> {
|
|
|
9919
10035
|
/**
|
|
9920
10036
|
* Multi-variant ABR configuration (max 20 variants).
|
|
9921
10037
|
* Only valid when delivery_format is hls, dash, or cmaf.
|
|
9922
|
-
* Requires at least
|
|
10038
|
+
* Requires at least 1 variant when non-empty; a single variant produces a
|
|
10039
|
+
* single-rendition streaming output (e.g. one vertical 720p HLS stream).
|
|
9923
10040
|
*
|
|
9924
10041
|
* @generated from field: repeated transcodely.v1.PresetVariant variants = 14;
|
|
9925
10042
|
*/
|
|
9926
10043
|
variants: PresetVariant[];
|
|
10044
|
+
/**
|
|
10045
|
+
* Produce video-only outputs (no audio). Default: false.
|
|
10046
|
+
*
|
|
10047
|
+
* @generated from field: optional bool disable_audio = 15;
|
|
10048
|
+
*/
|
|
10049
|
+
disableAudio?: boolean;
|
|
9927
10050
|
constructor(data?: PartialMessage<CreatePresetRequest>);
|
|
9928
10051
|
static readonly runtime: typeof proto3;
|
|
9929
10052
|
static readonly typeName = "transcodely.v1.CreatePresetRequest";
|
|
@@ -10209,6 +10332,13 @@ declare class UpdatePresetRequest extends Message<UpdatePresetRequest> {
|
|
|
10209
10332
|
* @generated from field: repeated transcodely.v1.PresetVariant variants = 15;
|
|
10210
10333
|
*/
|
|
10211
10334
|
variants: PresetVariant[];
|
|
10335
|
+
/**
|
|
10336
|
+
* New disable_audio setting (optional). When true, outputs from this preset
|
|
10337
|
+
* are video-only.
|
|
10338
|
+
*
|
|
10339
|
+
* @generated from field: optional bool disable_audio = 16;
|
|
10340
|
+
*/
|
|
10341
|
+
disableAudio?: boolean;
|
|
10212
10342
|
constructor(data?: PartialMessage<UpdatePresetRequest>);
|
|
10213
10343
|
static readonly runtime: typeof proto3;
|
|
10214
10344
|
static readonly typeName = "transcodely.v1.UpdatePresetRequest";
|
|
@@ -10907,7 +11037,7 @@ declare class Transcodely {
|
|
|
10907
11037
|
}
|
|
10908
11038
|
|
|
10909
11039
|
/** SDK version. Bumped by release-please from package.json on each tag. */
|
|
10910
|
-
declare const SDK_VERSION = "0.1.
|
|
11040
|
+
declare const SDK_VERSION = "0.1.3";
|
|
10911
11041
|
/**
|
|
10912
11042
|
* API version this SDK release is pinned to. Sent on every request as
|
|
10913
11043
|
* `Transcodely-Version`. Customers can override per-client via the
|
|
@@ -10917,4 +11047,4 @@ declare const API_VERSION = "2026-05-03";
|
|
|
10917
11047
|
/** Default base URL for the production Transcodely API. */
|
|
10918
11048
|
declare const DEFAULT_BASE_URL = "https://api.transcodely.com";
|
|
10919
11049
|
|
|
10920
|
-
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, 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 };
|
|
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 };
|