@mux/ai 0.67.0 → 0.68.0-canary.113

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.
@@ -1,4 +1,4 @@
1
- export { D as DEFAULT_STORYBOARD_WIDTH, H as HeatmapOptions, a as HeatmapResponse, T as ThumbnailOptions, V as VTTCueBudgetChunkingOptions, b as VTTDurationChunk, c as VTTDurationChunkingOptions, d as chunkByTokens, e as chunkText, f as chunkVTTCues, g as chunkVTTCuesByBudget, h as chunkVTTCuesByDuration, j as estimateTokenCount, k as getHeatmapForAsset, l as getHeatmapForPlaybackId, m as getHeatmapForVideo, n as getStoryboardUrl, o as getThumbnailUrls } from '../index-CV-IZBbE.js';
2
- export { ab as CompletedShotsResult, ac as DeletedShotsResult, ad as ErroredShotsResult, ae as Hotspot, af as HotspotOptions, ag as HotspotResponse, ah as LOW_CONFIDENCE_THRESHOLD, ai as MAX_CUE_TEXT_CHARS, aj as ParseVTTCuesOptions, ak as PendingShotsResult, al as Shot, am as ShotRequestOptions, an as ShotsResult, ao as SkippedShotsResult, ap as TranscriptEmptyReason, aq as TranscriptFetchOptions, ar as TranscriptFetchStepResult, as as TranscriptResult, aa as VTTCue, at as WaitForShotsOptions, au as buildTranscriptUrl, av as buildVttFromCueBlocks, aw as buildVttFromTranslatedCueBlocks, ax as concatenateVttSegments, ay as extractTextFromVTT, az as extractTimestampedTranscript, aA as fetchTranscriptDataForUrl, aB as fetchTranscriptForAsset, aC as filterVttByScope, aD as findCaptionTrack, aE as getHotspotsForAsset, aF as getHotspotsForPlaybackId, aG as getHotspotsForVideo, aH as getReadyTextTracks, aI as getReliableLanguageCode, aJ as getShotsForAsset, aK as parseVTTCues, aL as replaceCueText, aM as requestShotsForAsset, aN as sanitizeUntrustedText, aO as secondsToTimestamp, aP as splitVttPreambleAndCueBlocks, aQ as stripVttMetadataBlocks, aR as vttTimestampToSeconds, aS as waitForShotsForAsset } from '../transcripts-BkjWyvVz.js';
1
+ export { D as DEFAULT_STORYBOARD_WIDTH, H as HeatmapOptions, a as HeatmapResponse, T as ThumbnailOptions, V as VTTCueBudgetChunkingOptions, b as VTTDurationChunk, c as VTTDurationChunkingOptions, d as chunkByTokens, e as chunkText, f as chunkVTTCues, g as chunkVTTCuesByBudget, h as chunkVTTCuesByDuration, j as estimateTokenCount, k as getHeatmapForAsset, l as getHeatmapForPlaybackId, m as getHeatmapForVideo, n as getStoryboardUrl, o as getThumbnailUrls } from '../index-DbEwilAW.js';
2
+ export { ab as CompletedShotsResult, ac as DeletedShotsResult, ad as ErroredShotsResult, ae as Hotspot, af as HotspotOptions, ag as HotspotResponse, ah as LOW_CONFIDENCE_THRESHOLD, ai as MAX_CUE_TEXT_CHARS, aj as ParseVTTCuesOptions, ak as PendingShotsResult, al as Shot, am as ShotRequestOptions, an as ShotsResult, ao as SkippedShotsResult, ap as TranscriptEmptyReason, aq as TranscriptFetchOptions, ar as TranscriptFetchStepResult, as as TranscriptResult, aa as VTTCue, at as WaitForShotsOptions, au as buildTranscriptUrl, av as buildVttFromCueBlocks, aw as buildVttFromTranslatedCueBlocks, ax as concatenateVttSegments, ay as extractTextFromVTT, az as extractTimestampedTranscript, aA as fetchTranscriptDataForUrl, aB as fetchTranscriptForAsset, aC as filterVttByScope, aD as findCaptionTrack, aE as getHotspotsForAsset, aF as getHotspotsForPlaybackId, aG as getHotspotsForVideo, aH as getReadyTextTracks, aI as getReliableLanguageCode, aJ as getShotsForAsset, aK as parseVTTCues, aL as replaceCueText, aM as requestShotsForAsset, aN as sanitizeUntrustedText, aO as secondsToTimestamp, aP as splitVttPreambleAndCueBlocks, aQ as stripVttMetadataBlocks, aR as vttTimestampToSeconds, aS as waitForShotsForAsset } from '../transcripts-Cs-n8X_l.js';
3
3
  import '@workflow/serde';
4
4
  import '@mux/ts';
@@ -964,9 +964,9 @@ var MUX_AI_ERROR_CODES = {
964
964
  INVALID_SCOPE: "invalid_scope",
965
965
  /** Existing tracks block writing the output track under the chosen replacement policy. Facts: `reason` (`policy_fail`, `not_generated`, `name_collision`, `primary_audio`), `conflictingTracks` and the target track, plus `sourceRestored` and `restoredTrackId` when a source track was deleted first. */
966
966
  TRACK_REPLACEMENT_BLOCKED: "track_replacement_blocked",
967
- /** An option's value can't be used. Facts: `parameter` (the caller's option name), `reason` (`too_many`, `empty`, `too_long`, `disallowed_characters`, `not_normalized`, `multiline`, `required_with`, `conflicts_with`, `not_allowed`, `one_of_required`, `audio_only`, `not_positive`) and the values the reason names: `count` and `max`, `index` (0-based entry), `length` and `maxLength`, `characters`, `with` and `withValue` (the other option), `allowed` and `value`, `parameters` (the options to choose from). */
967
+ /** An option's value can't be used. Facts: `parameter` (the caller's option name), `reason` (`too_many`, `empty`, `too_long`, `disallowed_characters`, `not_normalized`, `multiline`, `required_with`, `conflicts_with`, `not_allowed`, `one_of_required`, `audio_only`, `not_positive`, `invalid_format`, `duplicate`) and the values the reason names: `count` and `max`, `index` (0-based entry), `length` and `maxLength`, `characters`, `with` and `withValue` (the other option), `allowed` and `value`, `parameters` (the options to choose from), `format` (what the value must look like). `duplicate` is a list of keyed entries that repeats a key (`value`). */
968
968
  INVALID_PARAMETER: "invalid_parameter",
969
- /** A numeric option is outside its allowed range. Facts: `parameter` (the caller's option name), `value`, `min`, `max`, and `integer` when it must be a whole number. */
969
+ /** A numeric option is outside its allowed range. Facts: `parameter` (the caller's option name), `value`, `min`, `max`, `integer` when it must be a whole number, and `unit` when the bounds have one. The public wording names the bound that was crossed. */
970
970
  PARAMETER_OUT_OF_RANGE: "parameter_out_of_range",
971
971
  /** No ready caption track matches the requested track or language. Facts: `trackId` or `languageCode`, and what is available. */
972
972
  CAPTION_TRACK_NOT_FOUND: "caption_track_not_found",
@@ -1033,14 +1033,15 @@ var MUX_AI_ERROR_CODES = {
1033
1033
  /**
1034
1034
  * The provider says the account the service running the SDK uses is out of credits or
1035
1035
  * quota, or hit a spend or usage limit. Retrying won't help until someone changes the
1036
- * account. The site names the dependency. Facts: `call`, `status`, `providerCode`.
1036
+ * account. The site names the dependency. Facts: `call`, `status`, and `providerCode`
1037
+ * when the provider gave one.
1037
1038
  */
1038
1039
  PROVIDER_QUOTA_EXHAUSTED: "provider_quota_exhausted",
1039
- /** The provider rejected the key the service running the SDK uses, or the key lacks permission for this model or feature. The site names the dependency. Facts: `call`, `status`, `providerCode`. */
1040
+ /** The provider rejected the key the service running the SDK uses, or the key lacks permission for this model or feature. The site names the dependency. Facts: `call`, `status`, and `providerCode` when the provider gave one. */
1040
1041
  PROVIDER_CREDENTIALS_REJECTED: "provider_credentials_rejected",
1041
- /** The provider says requests are over its rate or concurrency limit. The site names the dependency. Facts: `call`, `status`, `providerCode`. */
1042
+ /** The provider says requests are over its rate or concurrency limit. The site names the dependency. Facts: `call`, `status`, and `providerCode` when the provider gave one. */
1042
1043
  PROVIDER_RATE_LIMITED: "provider_rate_limited",
1043
- /** The provider says it's overloaded or down for maintenance. The site names the dependency. Facts: `call`, `status`, `providerCode`. */
1044
+ /** The provider says it's overloaded or down for maintenance. The site names the dependency. Facts: `call`, `status`, and `providerCode` when the provider gave one. */
1044
1045
  PROVIDER_UNAVAILABLE: "provider_unavailable",
1045
1046
  /** The provider can't process the asset's audio. The site names the dependency. Facts: `call`, `status`, `providerCode`, `reason` (`corrupt`, `unsupported_format`, `too_long`, `too_short`). */
1046
1047
  AUDIO_UNPROCESSABLE: "audio_unprocessable",