import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import * as models from "../index.js"; export declare const PostFormServerList: readonly ["https://upload.wistia.com"]; export type PostFormRequest = { /** * The hashed id of the project to upload media into. */ projectId?: string | undefined; /** * A display name to use for the media in Wistia. */ name?: string | undefined; /** * A description to use for the media in Wistia. */ description?: string | undefined; /** * A Wistia contact id. */ contactId?: number | undefined; /** * A 64 character hex string. This parameter can be found on your API access page OR can be the token you received from authenticating via Oauth2. Note this approach is legacy and discouraged. We recommend using Bearer Token authentication. * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ accessToken?: string | undefined; /** * The publicly accessible web location of the media file to import. */ url: string; /** * Inform the encoding service that this upload can be considered lower priority than others. This is especially useful for platform customers doing bulk uploads or migrations. Setting this to "false" has no effect. */ lowPriority?: boolean | undefined; }; export type PostFormError = { code?: string | undefined; detail?: string | undefined; }; /** * Response after successfully uploading or importing media */ export type PostFormResponse = { /** * A unique numeric identifier for the media within the system. */ id?: number | undefined; /** * The display name of the media. */ name?: string | undefined; /** * A string representing what type of media this is. */ type?: string | undefined; /** * The date when the media was originally uploaded. */ created?: Date | undefined; /** * The date when the media was last changed. */ updated?: Date | undefined; /** * Specifies the length (in seconds) for audio and video files. */ duration?: number | undefined; /** * A unique alphanumeric identifier for this media. */ hashedId?: string | undefined; /** * A floating point value between 0 and 1 that indicates the progress of the processing for this file. */ progress?: number | undefined; thumbnail?: models.Thumbnail | undefined; }; /** @internal */ export type PostFormRequest$Outbound = { project_id?: string | undefined; name?: string | undefined; description?: string | undefined; contact_id?: number | undefined; access_token?: string | undefined; url: string; low_priority?: boolean | undefined; }; /** @internal */ export declare const PostFormRequest$outboundSchema: z.ZodType; export declare function postFormRequestToJSON(postFormRequest: PostFormRequest): string; /** @internal */ export declare const PostFormError$inboundSchema: z.ZodType; export declare function postFormErrorFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const PostFormResponse$inboundSchema: z.ZodType; export declare function postFormResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=postform.d.ts.map