import type * as Whop from "../index.mjs"; export interface DomainIssue { /** The capability the issue is about. */ capability: DomainIssue.Capability; /** What needs attention, as a stable code. */ code: DomainIssue.Code; /** Code to add to the site to fix the issue, ready to copy. `null` when the issue needs none. */ code_block: string | null; dns_records: Whop.DomainDnsRecord[]; /** What needs attention and how to fix it. */ message: string; } export declare namespace DomainIssue { /** The capability the issue is about. */ const Capability: { readonly Verification: "verification"; readonly Registration: "registration"; readonly Platform: "platform"; readonly Website: "website"; readonly ApplePay: "apple_pay"; readonly Pixel: "pixel"; readonly Email: "email"; readonly Transfer: "transfer"; }; type Capability = (typeof Capability)[keyof typeof Capability]; /** What needs attention, as a stable code. */ const Code: { readonly VerificationRequired: "verification_required"; readonly VerificationExpired: "verification_expired"; readonly OwnershipConflict: "ownership_conflict"; readonly OwnershipLost: "ownership_lost"; readonly DnsRequired: "dns_required"; readonly ProviderValidation: "provider_validation"; readonly CertificatePending: "certificate_pending"; readonly ExpiringSoon: "expiring_soon"; readonly AccountUnavailable: "account_unavailable"; readonly CheckFailed: "check_failed"; readonly PurchaseExpired: "purchase_expired"; readonly DomainUnavailable: "domain_unavailable"; readonly UnsupportedTld: "unsupported_tld"; readonly RegistrationUnavailable: "registration_unavailable"; readonly RegistrationFailed: "registration_failed"; readonly RenewalFailed: "renewal_failed"; readonly PaymentActionRequired: "payment_action_required"; readonly DomainOnWhop: "domain_on_whop"; readonly DomainTransferUnavailable: "domain_transfer_unavailable"; readonly TransferLocked: "transfer_locked"; readonly TransferAuthCodeRejected: "transfer_auth_code_rejected"; readonly TransferRejected: "transfer_rejected"; readonly TransferNotCancellable: "transfer_not_cancellable"; readonly DomainTransferFailed: "domain_transfer_failed"; readonly ApplePayUnverified: "apple_pay_unverified"; readonly PixelNotSeen: "pixel_not_seen"; readonly PixelNotInstalled: "pixel_not_installed"; readonly PixelWaiting: "pixel_waiting"; readonly PixelUnreachable: "pixel_unreachable"; readonly PixelQuiet: "pixel_quiet"; readonly EmailNeedsWhopDns: "email_needs_whop_dns"; readonly EmailUnreachable: "email_unreachable"; readonly EmailIdentityInUse: "email_identity_in_use"; readonly EmailVerificationFailed: "email_verification_failed"; }; type Code = (typeof Code)[keyof typeof Code]; }