import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type AnalyticsTopLinks = { /** * The unique ID of the short link * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ link: string; /** * The unique ID of the short link */ id: string; /** * The domain of the short link */ domain: string; /** * The key of the short link */ key: string; /** * The short link URL */ shortLink: string; /** * The destination URL of the short link */ url: string; /** * The custom link preview title (og:title) */ title?: string | null | undefined; /** * The comments of the short link */ comments?: string | null | undefined; /** * The ID of the folder that the link belongs to (if applicable) */ folderId?: string | null | undefined; /** * The ID of the partner that the link belongs to (if applicable) */ partnerId?: string | null | undefined; /** * The creation timestamp of the short link */ createdAt: string; /** * The number of clicks from this link */ clicks: number; /** * The number of leads from this link */ leads: number; /** * The number of sales from this link */ sales: number; /** * The total amount of sales from this link, in cents */ saleAmount: number; }; /** @internal */ export declare const AnalyticsTopLinks$inboundSchema: z.ZodType; export declare function analyticsTopLinksFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=analyticstoplinks.d.ts.map