import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; /** * The tag IDs to filter the links by. */ export type GetLinksCountQueryParamTagIds = string | Array; /** * The unique name of the tags assigned to the short link (case insensitive). */ export type GetLinksCountQueryParamTagNames = string | Array; export declare const Four: { readonly FolderId: "folderId"; }; export type Four = ClosedEnum; export declare const Three: { readonly UserId: "userId"; }; export type Three = ClosedEnum; export declare const Two: { readonly TagId: "tagId"; }; export type Two = ClosedEnum; export declare const One: { readonly Domain: "domain"; }; export type One = ClosedEnum; /** * The field to group the links by. */ export type GroupBy = One | Two | Three | Four; export type GetLinksCountRequest = { /** * The domain to filter the links by. E.g. `ac.me`. If not provided, all links for the workspace will be returned. */ domain?: string | undefined; /** * Deprecated: Use `tagIds` instead. The tag ID to filter the links by. */ tagId?: string | undefined; /** * The tag IDs to filter the links by. */ tagIds?: string | Array | undefined; /** * The unique name of the tags assigned to the short link (case insensitive). */ tagNames?: string | Array | undefined; /** * The folder ID to filter the links by. */ folderId?: string | undefined; /** * The search term to filter the links by. The search term will be matched against the short link slug and the destination url. */ search?: string | undefined; /** * The user ID to filter the links by. */ userId?: string | undefined; /** * The ID of the tenant that created the link inside your system. If set, will only return links for the specified tenant. */ tenantId?: string | undefined; /** * Whether to include archived links in the response. Defaults to `false` if not provided. */ showArchived?: boolean | undefined; /** * DEPRECATED. Filter for links that have at least one tag assigned to them. */ withTags?: boolean | undefined; /** * The field to group the links by. */ groupBy?: One | Two | Three | Four | undefined; }; /** @internal */ export type GetLinksCountQueryParamTagIds$Outbound = string | Array; /** @internal */ export declare const GetLinksCountQueryParamTagIds$outboundSchema: z.ZodType; export declare function getLinksCountQueryParamTagIdsToJSON(getLinksCountQueryParamTagIds: GetLinksCountQueryParamTagIds): string; /** @internal */ export type GetLinksCountQueryParamTagNames$Outbound = string | Array; /** @internal */ export declare const GetLinksCountQueryParamTagNames$outboundSchema: z.ZodType; export declare function getLinksCountQueryParamTagNamesToJSON(getLinksCountQueryParamTagNames: GetLinksCountQueryParamTagNames): string; /** @internal */ export declare const Four$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Three$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Two$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const One$outboundSchema: z.ZodNativeEnum; /** @internal */ export type GroupBy$Outbound = string | string | string | string; /** @internal */ export declare const GroupBy$outboundSchema: z.ZodType; export declare function groupByToJSON(groupBy: GroupBy): string; /** @internal */ export type GetLinksCountRequest$Outbound = { domain?: string | undefined; tagId?: string | undefined; tagIds?: string | Array | undefined; tagNames?: string | Array | undefined; folderId?: string | undefined; search?: string | undefined; userId?: string | undefined; tenantId?: string | undefined; showArchived: boolean; withTags: boolean; groupBy?: string | string | string | string | undefined; }; /** @internal */ export declare const GetLinksCountRequest$outboundSchema: z.ZodType; export declare function getLinksCountRequestToJSON(getLinksCountRequest: GetLinksCountRequest): string; //# sourceMappingURL=getlinkscount.d.ts.map