import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type PostMediasMediaHashedIdTrimsRequestBody = { /** * An array of strings matching the format of HH:MM:SS.mmm-HH:MM:SS.mmm where HH is hours, MM is minutes, SS is seconds and mmm is milliseconds. When keep_trims is false (default), the ranges specify parts of the media to remove. When keep_trims is true, the ranges specify parts of the media to keep. */ trims: Array; /** * When set to true, the trims parameter is treated as ranges to keep rather than ranges to remove. Defaults to false. */ keepTrims?: boolean | undefined; }; export type PostMediasMediaHashedIdTrimsRequest = { /** * The hashed ID of the media. */ mediaHashedId: string; requestBody: PostMediasMediaHashedIdTrimsRequestBody; }; /** * The status of the background job that's been queued for the request. */ export declare const PostMediasMediaHashedIdTrimsStatus: { readonly Queued: "queued"; readonly Started: "started"; readonly Finished: "finished"; readonly Failed: "failed"; }; /** * The status of the background job that's been queued for the request. */ export type PostMediasMediaHashedIdTrimsStatus = ClosedEnum; /** * A background job keeps track of the progress of an asynchronous task, e.g * * @remarks * bulk archiving media, translating media, etc. */ export type PostMediasMediaHashedIdTrimsBackgroundJobStatus = { /** * The ID of the background job that's been queued for the request. */ id: number; /** * The status of the background job that's been queued for the request. */ status: PostMediasMediaHashedIdTrimsStatus; }; /** * Successful queueing of trims worker. */ export type PostMediasMediaHashedIdTrimsResponse = { /** * A background job keeps track of the progress of an asynchronous task, e.g * * @remarks * bulk archiving media, translating media, etc. */ backgroundJobStatus?: PostMediasMediaHashedIdTrimsBackgroundJobStatus | undefined; }; /** @internal */ export type PostMediasMediaHashedIdTrimsRequestBody$Outbound = { trims: Array; keep_trims: boolean; }; /** @internal */ export declare const PostMediasMediaHashedIdTrimsRequestBody$outboundSchema: z.ZodType; export declare function postMediasMediaHashedIdTrimsRequestBodyToJSON(postMediasMediaHashedIdTrimsRequestBody: PostMediasMediaHashedIdTrimsRequestBody): string; /** @internal */ export type PostMediasMediaHashedIdTrimsRequest$Outbound = { mediaHashedId: string; RequestBody: PostMediasMediaHashedIdTrimsRequestBody$Outbound; }; /** @internal */ export declare const PostMediasMediaHashedIdTrimsRequest$outboundSchema: z.ZodType; export declare function postMediasMediaHashedIdTrimsRequestToJSON(postMediasMediaHashedIdTrimsRequest: PostMediasMediaHashedIdTrimsRequest): string; /** @internal */ export declare const PostMediasMediaHashedIdTrimsStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PostMediasMediaHashedIdTrimsBackgroundJobStatus$inboundSchema: z.ZodType; export declare function postMediasMediaHashedIdTrimsBackgroundJobStatusFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PostMediasMediaHashedIdTrimsResponse$inboundSchema: z.ZodType; export declare function postMediasMediaHashedIdTrimsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=postmediasmediahashedidtrims.d.ts.map