import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * The registered domain record. */ export type RegisteredDomain = { /** * The ID of the registered domain record. */ id: string; /** * The date the domain auto-renew is disabled. */ autoRenewalDisabledAt: string | null; /** * The date the domain was created. */ createdAt: string; /** * The date the domain expires. */ expiresAt: string; /** * The fee to renew the domain. */ renewalFee: number; }; export type DomainSchema = { /** * The unique identifier of the domain. */ id: string; /** * The domain name. */ slug: string; /** * Whether the domain is verified. */ verified: boolean; /** * Whether the domain is the primary domain for the workspace. */ primary: boolean; /** * Whether the domain is archived. */ archived: boolean; /** * Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened. */ placeholder: string | null; /** * The URL to redirect to when a link under this domain has expired. */ expiredUrl: string | null; /** * The URL to redirect to when a link under this domain doesn't exist. */ notFoundUrl: string | null; /** * The logo of the domain. */ logo: string | null; /** * assetLinks.json configuration file (for deep link support on Android). */ assetLinks: string | null; /** * apple-app-site-association configuration file (for deep link support on iOS). */ appleAppSiteAssociation: string | null; /** * The date the domain was created. */ createdAt: string; /** * The date the domain was last updated. */ updatedAt: string; /** * The registered domain record. */ registeredDomain: RegisteredDomain | null; }; /** @internal */ export declare const RegisteredDomain$inboundSchema: z.ZodType; export declare function registeredDomainFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DomainSchema$inboundSchema: z.ZodType; export declare function domainSchemaFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=domainschema.d.ts.map