@transcodely/sdk 0.3.13 → 0.3.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1835,9 +1835,10 @@ declare class AutoProfileDefaults extends Message<AutoProfileDefaults> {
1835
1835
  */
1836
1836
  qualityTier?: string;
1837
1837
  /**
1838
- * Encoding mode: "fixed" (default, static CRF) or "auto" (input-aware constrained CRF).
1838
+ * Encoding mode: "auto" (default, input-aware constrained CRF) or "fixed" (static CRF).
1839
1839
  * In "auto" mode, the worker caps each variant's bitrate based on the input's bitrate
1840
- * and resolution ratio, preventing output from exceeding the input's quality ceiling.
1840
+ * and resolution ratio, preventing output from exceeding the input's quality ceiling,
1841
+ * and skips any ladder rung larger than the source instead of upscaling it.
1841
1842
  *
1842
1843
  * @generated from field: optional string encoding_mode = 5;
1843
1844
  */
@@ -2035,6 +2036,151 @@ declare class GetSpendResponse extends Message<GetSpendResponse> {
2035
2036
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSpendResponse;
2036
2037
  static equals(a: GetSpendResponse | PlainMessage<GetSpendResponse> | undefined, b: GetSpendResponse | PlainMessage<GetSpendResponse> | undefined): boolean;
2037
2038
  }
2039
+ /**
2040
+ * Request to read the prices an app pays.
2041
+ *
2042
+ * @generated from message transcodely.v1.GetPricingRequest
2043
+ */
2044
+ declare class GetPricingRequest extends Message<GetPricingRequest> {
2045
+ /**
2046
+ * App ID. API-key callers may omit it or pass their own app; a different app
2047
+ * is rejected with PermissionDenied. Dashboard callers pass it to pick an app
2048
+ * in their organization; omitted selects the organization's first active
2049
+ * app in list order (the same default every app-scoped read uses).
2050
+ *
2051
+ * @generated from field: optional string app_id = 1;
2052
+ */
2053
+ appId?: string;
2054
+ constructor(data?: PartialMessage<GetPricingRequest>);
2055
+ static readonly runtime: typeof proto3;
2056
+ static readonly typeName = "transcodely.v1.GetPricingRequest";
2057
+ static readonly fields: FieldList;
2058
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPricingRequest;
2059
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPricingRequest;
2060
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPricingRequest;
2061
+ static equals(a: GetPricingRequest | PlainMessage<GetPricingRequest> | undefined, b: GetPricingRequest | PlainMessage<GetPricingRequest> | undefined): boolean;
2062
+ }
2063
+ /**
2064
+ * The effective price of one chargeable item for an app.
2065
+ *
2066
+ * A charge has a per-unit price, a multiplier, or both. Encoding cost per
2067
+ * output is the codec's base_price x output minutes x the codec, resolution,
2068
+ * quality, feature and frame-rate multipliers; fees, storage and delivery are
2069
+ * their base_price x quantity.
2070
+ *
2071
+ * @generated from message transcodely.v1.PricingEntry
2072
+ */
2073
+ declare class PricingEntry extends Message<PricingEntry> {
2074
+ /**
2075
+ * Charge class: codec, resolution, quality, feature, fee, storage, egress.
2076
+ * Other values may appear as new charges are introduced.
2077
+ *
2078
+ * @generated from field: string rule_type = 1;
2079
+ */
2080
+ ruleType: string;
2081
+ /**
2082
+ * Charge within its class, e.g. h264, 1080p, captions, processing_m.
2083
+ *
2084
+ * @generated from field: string rule_key = 2;
2085
+ */
2086
+ ruleKey: string;
2087
+ /**
2088
+ * Human label, e.g. "H.264".
2089
+ *
2090
+ * @generated from field: string label = 3;
2091
+ */
2092
+ label: string;
2093
+ /**
2094
+ * Human label of the class, e.g. "Encoding".
2095
+ *
2096
+ * @generated from field: string group_label = 4;
2097
+ */
2098
+ groupLabel: string;
2099
+ /**
2100
+ * What base_price is per: eur_per_output_minute, eur_per_source_minute,
2101
+ * eur_per_video, eur_per_job, eur_per_gb_month, eur_per_gb, or eur_per_unit
2102
+ * for a charge whose unit is not known yet. Empty for a charge that has only
2103
+ * a multiplier.
2104
+ *
2105
+ * @generated from field: string unit = 5;
2106
+ */
2107
+ unit: string;
2108
+ /**
2109
+ * The price per unit, in EUR, this app pays. Absent for a charge that has
2110
+ * only a multiplier.
2111
+ *
2112
+ * @generated from field: optional double base_price = 6;
2113
+ */
2114
+ basePrice?: number;
2115
+ /**
2116
+ * The multiplier this app pays. Absent for a charge that has only a per-unit
2117
+ * price.
2118
+ *
2119
+ * @generated from field: optional double multiplier = 7;
2120
+ */
2121
+ multiplier?: number;
2122
+ /**
2123
+ * True when this account has a custom rate for this charge, so base_price or
2124
+ * multiplier differs from the list price.
2125
+ *
2126
+ * @generated from field: bool custom = 8;
2127
+ */
2128
+ custom: boolean;
2129
+ /**
2130
+ * The public list price per unit, in EUR. Absent when base_price is.
2131
+ *
2132
+ * @generated from field: optional double list_base_price = 9;
2133
+ */
2134
+ listBasePrice?: number;
2135
+ /**
2136
+ * The public list multiplier. Absent when multiplier is.
2137
+ *
2138
+ * @generated from field: optional double list_multiplier = 10;
2139
+ */
2140
+ listMultiplier?: number;
2141
+ constructor(data?: PartialMessage<PricingEntry>);
2142
+ static readonly runtime: typeof proto3;
2143
+ static readonly typeName = "transcodely.v1.PricingEntry";
2144
+ static readonly fields: FieldList;
2145
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PricingEntry;
2146
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PricingEntry;
2147
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PricingEntry;
2148
+ static equals(a: PricingEntry | PlainMessage<PricingEntry> | undefined, b: PricingEntry | PlainMessage<PricingEntry> | undefined): boolean;
2149
+ }
2150
+ /**
2151
+ * The prices an app pays. Prices are fixed when work is quoted (a job when it
2152
+ * is created), so a price change applies to work created after it.
2153
+ *
2154
+ * @generated from message transcodely.v1.GetPricingResponse
2155
+ */
2156
+ declare class GetPricingResponse extends Message<GetPricingResponse> {
2157
+ /**
2158
+ * The app these prices are for.
2159
+ *
2160
+ * @generated from field: string app_id = 1;
2161
+ */
2162
+ appId: string;
2163
+ /**
2164
+ * Currency of every price. Always "EUR".
2165
+ *
2166
+ * @generated from field: string currency = 2;
2167
+ */
2168
+ currency: string;
2169
+ /**
2170
+ * Every chargeable item, grouped by class in display order.
2171
+ *
2172
+ * @generated from field: repeated transcodely.v1.PricingEntry entries = 3;
2173
+ */
2174
+ entries: PricingEntry[];
2175
+ constructor(data?: PartialMessage<GetPricingResponse>);
2176
+ static readonly runtime: typeof proto3;
2177
+ static readonly typeName = "transcodely.v1.GetPricingResponse";
2178
+ static readonly fields: FieldList;
2179
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPricingResponse;
2180
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPricingResponse;
2181
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPricingResponse;
2182
+ static equals(a: GetPricingResponse | PlainMessage<GetPricingResponse> | undefined, b: GetPricingResponse | PlainMessage<GetPricingResponse> | undefined): boolean;
2183
+ }
2038
2184
 
2039
2185
  declare class Apps {
2040
2186
  private readonly transport;
@@ -2071,6 +2217,14 @@ declare class Apps {
2071
2217
  * 80% warning and 100% breach events have fired this period.
2072
2218
  */
2073
2219
  getSpend(id: string, opts?: CallOptions): Promise<GetSpendResponse>;
2220
+ /**
2221
+ * Get the prices an app pays: every chargeable item with its effective EUR
2222
+ * rate, whether the account has a custom rate for it (`custom`), and the
2223
+ * public list price. Omit `id` to price the API key's own app (dashboard
2224
+ * callers: the organization's first active app). Prices are fixed when a job is
2225
+ * created, so a price change applies to jobs created after it.
2226
+ */
2227
+ getPricing(id?: string, opts?: CallOptions): Promise<GetPricingResponse>;
2074
2228
  }
2075
2229
 
2076
2230
  /**
@@ -5289,13 +5443,17 @@ declare enum HDRFormat {
5289
5443
  */
5290
5444
  HDR_FORMAT_HLG = 3,
5291
5445
  /**
5292
- * Dolby Vision Profile 5 (single-layer, cross-compatible).
5446
+ * Dolby Vision Profile 5 (single-layer, no HDR10 or SDR compatibility
5447
+ * layer). Not available: refused at create with `parameter_unsupported` on
5448
+ * `hdr.format` until the worker produces Dolby Vision output.
5293
5449
  *
5294
5450
  * @generated from enum value: HDR_FORMAT_DOLBY_VISION_5 = 4;
5295
5451
  */
5296
5452
  HDR_FORMAT_DOLBY_VISION_5 = 4,
5297
5453
  /**
5298
- * Dolby Vision Profile 8 (MEL, backward-compatible with HDR10).
5454
+ * Dolby Vision Profile 8.1 (single-layer, HDR10-compatible base layer). Not
5455
+ * available: refused at create with `parameter_unsupported` on `hdr.format`
5456
+ * until the worker produces Dolby Vision output.
5299
5457
  *
5300
5458
  * @generated from enum value: HDR_FORMAT_DOLBY_VISION_8 = 5;
5301
5459
  */
@@ -5377,6 +5535,9 @@ declare enum ToneMapping {
5377
5535
  declare class HDRConfig extends Message<HDRConfig> {
5378
5536
  /**
5379
5537
  * Target HDR format (required for passthrough and force modes).
5538
+ * `dolby_vision_5` and `dolby_vision_8` are refused at create until the
5539
+ * worker produces Dolby Vision output; a refused request creates no job and
5540
+ * is neither quoted nor billed.
5380
5541
  *
5381
5542
  * @generated from field: transcodely.v1.HDRFormat format = 1;
5382
5543
  */
@@ -5415,7 +5576,9 @@ declare class HDRConfig extends Message<HDRConfig> {
5415
5576
  */
5416
5577
  contentLightLevel?: string;
5417
5578
  /**
5418
- * Dolby Vision RPU file URL (for DV metadata injection).
5579
+ * Dolby Vision RPU file URL. Only accepted with a `dolby_vision_*` format,
5580
+ * which is refused at create until the worker produces Dolby Vision output,
5581
+ * so this field is currently unreachable.
5419
5582
  *
5420
5583
  * @generated from field: optional string rpu_url = 7;
5421
5584
  */
@@ -9378,6 +9541,10 @@ declare class OutputSpec extends Message<OutputSpec> {
9378
9541
  * Encoding mode: "fixed" (default, static CRF) or "auto" (input-aware constrained CRF).
9379
9542
  * In "auto" mode, the worker caps each variant's bitrate based on the input's bitrate
9380
9543
  * and resolution ratio, preventing output from exceeding the input's quality ceiling.
9544
+ * "auto" also skips any ABR rung larger than the source instead of upscaling it.
9545
+ * A skipped rung is reported with status "skipped" and is not billed.
9546
+ * Outputs created since 2026-10-27 echo the resolved mode on responses (unset
9547
+ * resolves to "fixed"). Outputs created before then omit it: their mode was not stored.
9381
9548
  *
9382
9549
  * @generated from field: optional string encoding_mode = 14;
9383
9550
  */
@@ -9608,7 +9775,10 @@ declare class VariantPricingSnapshot extends Message<VariantPricingSnapshot> {
9608
9775
  */
9609
9776
  actualCost?: number;
9610
9777
  /**
9611
- * Variant encoding status: "pending", "processing", "completed", "failed".
9778
+ * Variant encoding status: "pending", "processing", "completed", "failed",
9779
+ * "canceled", or "skipped". A rung is "skipped" when `encoding_mode: auto`
9780
+ * left it unencoded because it would have upscaled the source. A skipped
9781
+ * rung has actual_cost 0 and is not billed.
9612
9782
  *
9613
9783
  * @generated from field: string status = 20;
9614
9784
  */
@@ -13286,6 +13456,13 @@ declare class UsageSummary extends Message<UsageSummary> {
13286
13456
  */
13287
13457
  storageGbAvg: number;
13288
13458
  /**
13459
+ * Storage cost of the period so far, as your invoice will carry it. Each
13460
+ * day is one GB-day: the day's stored bytes at the day's monthly price
13461
+ * divided by the days in that month. Days already billed are reported at
13462
+ * the rate they were billed at, so a later price or rate-card change never
13463
+ * re-prices them; the remaining days (see hosting_estimated_from) are
13464
+ * estimated the same way at your current rate.
13465
+ *
13289
13466
  * @generated from field: double storage_cost = 11;
13290
13467
  */
13291
13468
  storageCost: number;
@@ -13300,6 +13477,10 @@ declare class UsageSummary extends Message<UsageSummary> {
13300
13477
  */
13301
13478
  egressGb: number;
13302
13479
  /**
13480
+ * Delivery cost of the period so far, as your invoice will carry it:
13481
+ * billed delivery at the rate it was billed at, delivery not billed yet
13482
+ * estimated at your current rate.
13483
+ *
13303
13484
  * @generated from field: double egress_cost = 21;
13304
13485
  */
13305
13486
  egressCost: number;
@@ -13319,6 +13500,18 @@ declare class UsageSummary extends Message<UsageSummary> {
13319
13500
  * @generated from field: string currency = 31;
13320
13501
  */
13321
13502
  currency: string;
13503
+ /**
13504
+ * First day (YYYY-MM-DD, UTC) whose storage or delivery cost is an
13505
+ * estimate rather than billed usage. Hosting is billed daily, through the
13506
+ * previous day, so while you store or deliver video the current period has
13507
+ * an estimated tail, and the estimate turns into the billed amount as each
13508
+ * day is billed. Empty when no day with hosting usage in the period is
13509
+ * still unbilled, which is when storage_cost and egress_cost match your
13510
+ * invoice (to within the sub-cent remainder carried to the next charge).
13511
+ *
13512
+ * @generated from field: string hosting_estimated_from = 32;
13513
+ */
13514
+ hostingEstimatedFrom: string;
13322
13515
  /**
13323
13516
  * Per-day usage breakdown for the billing period identified by
13324
13517
  * billing_month, oldest day first. With a billing anchor day other than 1,
@@ -17852,7 +18045,7 @@ interface SerializeOptions {
17852
18045
  declare function toWireJson<T extends Message<T>>(msg: T, opts?: SerializeOptions): JsonValue;
17853
18046
 
17854
18047
  /** SDK version. Bumped by release-please from package.json on each tag. */
17855
- declare const SDK_VERSION = "0.3.13";
18048
+ declare const SDK_VERSION = "0.3.15";
17856
18049
  /**
17857
18050
  * API version this SDK release is pinned to. Sent on every request as
17858
18051
  * `Transcodely-Version`. Customers can override per-client via the
@@ -17979,4 +18172,4 @@ declare class ComponentHealth extends Message<ComponentHealth> {
17979
18172
  static equals(a: ComponentHealth | PlainMessage<ComponentHealth> | undefined, b: ComponentHealth | PlainMessage<ComponentHealth> | undefined): boolean;
17980
18173
  }
17981
18174
 
17982
- export { APIConnectionError, APIError, Event as APIEvent, APIKey, API_VERSION, AV1Options, AbortMultipartUploadRequest, App, AppStatus, ArchiveAppRequest, ArchiveOriginRequest, ArchivePresetRequest, AudioCodec, AudioSettings, AudioStreamInfo, AudioTrackConfig, AuthenticationError, AutoABRConfig, AutoProfileDefaults, BYOKConfig, BillingPaymentMethod, BillingPortalSession, BillingProfile, BillingStanding, BillingTreatment, BitrateMode, Budget, BurnInStyle, type CallOptions, CancelJobRequest, CancelJobResponse, CaptionStyle, ChapterPoint, ChapterResult, CheckSlugRequest, CheckSlugResponse, ClipConfig, CompleteMultipartUploadRequest, CompleteMultipartUploadResponse, CompleteUploadRequest, CompleteUploadResponse, CompletedPart, ComponentHealth, ConfirmJobRequest, ConfirmJobResponse, ConflictError, Container, ContentAnalysis, ContentAwareConfig, ContentAwareMode, ContentType, CreateAPIKeyRequest, CreateAPIKeyResponse, CreateAppRequest, CreateAppResponse, CreateBillingPortalSessionRequest, CreateBillingPortalSessionResponse, CreateFromUrlRequest, CreateFromUrlResponse, CreateIngestRuleRequest, CreateIngestRuleResponse, CreateJobRequest, CreateJobResponse, CreateMultipartUploadRequest, CreateMultipartUploadResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateOriginRequest, CreateOriginResponse, CreatePresetRequest, CreatePresetResponse, CreateUploadRequest, CreateUploadResponse, CreateWebhookEndpointRequest, CreateWebhookEndpointResponse, DASHConfig, DEFAULT_BASE_URL, DEFAULT_CONCURRENCY, DEFAULT_MAX_RETRIES, DEFAULT_PART_SIZE, DEFAULT_RETRY_BASE_DELAY_MS, DEFAULT_TOLERANCE_SECONDS, DRMConfig, DRMSystem, DailyUsage, DeleteIngestRuleRequest, DeleteIngestRuleResponse, DeleteVideoRequest, DeleteWebhookEndpointRequest, DeleteWebhookEndpointResponse, DeliveryFormat, DunningStage, DuplicatePresetRequest, DuplicatePresetResponse, EVENT_ID_HEADER, EnableHostingRequest, EnableHostingResponse, EncryptionScheme, EndpointHealthSummary, ErrorDetails, type EventBase, ExecutionTiming, ExposureThresholdSource, type FieldViolation, GOPAlignmentMode, GcsCredentials, GcsOriginConfig, GenerateInsightsRequest, GenerateInsightsResponse, GetAPIKeyRequest, GetAPIKeyResponse, GetAppRequest, GetAppResponse, GetBillingProfileRequest, GetBillingProfileResponse, GetBudgetRequest, GetBudgetResponse, GetEndpointHealthRequest, GetEndpointHealthResponse, GetIngestRuleRequest, GetIngestRuleResponse, GetInvoiceRequest, GetInvoiceResponse, GetJobRequest, GetJobResponse, GetMeRequest, GetMeResponse, GetMembershipRequest, GetMembershipResponse, GetOrganizationRequest, GetOrganizationResponse, GetOriginRequest, GetOriginResponse, GetOutstandingBalanceRequest, GetOutstandingBalanceResponse, GetPresetBySlugRequest, GetPresetBySlugResponse, GetPresetRequest, GetPresetResponse, GetSeoMarkupRequest, GetSeoMarkupResponse, GetSpendRequest, GetSpendResponse, GetStatsRequest, GetStatsResponse, GetUpcomingInvoiceRequest, GetUpcomingInvoiceResponse, GetUploadPartUrlsRequest, GetUploadPartUrlsResponse, GetUsageRequest, GetUsageResponse, GetUserRequest, GetUserResponse, GetVideoRequest, GetVideoResponse, H264Options, H265Options, HDRConfig, HDRFormat, HDRMode, HLSConfig, HLSPlaylistType, HLSSegmentFormat, HealthBucket, HealthCheckRequest, HealthCheckResponse, HealthStatus, HostingConfig, HttpCredentials, HttpOriginConfig, IngestRule, IngestRuleAction, IngestRuleFilters, InputMetadata, InsightsHighlight, InsightsOptions, InsightsQuestion, InsightsSource, InsightsStatus, InsightsTerm, InvalidRequestError, Invoice, InvoiceLineItem, InvoiceLineType, InvoiceStatus, Job, JobCostBreakdown, JobCostLine, JobCostLineType, JobFee, JobOutput, JobPriority, JobStatus, KeyServerConfig, type KnownWebhookEvent, ListAPIKeysRequest, ListAPIKeysResponse, ListAppsRequest, ListAppsResponse, ListEventsRequest, ListEventsResponse, ListIngestEventsRequest, ListIngestEventsResponse, ListIngestRulesRequest, ListIngestRulesResponse, ListInvoicesRequest, ListInvoicesResponse, ListJobsRequest, ListJobsResponse, ListMembershipsRequest, ListMembershipsResponse, ListOrganizationsRequest, ListOrganizationsResponse, ListOriginsRequest, ListOriginsResponse, ListPresetsRequest, ListPresetsResponse, ListTopVideosRequest, ListTopVideosResponse, ListUsersRequest, ListUsersResponse, ListVideosRequest, ListVideosResponse, ListWebhookDeliveriesRequest, ListWebhookDeliveriesResponse, ListWebhookEndpointsRequest, ListWebhookEndpointsResponse, type LogEvent, MAX_PARTS, MAX_UPLOAD_SIZE_BYTES, MIN_PART_SIZE, Membership, MembershipRole, MembershipStatus, MembershipWithUser, NotFoundError, Organization, OrganizationStatus, Origin, OriginPermission, OriginProvider, OriginRef, OriginStatus, OutputFormat, OutputReport, OutputReportAudio, OutputReportColor, OutputReportContentAware, OutputReportContentAwareProbe, OutputReportMismatch, OutputReportVerdict, OutputReportVideo, OutputSpec, OutputStatus, OutputVariantResult, OutstandingBalance, Page, PaginationRequest, PaginationResponse, PaymentMethodState, PermissionError, PlayerConfig, PreconditionError, Preset, PresetVariant, PricingSnapshot, type PutFileOptions, QualityTier, R2Jurisdiction, R2OriginConfig, RateLimitError, RemoveMembershipRequest, ReplayIngestEventRequest, ReplayIngestEventResponse, ResendEventRequest, ResendEventResponse, Resolution, RetrieveEventRequest, RetrieveEventResponse, RetrieveWebhookEndpointRequest, RetrieveWebhookEndpointResponse, RevokeAPIKeyRequest, RotateWebhookSecretRequest, RotateWebhookSecretResponse, S3Credentials, S3OriginConfig, SDK_VERSION, SIGNATURE_HEADER, SegmentConfig, SendTestWebhookRequest, SendTestWebhookResponse, SettleOutstandingBalanceRequest, SettleOutstandingBalanceResponse, Settlement, type SpendLimitNotification, StorageEvent, StorageEventSource, StorageEventStatus, StreamingConfig, SubtitleFormat, SubtitleOperation, SubtitleResult, SubtitleStreamInfo, SubtitleTrack, TestIngestRuleRequest, TestIngestRuleResponse, ThumbnailFormat, ThumbnailMode, ThumbnailResult, ThumbnailSpec, ToneMapping, TopVideo, Transcodely, type TranscodelyConfig, TranscodelyError, TranscriptFormat, TranscriptInsights, TranscriptOptions, TranscriptRendition, TranscriptStyle, TrustTier, type UnknownWebhookEvent, UpdateAppRequest, UpdateAppResponse, UpdateBudgetRequest, UpdateBudgetResponse, UpdateHostingConfigRequest, UpdateHostingConfigResponse, UpdateIngestRuleRequest, UpdateIngestRuleResponse, UpdateMeRequest, UpdateMeResponse, UpdateMembershipRoleRequest, UpdateMembershipRoleResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateOriginRequest, UpdateOriginResponse, UpdatePlayerConfigRequest, UpdatePlayerConfigResponse, UpdatePresetRequest, UpdatePresetResponse, UpdateSpendLimitRequest, UpdateSpendLimitResponse, UpdateVideoRequest, UpdateVideoResponse, UpdateWebhookEndpointRequest, UpdateWebhookEndpointResponse, UploadAbortedError, UploadError, UploadPart, type UploadProgress, type UploadSource, Uploads, UsageSummary, User, UserApprovalStatus, UserOrganization, UserStatus, UserWithOrganizations, VP9Options, ValidateOriginRequest, ValidateOriginResponse, ValidationResult, VariantPricingSnapshot, type VerifyOptions, Video, VideoCodec, VideoRendition, VideoSettings, VideoStatsDay, VideoStatsTotals, VideoStatus, VideoStreamInfo, VideoTextTrack, VideoVariant, VideoVisibility, WEBHOOK_EVENT_TYPES, WatchEventType, WatchJobRequest, WatchJobResponse, WatchVideoRequest, WatchVideoResponse, WatermarkAnchor, WatermarkConfig, WatermarkPixelPlacement, WebhookDelivery, WebhookEndpoint, WebhookError, type WebhookEvent, type WebhookEventType, WebhookPayloadError, WebhookSignatureError, WebhookTimestampError, Webhooks, calculatePartSize, calculateTotalParts, constructEvent, contentTypeForFilename, isEventType, isKnownEvent, toWireJson, verifySignature };
18175
+ export { APIConnectionError, APIError, Event as APIEvent, APIKey, API_VERSION, AV1Options, AbortMultipartUploadRequest, App, AppStatus, ArchiveAppRequest, ArchiveOriginRequest, ArchivePresetRequest, AudioCodec, AudioSettings, AudioStreamInfo, AudioTrackConfig, AuthenticationError, AutoABRConfig, AutoProfileDefaults, BYOKConfig, BillingPaymentMethod, BillingPortalSession, BillingProfile, BillingStanding, BillingTreatment, BitrateMode, Budget, BurnInStyle, type CallOptions, CancelJobRequest, CancelJobResponse, CaptionStyle, ChapterPoint, ChapterResult, CheckSlugRequest, CheckSlugResponse, ClipConfig, CompleteMultipartUploadRequest, CompleteMultipartUploadResponse, CompleteUploadRequest, CompleteUploadResponse, CompletedPart, ComponentHealth, ConfirmJobRequest, ConfirmJobResponse, ConflictError, Container, ContentAnalysis, ContentAwareConfig, ContentAwareMode, ContentType, CreateAPIKeyRequest, CreateAPIKeyResponse, CreateAppRequest, CreateAppResponse, CreateBillingPortalSessionRequest, CreateBillingPortalSessionResponse, CreateFromUrlRequest, CreateFromUrlResponse, CreateIngestRuleRequest, CreateIngestRuleResponse, CreateJobRequest, CreateJobResponse, CreateMultipartUploadRequest, CreateMultipartUploadResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateOriginRequest, CreateOriginResponse, CreatePresetRequest, CreatePresetResponse, CreateUploadRequest, CreateUploadResponse, CreateWebhookEndpointRequest, CreateWebhookEndpointResponse, DASHConfig, DEFAULT_BASE_URL, DEFAULT_CONCURRENCY, DEFAULT_MAX_RETRIES, DEFAULT_PART_SIZE, DEFAULT_RETRY_BASE_DELAY_MS, DEFAULT_TOLERANCE_SECONDS, DRMConfig, DRMSystem, DailyUsage, DeleteIngestRuleRequest, DeleteIngestRuleResponse, DeleteVideoRequest, DeleteWebhookEndpointRequest, DeleteWebhookEndpointResponse, DeliveryFormat, DunningStage, DuplicatePresetRequest, DuplicatePresetResponse, EVENT_ID_HEADER, EnableHostingRequest, EnableHostingResponse, EncryptionScheme, EndpointHealthSummary, ErrorDetails, type EventBase, ExecutionTiming, ExposureThresholdSource, type FieldViolation, GOPAlignmentMode, GcsCredentials, GcsOriginConfig, GenerateInsightsRequest, GenerateInsightsResponse, GetAPIKeyRequest, GetAPIKeyResponse, GetAppRequest, GetAppResponse, GetBillingProfileRequest, GetBillingProfileResponse, GetBudgetRequest, GetBudgetResponse, GetEndpointHealthRequest, GetEndpointHealthResponse, GetIngestRuleRequest, GetIngestRuleResponse, GetInvoiceRequest, GetInvoiceResponse, GetJobRequest, GetJobResponse, GetMeRequest, GetMeResponse, GetMembershipRequest, GetMembershipResponse, GetOrganizationRequest, GetOrganizationResponse, GetOriginRequest, GetOriginResponse, GetOutstandingBalanceRequest, GetOutstandingBalanceResponse, GetPresetBySlugRequest, GetPresetBySlugResponse, GetPresetRequest, GetPresetResponse, GetPricingRequest, GetPricingResponse, GetSeoMarkupRequest, GetSeoMarkupResponse, GetSpendRequest, GetSpendResponse, GetStatsRequest, GetStatsResponse, GetUpcomingInvoiceRequest, GetUpcomingInvoiceResponse, GetUploadPartUrlsRequest, GetUploadPartUrlsResponse, GetUsageRequest, GetUsageResponse, GetUserRequest, GetUserResponse, GetVideoRequest, GetVideoResponse, H264Options, H265Options, HDRConfig, HDRFormat, HDRMode, HLSConfig, HLSPlaylistType, HLSSegmentFormat, HealthBucket, HealthCheckRequest, HealthCheckResponse, HealthStatus, HostingConfig, HttpCredentials, HttpOriginConfig, IngestRule, IngestRuleAction, IngestRuleFilters, InputMetadata, InsightsHighlight, InsightsOptions, InsightsQuestion, InsightsSource, InsightsStatus, InsightsTerm, InvalidRequestError, Invoice, InvoiceLineItem, InvoiceLineType, InvoiceStatus, Job, JobCostBreakdown, JobCostLine, JobCostLineType, JobFee, JobOutput, JobPriority, JobStatus, KeyServerConfig, type KnownWebhookEvent, ListAPIKeysRequest, ListAPIKeysResponse, ListAppsRequest, ListAppsResponse, ListEventsRequest, ListEventsResponse, ListIngestEventsRequest, ListIngestEventsResponse, ListIngestRulesRequest, ListIngestRulesResponse, ListInvoicesRequest, ListInvoicesResponse, ListJobsRequest, ListJobsResponse, ListMembershipsRequest, ListMembershipsResponse, ListOrganizationsRequest, ListOrganizationsResponse, ListOriginsRequest, ListOriginsResponse, ListPresetsRequest, ListPresetsResponse, ListTopVideosRequest, ListTopVideosResponse, ListUsersRequest, ListUsersResponse, ListVideosRequest, ListVideosResponse, ListWebhookDeliveriesRequest, ListWebhookDeliveriesResponse, ListWebhookEndpointsRequest, ListWebhookEndpointsResponse, type LogEvent, MAX_PARTS, MAX_UPLOAD_SIZE_BYTES, MIN_PART_SIZE, Membership, MembershipRole, MembershipStatus, MembershipWithUser, NotFoundError, Organization, OrganizationStatus, Origin, OriginPermission, OriginProvider, OriginRef, OriginStatus, OutputFormat, OutputReport, OutputReportAudio, OutputReportColor, OutputReportContentAware, OutputReportContentAwareProbe, OutputReportMismatch, OutputReportVerdict, OutputReportVideo, OutputSpec, OutputStatus, OutputVariantResult, OutstandingBalance, Page, PaginationRequest, PaginationResponse, PaymentMethodState, PermissionError, PlayerConfig, PreconditionError, Preset, PresetVariant, PricingEntry, PricingSnapshot, type PutFileOptions, QualityTier, R2Jurisdiction, R2OriginConfig, RateLimitError, RemoveMembershipRequest, ReplayIngestEventRequest, ReplayIngestEventResponse, ResendEventRequest, ResendEventResponse, Resolution, RetrieveEventRequest, RetrieveEventResponse, RetrieveWebhookEndpointRequest, RetrieveWebhookEndpointResponse, RevokeAPIKeyRequest, RotateWebhookSecretRequest, RotateWebhookSecretResponse, S3Credentials, S3OriginConfig, SDK_VERSION, SIGNATURE_HEADER, SegmentConfig, SendTestWebhookRequest, SendTestWebhookResponse, SettleOutstandingBalanceRequest, SettleOutstandingBalanceResponse, Settlement, type SpendLimitNotification, StorageEvent, StorageEventSource, StorageEventStatus, StreamingConfig, SubtitleFormat, SubtitleOperation, SubtitleResult, SubtitleStreamInfo, SubtitleTrack, TestIngestRuleRequest, TestIngestRuleResponse, ThumbnailFormat, ThumbnailMode, ThumbnailResult, ThumbnailSpec, ToneMapping, TopVideo, Transcodely, type TranscodelyConfig, TranscodelyError, TranscriptFormat, TranscriptInsights, TranscriptOptions, TranscriptRendition, TranscriptStyle, TrustTier, type UnknownWebhookEvent, UpdateAppRequest, UpdateAppResponse, UpdateBudgetRequest, UpdateBudgetResponse, UpdateHostingConfigRequest, UpdateHostingConfigResponse, UpdateIngestRuleRequest, UpdateIngestRuleResponse, UpdateMeRequest, UpdateMeResponse, UpdateMembershipRoleRequest, UpdateMembershipRoleResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateOriginRequest, UpdateOriginResponse, UpdatePlayerConfigRequest, UpdatePlayerConfigResponse, UpdatePresetRequest, UpdatePresetResponse, UpdateSpendLimitRequest, UpdateSpendLimitResponse, UpdateVideoRequest, UpdateVideoResponse, UpdateWebhookEndpointRequest, UpdateWebhookEndpointResponse, UploadAbortedError, UploadError, UploadPart, type UploadProgress, type UploadSource, Uploads, UsageSummary, User, UserApprovalStatus, UserOrganization, UserStatus, UserWithOrganizations, VP9Options, ValidateOriginRequest, ValidateOriginResponse, ValidationResult, VariantPricingSnapshot, type VerifyOptions, Video, VideoCodec, VideoRendition, VideoSettings, VideoStatsDay, VideoStatsTotals, VideoStatus, VideoStreamInfo, VideoTextTrack, VideoVariant, VideoVisibility, WEBHOOK_EVENT_TYPES, WatchEventType, WatchJobRequest, WatchJobResponse, WatchVideoRequest, WatchVideoResponse, WatermarkAnchor, WatermarkConfig, WatermarkPixelPlacement, WebhookDelivery, WebhookEndpoint, WebhookError, type WebhookEvent, type WebhookEventType, WebhookPayloadError, WebhookSignatureError, WebhookTimestampError, Webhooks, calculatePartSize, calculateTotalParts, constructEvent, contentTypeForFilename, isEventType, isKnownEvent, toWireJson, verifySignature };
package/dist/index.d.ts CHANGED
@@ -1835,9 +1835,10 @@ declare class AutoProfileDefaults extends Message<AutoProfileDefaults> {
1835
1835
  */
1836
1836
  qualityTier?: string;
1837
1837
  /**
1838
- * Encoding mode: "fixed" (default, static CRF) or "auto" (input-aware constrained CRF).
1838
+ * Encoding mode: "auto" (default, input-aware constrained CRF) or "fixed" (static CRF).
1839
1839
  * In "auto" mode, the worker caps each variant's bitrate based on the input's bitrate
1840
- * and resolution ratio, preventing output from exceeding the input's quality ceiling.
1840
+ * and resolution ratio, preventing output from exceeding the input's quality ceiling,
1841
+ * and skips any ladder rung larger than the source instead of upscaling it.
1841
1842
  *
1842
1843
  * @generated from field: optional string encoding_mode = 5;
1843
1844
  */
@@ -2035,6 +2036,151 @@ declare class GetSpendResponse extends Message<GetSpendResponse> {
2035
2036
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSpendResponse;
2036
2037
  static equals(a: GetSpendResponse | PlainMessage<GetSpendResponse> | undefined, b: GetSpendResponse | PlainMessage<GetSpendResponse> | undefined): boolean;
2037
2038
  }
2039
+ /**
2040
+ * Request to read the prices an app pays.
2041
+ *
2042
+ * @generated from message transcodely.v1.GetPricingRequest
2043
+ */
2044
+ declare class GetPricingRequest extends Message<GetPricingRequest> {
2045
+ /**
2046
+ * App ID. API-key callers may omit it or pass their own app; a different app
2047
+ * is rejected with PermissionDenied. Dashboard callers pass it to pick an app
2048
+ * in their organization; omitted selects the organization's first active
2049
+ * app in list order (the same default every app-scoped read uses).
2050
+ *
2051
+ * @generated from field: optional string app_id = 1;
2052
+ */
2053
+ appId?: string;
2054
+ constructor(data?: PartialMessage<GetPricingRequest>);
2055
+ static readonly runtime: typeof proto3;
2056
+ static readonly typeName = "transcodely.v1.GetPricingRequest";
2057
+ static readonly fields: FieldList;
2058
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPricingRequest;
2059
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPricingRequest;
2060
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPricingRequest;
2061
+ static equals(a: GetPricingRequest | PlainMessage<GetPricingRequest> | undefined, b: GetPricingRequest | PlainMessage<GetPricingRequest> | undefined): boolean;
2062
+ }
2063
+ /**
2064
+ * The effective price of one chargeable item for an app.
2065
+ *
2066
+ * A charge has a per-unit price, a multiplier, or both. Encoding cost per
2067
+ * output is the codec's base_price x output minutes x the codec, resolution,
2068
+ * quality, feature and frame-rate multipliers; fees, storage and delivery are
2069
+ * their base_price x quantity.
2070
+ *
2071
+ * @generated from message transcodely.v1.PricingEntry
2072
+ */
2073
+ declare class PricingEntry extends Message<PricingEntry> {
2074
+ /**
2075
+ * Charge class: codec, resolution, quality, feature, fee, storage, egress.
2076
+ * Other values may appear as new charges are introduced.
2077
+ *
2078
+ * @generated from field: string rule_type = 1;
2079
+ */
2080
+ ruleType: string;
2081
+ /**
2082
+ * Charge within its class, e.g. h264, 1080p, captions, processing_m.
2083
+ *
2084
+ * @generated from field: string rule_key = 2;
2085
+ */
2086
+ ruleKey: string;
2087
+ /**
2088
+ * Human label, e.g. "H.264".
2089
+ *
2090
+ * @generated from field: string label = 3;
2091
+ */
2092
+ label: string;
2093
+ /**
2094
+ * Human label of the class, e.g. "Encoding".
2095
+ *
2096
+ * @generated from field: string group_label = 4;
2097
+ */
2098
+ groupLabel: string;
2099
+ /**
2100
+ * What base_price is per: eur_per_output_minute, eur_per_source_minute,
2101
+ * eur_per_video, eur_per_job, eur_per_gb_month, eur_per_gb, or eur_per_unit
2102
+ * for a charge whose unit is not known yet. Empty for a charge that has only
2103
+ * a multiplier.
2104
+ *
2105
+ * @generated from field: string unit = 5;
2106
+ */
2107
+ unit: string;
2108
+ /**
2109
+ * The price per unit, in EUR, this app pays. Absent for a charge that has
2110
+ * only a multiplier.
2111
+ *
2112
+ * @generated from field: optional double base_price = 6;
2113
+ */
2114
+ basePrice?: number;
2115
+ /**
2116
+ * The multiplier this app pays. Absent for a charge that has only a per-unit
2117
+ * price.
2118
+ *
2119
+ * @generated from field: optional double multiplier = 7;
2120
+ */
2121
+ multiplier?: number;
2122
+ /**
2123
+ * True when this account has a custom rate for this charge, so base_price or
2124
+ * multiplier differs from the list price.
2125
+ *
2126
+ * @generated from field: bool custom = 8;
2127
+ */
2128
+ custom: boolean;
2129
+ /**
2130
+ * The public list price per unit, in EUR. Absent when base_price is.
2131
+ *
2132
+ * @generated from field: optional double list_base_price = 9;
2133
+ */
2134
+ listBasePrice?: number;
2135
+ /**
2136
+ * The public list multiplier. Absent when multiplier is.
2137
+ *
2138
+ * @generated from field: optional double list_multiplier = 10;
2139
+ */
2140
+ listMultiplier?: number;
2141
+ constructor(data?: PartialMessage<PricingEntry>);
2142
+ static readonly runtime: typeof proto3;
2143
+ static readonly typeName = "transcodely.v1.PricingEntry";
2144
+ static readonly fields: FieldList;
2145
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PricingEntry;
2146
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PricingEntry;
2147
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PricingEntry;
2148
+ static equals(a: PricingEntry | PlainMessage<PricingEntry> | undefined, b: PricingEntry | PlainMessage<PricingEntry> | undefined): boolean;
2149
+ }
2150
+ /**
2151
+ * The prices an app pays. Prices are fixed when work is quoted (a job when it
2152
+ * is created), so a price change applies to work created after it.
2153
+ *
2154
+ * @generated from message transcodely.v1.GetPricingResponse
2155
+ */
2156
+ declare class GetPricingResponse extends Message<GetPricingResponse> {
2157
+ /**
2158
+ * The app these prices are for.
2159
+ *
2160
+ * @generated from field: string app_id = 1;
2161
+ */
2162
+ appId: string;
2163
+ /**
2164
+ * Currency of every price. Always "EUR".
2165
+ *
2166
+ * @generated from field: string currency = 2;
2167
+ */
2168
+ currency: string;
2169
+ /**
2170
+ * Every chargeable item, grouped by class in display order.
2171
+ *
2172
+ * @generated from field: repeated transcodely.v1.PricingEntry entries = 3;
2173
+ */
2174
+ entries: PricingEntry[];
2175
+ constructor(data?: PartialMessage<GetPricingResponse>);
2176
+ static readonly runtime: typeof proto3;
2177
+ static readonly typeName = "transcodely.v1.GetPricingResponse";
2178
+ static readonly fields: FieldList;
2179
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPricingResponse;
2180
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPricingResponse;
2181
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPricingResponse;
2182
+ static equals(a: GetPricingResponse | PlainMessage<GetPricingResponse> | undefined, b: GetPricingResponse | PlainMessage<GetPricingResponse> | undefined): boolean;
2183
+ }
2038
2184
 
2039
2185
  declare class Apps {
2040
2186
  private readonly transport;
@@ -2071,6 +2217,14 @@ declare class Apps {
2071
2217
  * 80% warning and 100% breach events have fired this period.
2072
2218
  */
2073
2219
  getSpend(id: string, opts?: CallOptions): Promise<GetSpendResponse>;
2220
+ /**
2221
+ * Get the prices an app pays: every chargeable item with its effective EUR
2222
+ * rate, whether the account has a custom rate for it (`custom`), and the
2223
+ * public list price. Omit `id` to price the API key's own app (dashboard
2224
+ * callers: the organization's first active app). Prices are fixed when a job is
2225
+ * created, so a price change applies to jobs created after it.
2226
+ */
2227
+ getPricing(id?: string, opts?: CallOptions): Promise<GetPricingResponse>;
2074
2228
  }
2075
2229
 
2076
2230
  /**
@@ -5289,13 +5443,17 @@ declare enum HDRFormat {
5289
5443
  */
5290
5444
  HDR_FORMAT_HLG = 3,
5291
5445
  /**
5292
- * Dolby Vision Profile 5 (single-layer, cross-compatible).
5446
+ * Dolby Vision Profile 5 (single-layer, no HDR10 or SDR compatibility
5447
+ * layer). Not available: refused at create with `parameter_unsupported` on
5448
+ * `hdr.format` until the worker produces Dolby Vision output.
5293
5449
  *
5294
5450
  * @generated from enum value: HDR_FORMAT_DOLBY_VISION_5 = 4;
5295
5451
  */
5296
5452
  HDR_FORMAT_DOLBY_VISION_5 = 4,
5297
5453
  /**
5298
- * Dolby Vision Profile 8 (MEL, backward-compatible with HDR10).
5454
+ * Dolby Vision Profile 8.1 (single-layer, HDR10-compatible base layer). Not
5455
+ * available: refused at create with `parameter_unsupported` on `hdr.format`
5456
+ * until the worker produces Dolby Vision output.
5299
5457
  *
5300
5458
  * @generated from enum value: HDR_FORMAT_DOLBY_VISION_8 = 5;
5301
5459
  */
@@ -5377,6 +5535,9 @@ declare enum ToneMapping {
5377
5535
  declare class HDRConfig extends Message<HDRConfig> {
5378
5536
  /**
5379
5537
  * Target HDR format (required for passthrough and force modes).
5538
+ * `dolby_vision_5` and `dolby_vision_8` are refused at create until the
5539
+ * worker produces Dolby Vision output; a refused request creates no job and
5540
+ * is neither quoted nor billed.
5380
5541
  *
5381
5542
  * @generated from field: transcodely.v1.HDRFormat format = 1;
5382
5543
  */
@@ -5415,7 +5576,9 @@ declare class HDRConfig extends Message<HDRConfig> {
5415
5576
  */
5416
5577
  contentLightLevel?: string;
5417
5578
  /**
5418
- * Dolby Vision RPU file URL (for DV metadata injection).
5579
+ * Dolby Vision RPU file URL. Only accepted with a `dolby_vision_*` format,
5580
+ * which is refused at create until the worker produces Dolby Vision output,
5581
+ * so this field is currently unreachable.
5419
5582
  *
5420
5583
  * @generated from field: optional string rpu_url = 7;
5421
5584
  */
@@ -9378,6 +9541,10 @@ declare class OutputSpec extends Message<OutputSpec> {
9378
9541
  * Encoding mode: "fixed" (default, static CRF) or "auto" (input-aware constrained CRF).
9379
9542
  * In "auto" mode, the worker caps each variant's bitrate based on the input's bitrate
9380
9543
  * and resolution ratio, preventing output from exceeding the input's quality ceiling.
9544
+ * "auto" also skips any ABR rung larger than the source instead of upscaling it.
9545
+ * A skipped rung is reported with status "skipped" and is not billed.
9546
+ * Outputs created since 2026-10-27 echo the resolved mode on responses (unset
9547
+ * resolves to "fixed"). Outputs created before then omit it: their mode was not stored.
9381
9548
  *
9382
9549
  * @generated from field: optional string encoding_mode = 14;
9383
9550
  */
@@ -9608,7 +9775,10 @@ declare class VariantPricingSnapshot extends Message<VariantPricingSnapshot> {
9608
9775
  */
9609
9776
  actualCost?: number;
9610
9777
  /**
9611
- * Variant encoding status: "pending", "processing", "completed", "failed".
9778
+ * Variant encoding status: "pending", "processing", "completed", "failed",
9779
+ * "canceled", or "skipped". A rung is "skipped" when `encoding_mode: auto`
9780
+ * left it unencoded because it would have upscaled the source. A skipped
9781
+ * rung has actual_cost 0 and is not billed.
9612
9782
  *
9613
9783
  * @generated from field: string status = 20;
9614
9784
  */
@@ -13286,6 +13456,13 @@ declare class UsageSummary extends Message<UsageSummary> {
13286
13456
  */
13287
13457
  storageGbAvg: number;
13288
13458
  /**
13459
+ * Storage cost of the period so far, as your invoice will carry it. Each
13460
+ * day is one GB-day: the day's stored bytes at the day's monthly price
13461
+ * divided by the days in that month. Days already billed are reported at
13462
+ * the rate they were billed at, so a later price or rate-card change never
13463
+ * re-prices them; the remaining days (see hosting_estimated_from) are
13464
+ * estimated the same way at your current rate.
13465
+ *
13289
13466
  * @generated from field: double storage_cost = 11;
13290
13467
  */
13291
13468
  storageCost: number;
@@ -13300,6 +13477,10 @@ declare class UsageSummary extends Message<UsageSummary> {
13300
13477
  */
13301
13478
  egressGb: number;
13302
13479
  /**
13480
+ * Delivery cost of the period so far, as your invoice will carry it:
13481
+ * billed delivery at the rate it was billed at, delivery not billed yet
13482
+ * estimated at your current rate.
13483
+ *
13303
13484
  * @generated from field: double egress_cost = 21;
13304
13485
  */
13305
13486
  egressCost: number;
@@ -13319,6 +13500,18 @@ declare class UsageSummary extends Message<UsageSummary> {
13319
13500
  * @generated from field: string currency = 31;
13320
13501
  */
13321
13502
  currency: string;
13503
+ /**
13504
+ * First day (YYYY-MM-DD, UTC) whose storage or delivery cost is an
13505
+ * estimate rather than billed usage. Hosting is billed daily, through the
13506
+ * previous day, so while you store or deliver video the current period has
13507
+ * an estimated tail, and the estimate turns into the billed amount as each
13508
+ * day is billed. Empty when no day with hosting usage in the period is
13509
+ * still unbilled, which is when storage_cost and egress_cost match your
13510
+ * invoice (to within the sub-cent remainder carried to the next charge).
13511
+ *
13512
+ * @generated from field: string hosting_estimated_from = 32;
13513
+ */
13514
+ hostingEstimatedFrom: string;
13322
13515
  /**
13323
13516
  * Per-day usage breakdown for the billing period identified by
13324
13517
  * billing_month, oldest day first. With a billing anchor day other than 1,
@@ -17852,7 +18045,7 @@ interface SerializeOptions {
17852
18045
  declare function toWireJson<T extends Message<T>>(msg: T, opts?: SerializeOptions): JsonValue;
17853
18046
 
17854
18047
  /** SDK version. Bumped by release-please from package.json on each tag. */
17855
- declare const SDK_VERSION = "0.3.13";
18048
+ declare const SDK_VERSION = "0.3.15";
17856
18049
  /**
17857
18050
  * API version this SDK release is pinned to. Sent on every request as
17858
18051
  * `Transcodely-Version`. Customers can override per-client via the
@@ -17979,4 +18172,4 @@ declare class ComponentHealth extends Message<ComponentHealth> {
17979
18172
  static equals(a: ComponentHealth | PlainMessage<ComponentHealth> | undefined, b: ComponentHealth | PlainMessage<ComponentHealth> | undefined): boolean;
17980
18173
  }
17981
18174
 
17982
- export { APIConnectionError, APIError, Event as APIEvent, APIKey, API_VERSION, AV1Options, AbortMultipartUploadRequest, App, AppStatus, ArchiveAppRequest, ArchiveOriginRequest, ArchivePresetRequest, AudioCodec, AudioSettings, AudioStreamInfo, AudioTrackConfig, AuthenticationError, AutoABRConfig, AutoProfileDefaults, BYOKConfig, BillingPaymentMethod, BillingPortalSession, BillingProfile, BillingStanding, BillingTreatment, BitrateMode, Budget, BurnInStyle, type CallOptions, CancelJobRequest, CancelJobResponse, CaptionStyle, ChapterPoint, ChapterResult, CheckSlugRequest, CheckSlugResponse, ClipConfig, CompleteMultipartUploadRequest, CompleteMultipartUploadResponse, CompleteUploadRequest, CompleteUploadResponse, CompletedPart, ComponentHealth, ConfirmJobRequest, ConfirmJobResponse, ConflictError, Container, ContentAnalysis, ContentAwareConfig, ContentAwareMode, ContentType, CreateAPIKeyRequest, CreateAPIKeyResponse, CreateAppRequest, CreateAppResponse, CreateBillingPortalSessionRequest, CreateBillingPortalSessionResponse, CreateFromUrlRequest, CreateFromUrlResponse, CreateIngestRuleRequest, CreateIngestRuleResponse, CreateJobRequest, CreateJobResponse, CreateMultipartUploadRequest, CreateMultipartUploadResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateOriginRequest, CreateOriginResponse, CreatePresetRequest, CreatePresetResponse, CreateUploadRequest, CreateUploadResponse, CreateWebhookEndpointRequest, CreateWebhookEndpointResponse, DASHConfig, DEFAULT_BASE_URL, DEFAULT_CONCURRENCY, DEFAULT_MAX_RETRIES, DEFAULT_PART_SIZE, DEFAULT_RETRY_BASE_DELAY_MS, DEFAULT_TOLERANCE_SECONDS, DRMConfig, DRMSystem, DailyUsage, DeleteIngestRuleRequest, DeleteIngestRuleResponse, DeleteVideoRequest, DeleteWebhookEndpointRequest, DeleteWebhookEndpointResponse, DeliveryFormat, DunningStage, DuplicatePresetRequest, DuplicatePresetResponse, EVENT_ID_HEADER, EnableHostingRequest, EnableHostingResponse, EncryptionScheme, EndpointHealthSummary, ErrorDetails, type EventBase, ExecutionTiming, ExposureThresholdSource, type FieldViolation, GOPAlignmentMode, GcsCredentials, GcsOriginConfig, GenerateInsightsRequest, GenerateInsightsResponse, GetAPIKeyRequest, GetAPIKeyResponse, GetAppRequest, GetAppResponse, GetBillingProfileRequest, GetBillingProfileResponse, GetBudgetRequest, GetBudgetResponse, GetEndpointHealthRequest, GetEndpointHealthResponse, GetIngestRuleRequest, GetIngestRuleResponse, GetInvoiceRequest, GetInvoiceResponse, GetJobRequest, GetJobResponse, GetMeRequest, GetMeResponse, GetMembershipRequest, GetMembershipResponse, GetOrganizationRequest, GetOrganizationResponse, GetOriginRequest, GetOriginResponse, GetOutstandingBalanceRequest, GetOutstandingBalanceResponse, GetPresetBySlugRequest, GetPresetBySlugResponse, GetPresetRequest, GetPresetResponse, GetSeoMarkupRequest, GetSeoMarkupResponse, GetSpendRequest, GetSpendResponse, GetStatsRequest, GetStatsResponse, GetUpcomingInvoiceRequest, GetUpcomingInvoiceResponse, GetUploadPartUrlsRequest, GetUploadPartUrlsResponse, GetUsageRequest, GetUsageResponse, GetUserRequest, GetUserResponse, GetVideoRequest, GetVideoResponse, H264Options, H265Options, HDRConfig, HDRFormat, HDRMode, HLSConfig, HLSPlaylistType, HLSSegmentFormat, HealthBucket, HealthCheckRequest, HealthCheckResponse, HealthStatus, HostingConfig, HttpCredentials, HttpOriginConfig, IngestRule, IngestRuleAction, IngestRuleFilters, InputMetadata, InsightsHighlight, InsightsOptions, InsightsQuestion, InsightsSource, InsightsStatus, InsightsTerm, InvalidRequestError, Invoice, InvoiceLineItem, InvoiceLineType, InvoiceStatus, Job, JobCostBreakdown, JobCostLine, JobCostLineType, JobFee, JobOutput, JobPriority, JobStatus, KeyServerConfig, type KnownWebhookEvent, ListAPIKeysRequest, ListAPIKeysResponse, ListAppsRequest, ListAppsResponse, ListEventsRequest, ListEventsResponse, ListIngestEventsRequest, ListIngestEventsResponse, ListIngestRulesRequest, ListIngestRulesResponse, ListInvoicesRequest, ListInvoicesResponse, ListJobsRequest, ListJobsResponse, ListMembershipsRequest, ListMembershipsResponse, ListOrganizationsRequest, ListOrganizationsResponse, ListOriginsRequest, ListOriginsResponse, ListPresetsRequest, ListPresetsResponse, ListTopVideosRequest, ListTopVideosResponse, ListUsersRequest, ListUsersResponse, ListVideosRequest, ListVideosResponse, ListWebhookDeliveriesRequest, ListWebhookDeliveriesResponse, ListWebhookEndpointsRequest, ListWebhookEndpointsResponse, type LogEvent, MAX_PARTS, MAX_UPLOAD_SIZE_BYTES, MIN_PART_SIZE, Membership, MembershipRole, MembershipStatus, MembershipWithUser, NotFoundError, Organization, OrganizationStatus, Origin, OriginPermission, OriginProvider, OriginRef, OriginStatus, OutputFormat, OutputReport, OutputReportAudio, OutputReportColor, OutputReportContentAware, OutputReportContentAwareProbe, OutputReportMismatch, OutputReportVerdict, OutputReportVideo, OutputSpec, OutputStatus, OutputVariantResult, OutstandingBalance, Page, PaginationRequest, PaginationResponse, PaymentMethodState, PermissionError, PlayerConfig, PreconditionError, Preset, PresetVariant, PricingSnapshot, type PutFileOptions, QualityTier, R2Jurisdiction, R2OriginConfig, RateLimitError, RemoveMembershipRequest, ReplayIngestEventRequest, ReplayIngestEventResponse, ResendEventRequest, ResendEventResponse, Resolution, RetrieveEventRequest, RetrieveEventResponse, RetrieveWebhookEndpointRequest, RetrieveWebhookEndpointResponse, RevokeAPIKeyRequest, RotateWebhookSecretRequest, RotateWebhookSecretResponse, S3Credentials, S3OriginConfig, SDK_VERSION, SIGNATURE_HEADER, SegmentConfig, SendTestWebhookRequest, SendTestWebhookResponse, SettleOutstandingBalanceRequest, SettleOutstandingBalanceResponse, Settlement, type SpendLimitNotification, StorageEvent, StorageEventSource, StorageEventStatus, StreamingConfig, SubtitleFormat, SubtitleOperation, SubtitleResult, SubtitleStreamInfo, SubtitleTrack, TestIngestRuleRequest, TestIngestRuleResponse, ThumbnailFormat, ThumbnailMode, ThumbnailResult, ThumbnailSpec, ToneMapping, TopVideo, Transcodely, type TranscodelyConfig, TranscodelyError, TranscriptFormat, TranscriptInsights, TranscriptOptions, TranscriptRendition, TranscriptStyle, TrustTier, type UnknownWebhookEvent, UpdateAppRequest, UpdateAppResponse, UpdateBudgetRequest, UpdateBudgetResponse, UpdateHostingConfigRequest, UpdateHostingConfigResponse, UpdateIngestRuleRequest, UpdateIngestRuleResponse, UpdateMeRequest, UpdateMeResponse, UpdateMembershipRoleRequest, UpdateMembershipRoleResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateOriginRequest, UpdateOriginResponse, UpdatePlayerConfigRequest, UpdatePlayerConfigResponse, UpdatePresetRequest, UpdatePresetResponse, UpdateSpendLimitRequest, UpdateSpendLimitResponse, UpdateVideoRequest, UpdateVideoResponse, UpdateWebhookEndpointRequest, UpdateWebhookEndpointResponse, UploadAbortedError, UploadError, UploadPart, type UploadProgress, type UploadSource, Uploads, UsageSummary, User, UserApprovalStatus, UserOrganization, UserStatus, UserWithOrganizations, VP9Options, ValidateOriginRequest, ValidateOriginResponse, ValidationResult, VariantPricingSnapshot, type VerifyOptions, Video, VideoCodec, VideoRendition, VideoSettings, VideoStatsDay, VideoStatsTotals, VideoStatus, VideoStreamInfo, VideoTextTrack, VideoVariant, VideoVisibility, WEBHOOK_EVENT_TYPES, WatchEventType, WatchJobRequest, WatchJobResponse, WatchVideoRequest, WatchVideoResponse, WatermarkAnchor, WatermarkConfig, WatermarkPixelPlacement, WebhookDelivery, WebhookEndpoint, WebhookError, type WebhookEvent, type WebhookEventType, WebhookPayloadError, WebhookSignatureError, WebhookTimestampError, Webhooks, calculatePartSize, calculateTotalParts, constructEvent, contentTypeForFilename, isEventType, isKnownEvent, toWireJson, verifySignature };
18175
+ export { APIConnectionError, APIError, Event as APIEvent, APIKey, API_VERSION, AV1Options, AbortMultipartUploadRequest, App, AppStatus, ArchiveAppRequest, ArchiveOriginRequest, ArchivePresetRequest, AudioCodec, AudioSettings, AudioStreamInfo, AudioTrackConfig, AuthenticationError, AutoABRConfig, AutoProfileDefaults, BYOKConfig, BillingPaymentMethod, BillingPortalSession, BillingProfile, BillingStanding, BillingTreatment, BitrateMode, Budget, BurnInStyle, type CallOptions, CancelJobRequest, CancelJobResponse, CaptionStyle, ChapterPoint, ChapterResult, CheckSlugRequest, CheckSlugResponse, ClipConfig, CompleteMultipartUploadRequest, CompleteMultipartUploadResponse, CompleteUploadRequest, CompleteUploadResponse, CompletedPart, ComponentHealth, ConfirmJobRequest, ConfirmJobResponse, ConflictError, Container, ContentAnalysis, ContentAwareConfig, ContentAwareMode, ContentType, CreateAPIKeyRequest, CreateAPIKeyResponse, CreateAppRequest, CreateAppResponse, CreateBillingPortalSessionRequest, CreateBillingPortalSessionResponse, CreateFromUrlRequest, CreateFromUrlResponse, CreateIngestRuleRequest, CreateIngestRuleResponse, CreateJobRequest, CreateJobResponse, CreateMultipartUploadRequest, CreateMultipartUploadResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateOriginRequest, CreateOriginResponse, CreatePresetRequest, CreatePresetResponse, CreateUploadRequest, CreateUploadResponse, CreateWebhookEndpointRequest, CreateWebhookEndpointResponse, DASHConfig, DEFAULT_BASE_URL, DEFAULT_CONCURRENCY, DEFAULT_MAX_RETRIES, DEFAULT_PART_SIZE, DEFAULT_RETRY_BASE_DELAY_MS, DEFAULT_TOLERANCE_SECONDS, DRMConfig, DRMSystem, DailyUsage, DeleteIngestRuleRequest, DeleteIngestRuleResponse, DeleteVideoRequest, DeleteWebhookEndpointRequest, DeleteWebhookEndpointResponse, DeliveryFormat, DunningStage, DuplicatePresetRequest, DuplicatePresetResponse, EVENT_ID_HEADER, EnableHostingRequest, EnableHostingResponse, EncryptionScheme, EndpointHealthSummary, ErrorDetails, type EventBase, ExecutionTiming, ExposureThresholdSource, type FieldViolation, GOPAlignmentMode, GcsCredentials, GcsOriginConfig, GenerateInsightsRequest, GenerateInsightsResponse, GetAPIKeyRequest, GetAPIKeyResponse, GetAppRequest, GetAppResponse, GetBillingProfileRequest, GetBillingProfileResponse, GetBudgetRequest, GetBudgetResponse, GetEndpointHealthRequest, GetEndpointHealthResponse, GetIngestRuleRequest, GetIngestRuleResponse, GetInvoiceRequest, GetInvoiceResponse, GetJobRequest, GetJobResponse, GetMeRequest, GetMeResponse, GetMembershipRequest, GetMembershipResponse, GetOrganizationRequest, GetOrganizationResponse, GetOriginRequest, GetOriginResponse, GetOutstandingBalanceRequest, GetOutstandingBalanceResponse, GetPresetBySlugRequest, GetPresetBySlugResponse, GetPresetRequest, GetPresetResponse, GetPricingRequest, GetPricingResponse, GetSeoMarkupRequest, GetSeoMarkupResponse, GetSpendRequest, GetSpendResponse, GetStatsRequest, GetStatsResponse, GetUpcomingInvoiceRequest, GetUpcomingInvoiceResponse, GetUploadPartUrlsRequest, GetUploadPartUrlsResponse, GetUsageRequest, GetUsageResponse, GetUserRequest, GetUserResponse, GetVideoRequest, GetVideoResponse, H264Options, H265Options, HDRConfig, HDRFormat, HDRMode, HLSConfig, HLSPlaylistType, HLSSegmentFormat, HealthBucket, HealthCheckRequest, HealthCheckResponse, HealthStatus, HostingConfig, HttpCredentials, HttpOriginConfig, IngestRule, IngestRuleAction, IngestRuleFilters, InputMetadata, InsightsHighlight, InsightsOptions, InsightsQuestion, InsightsSource, InsightsStatus, InsightsTerm, InvalidRequestError, Invoice, InvoiceLineItem, InvoiceLineType, InvoiceStatus, Job, JobCostBreakdown, JobCostLine, JobCostLineType, JobFee, JobOutput, JobPriority, JobStatus, KeyServerConfig, type KnownWebhookEvent, ListAPIKeysRequest, ListAPIKeysResponse, ListAppsRequest, ListAppsResponse, ListEventsRequest, ListEventsResponse, ListIngestEventsRequest, ListIngestEventsResponse, ListIngestRulesRequest, ListIngestRulesResponse, ListInvoicesRequest, ListInvoicesResponse, ListJobsRequest, ListJobsResponse, ListMembershipsRequest, ListMembershipsResponse, ListOrganizationsRequest, ListOrganizationsResponse, ListOriginsRequest, ListOriginsResponse, ListPresetsRequest, ListPresetsResponse, ListTopVideosRequest, ListTopVideosResponse, ListUsersRequest, ListUsersResponse, ListVideosRequest, ListVideosResponse, ListWebhookDeliveriesRequest, ListWebhookDeliveriesResponse, ListWebhookEndpointsRequest, ListWebhookEndpointsResponse, type LogEvent, MAX_PARTS, MAX_UPLOAD_SIZE_BYTES, MIN_PART_SIZE, Membership, MembershipRole, MembershipStatus, MembershipWithUser, NotFoundError, Organization, OrganizationStatus, Origin, OriginPermission, OriginProvider, OriginRef, OriginStatus, OutputFormat, OutputReport, OutputReportAudio, OutputReportColor, OutputReportContentAware, OutputReportContentAwareProbe, OutputReportMismatch, OutputReportVerdict, OutputReportVideo, OutputSpec, OutputStatus, OutputVariantResult, OutstandingBalance, Page, PaginationRequest, PaginationResponse, PaymentMethodState, PermissionError, PlayerConfig, PreconditionError, Preset, PresetVariant, PricingEntry, PricingSnapshot, type PutFileOptions, QualityTier, R2Jurisdiction, R2OriginConfig, RateLimitError, RemoveMembershipRequest, ReplayIngestEventRequest, ReplayIngestEventResponse, ResendEventRequest, ResendEventResponse, Resolution, RetrieveEventRequest, RetrieveEventResponse, RetrieveWebhookEndpointRequest, RetrieveWebhookEndpointResponse, RevokeAPIKeyRequest, RotateWebhookSecretRequest, RotateWebhookSecretResponse, S3Credentials, S3OriginConfig, SDK_VERSION, SIGNATURE_HEADER, SegmentConfig, SendTestWebhookRequest, SendTestWebhookResponse, SettleOutstandingBalanceRequest, SettleOutstandingBalanceResponse, Settlement, type SpendLimitNotification, StorageEvent, StorageEventSource, StorageEventStatus, StreamingConfig, SubtitleFormat, SubtitleOperation, SubtitleResult, SubtitleStreamInfo, SubtitleTrack, TestIngestRuleRequest, TestIngestRuleResponse, ThumbnailFormat, ThumbnailMode, ThumbnailResult, ThumbnailSpec, ToneMapping, TopVideo, Transcodely, type TranscodelyConfig, TranscodelyError, TranscriptFormat, TranscriptInsights, TranscriptOptions, TranscriptRendition, TranscriptStyle, TrustTier, type UnknownWebhookEvent, UpdateAppRequest, UpdateAppResponse, UpdateBudgetRequest, UpdateBudgetResponse, UpdateHostingConfigRequest, UpdateHostingConfigResponse, UpdateIngestRuleRequest, UpdateIngestRuleResponse, UpdateMeRequest, UpdateMeResponse, UpdateMembershipRoleRequest, UpdateMembershipRoleResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateOriginRequest, UpdateOriginResponse, UpdatePlayerConfigRequest, UpdatePlayerConfigResponse, UpdatePresetRequest, UpdatePresetResponse, UpdateSpendLimitRequest, UpdateSpendLimitResponse, UpdateVideoRequest, UpdateVideoResponse, UpdateWebhookEndpointRequest, UpdateWebhookEndpointResponse, UploadAbortedError, UploadError, UploadPart, type UploadProgress, type UploadSource, Uploads, UsageSummary, User, UserApprovalStatus, UserOrganization, UserStatus, UserWithOrganizations, VP9Options, ValidateOriginRequest, ValidateOriginResponse, ValidationResult, VariantPricingSnapshot, type VerifyOptions, Video, VideoCodec, VideoRendition, VideoSettings, VideoStatsDay, VideoStatsTotals, VideoStatus, VideoStreamInfo, VideoTextTrack, VideoVariant, VideoVisibility, WEBHOOK_EVENT_TYPES, WatchEventType, WatchJobRequest, WatchJobResponse, WatchVideoRequest, WatchVideoResponse, WatermarkAnchor, WatermarkConfig, WatermarkPixelPlacement, WebhookDelivery, WebhookEndpoint, WebhookError, type WebhookEvent, type WebhookEventType, WebhookPayloadError, WebhookSignatureError, WebhookTimestampError, Webhooks, calculatePartSize, calculateTotalParts, constructEvent, contentTypeForFilename, isEventType, isKnownEvent, toWireJson, verifySignature };