@basetime/a2w-api-ts
Version:
Client library that communicates with the addtowallet API.
29 lines (28 loc) • 791 B
TypeScript
import { z } from 'zod';
/**
* Schema for a domain name.
*/
export declare const DomainSchema: z.ZodObject<{
organization: z.ZodString;
name: z.ZodString;
domain: z.ZodString;
hostname: z.ZodString;
homepageRedirectUrl: z.ZodString;
cNameVerification: z.ZodString;
cNameDomain: z.ZodString;
isProcessing: z.ZodBoolean;
status: z.ZodEnum<{
valid: "valid";
invalid: "invalid";
pending: "pending";
still_pending: "still_pending";
}>;
isActive: z.ZodBoolean;
isDeleted: z.ZodBoolean;
validationDate: z.ZodOptional<z.ZodCoercedDate<unknown>>;
firstChecked: z.ZodOptional<z.ZodCoercedDate<unknown>>;
}, z.core.$loose>;
/**
* Represents a domain name.
*/
export type Domain = z.infer<typeof DomainSchema>;