import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { RFCDate } from "../../types/rfcdate.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetAnalyticsMediasMediaIdConversionsRequest = { /** * The hashed ID of the video. */ mediaId: string; /** * Start date for the analytics period in ISO 8601 format (YYYY-MM-DD). Inclusive — the range starts at the beginning of this date. */ startDate: RFCDate; /** * End date for the analytics period in ISO 8601 format (YYYY-MM-DD). Exclusive — the range ends before the beginning of this date. */ endDate: RFCDate; /** * Number of results to return (max 100). */ perPage?: number | undefined; /** * Cursor for pagination. Use the value from the previous response's page_info.end_cursor. */ cursor?: string | undefined; }; export type GetAnalyticsMediasMediaIdConversionsData = { /** * The first name of the form submitter. */ firstName?: string | null | undefined; /** * The last name of the form submitter. */ lastName?: string | null | undefined; /** * The email address of the form submitter. */ email?: string | null | undefined; /** * The timestamp when the form was submitted in ISO 8601 format. */ convertedAt?: Date | undefined; }; export type GetAnalyticsMediasMediaIdConversionsPageInfo = { /** * Whether there are more results after this page. */ hasNextPage?: boolean | undefined; /** * Whether there are results before this page. */ hasPreviousPage?: boolean | undefined; /** * Cursor to use for fetching the next page. */ endCursor?: string | null | undefined; /** * Cursor to use for fetching the previous page. */ startCursor?: string | null | undefined; }; /** * Success response with form conversion data. */ export type GetAnalyticsMediasMediaIdConversionsResponse = { data?: Array | undefined; pageInfo?: GetAnalyticsMediasMediaIdConversionsPageInfo | undefined; }; /** @internal */ export type GetAnalyticsMediasMediaIdConversionsRequest$Outbound = { mediaId: string; start_date: string; end_date: string; per_page: number; cursor?: string | undefined; }; /** @internal */ export declare const GetAnalyticsMediasMediaIdConversionsRequest$outboundSchema: z.ZodType; export declare function getAnalyticsMediasMediaIdConversionsRequestToJSON(getAnalyticsMediasMediaIdConversionsRequest: GetAnalyticsMediasMediaIdConversionsRequest): string; /** @internal */ export declare const GetAnalyticsMediasMediaIdConversionsData$inboundSchema: z.ZodType; export declare function getAnalyticsMediasMediaIdConversionsDataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetAnalyticsMediasMediaIdConversionsPageInfo$inboundSchema: z.ZodType; export declare function getAnalyticsMediasMediaIdConversionsPageInfoFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetAnalyticsMediasMediaIdConversionsResponse$inboundSchema: z.ZodType; export declare function getAnalyticsMediasMediaIdConversionsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getanalyticsmediasmediaidconversions.d.ts.map