@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
26 lines • 1.02 kB
TypeScript
import { Contacts } from './Contacts';
import { Contract } from './Contract';
import { Pricing } from './Pricing';
import { ZoneOptions } from './ZoneOptions';
/** Response returned after placing a domain order */
export interface OrderResponse {
/** Contacts attached to the order */
contacts?: Contacts;
/** Legal contracts (terms, as PDFs) the customer subscribes to with this order */
contracts?: Contract[];
/** DNS servers set on the domain */
dns?: string[];
/** Ordered domain name */
domain: string;
/** Order duration in ISO-8601 format, whole years only (e.g. P1Y) */
duration: string;
/** Identifier of the created order, used with url to finalize and pay it */
orderId?: number;
/** Pricing breakdown of the order */
pricing: Pricing;
/** Payment/finalization URL where the customer completes and pays the order */
url?: string;
/** DNS zone options applied to the order */
zone?: ZoneOptions;
}
//# sourceMappingURL=OrderResponse.d.ts.map