UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

58 lines 1.66 kB
import * as Core from 'cloudflare/core'; import { APIResource } from 'cloudflare/resource'; import * as TLS1_3API from 'cloudflare/resources/zones/settings/tls-1-3'; export declare class TLS1_3 extends APIResource { /** * Changes TLS 1.3 setting. */ edit(params: TLS1_3EditParams, options?: Core.RequestOptions): Core.APIPromise<ZoneSettingTLS1_3>; /** * Gets TLS 1.3 setting enabled for a zone. */ get(params: TLS1_3GetParams, options?: Core.RequestOptions): Core.APIPromise<ZoneSettingTLS1_3>; } /** * Enables Crypto TLS 1.3 feature for a zone. */ export interface ZoneSettingTLS1_3 { /** * ID of the zone setting. */ id: 'tls_1_3'; /** * Current value of the zone setting. */ value: 'on' | 'off' | 'zrt'; /** * Whether or not this setting can be modified for this zone (based on your * Cloudflare plan level). */ editable?: true | false; /** * last time this setting was modified. */ modified_on?: string | null; } export interface TLS1_3EditParams { /** * Path param: Identifier */ zone_id: string; /** * Body param: Value of the zone setting. Notes: Default value depends on the * zone's plan level. */ value: 'on' | 'off' | 'zrt'; } export interface TLS1_3GetParams { /** * Identifier */ zone_id: string; } export declare namespace TLS1_3 { export import ZoneSettingTLS1_3 = TLS1_3API.ZoneSettingTLS1_3; export import TLS1_3EditParams = TLS1_3API.TLS1_3EditParams; export import TLS1_3GetParams = TLS1_3API.TLS1_3GetParams; } //# sourceMappingURL=tls-1-3.d.ts.map