cloudflare
Version:
The official TypeScript library for the Cloudflare API
65 lines • 2.96 kB
TypeScript
import * as Core from 'cloudflare/core';
import { APIResource } from 'cloudflare/resource';
import * as SettingsAPI from 'cloudflare/resources/waiting-rooms/settings';
export declare class Settings extends APIResource {
/**
* Update zone-level Waiting Room settings
*/
update(zoneIdentifier: string, body: SettingUpdateParams, options?: Core.RequestOptions): Core.APIPromise<SettingUpdateResponse>;
/**
* Patch zone-level Waiting Room settings
*/
edit(zoneIdentifier: string, body: SettingEditParams, options?: Core.RequestOptions): Core.APIPromise<SettingEditResponse>;
/**
* Get zone-level Waiting Room settings
*/
get(zoneIdentifier: string, options?: Core.RequestOptions): Core.APIPromise<SettingGetResponse>;
}
export interface SettingUpdateResponse {
/**
* Whether to allow verified search engine crawlers to bypass all waiting rooms on
* this zone. Verified search engine crawlers will not be tracked or counted by the
* waiting room system, and will not appear in waiting room analytics.
*/
search_engine_crawler_bypass: boolean;
}
export interface SettingEditResponse {
/**
* Whether to allow verified search engine crawlers to bypass all waiting rooms on
* this zone. Verified search engine crawlers will not be tracked or counted by the
* waiting room system, and will not appear in waiting room analytics.
*/
search_engine_crawler_bypass: boolean;
}
export interface SettingGetResponse {
/**
* Whether to allow verified search engine crawlers to bypass all waiting rooms on
* this zone. Verified search engine crawlers will not be tracked or counted by the
* waiting room system, and will not appear in waiting room analytics.
*/
search_engine_crawler_bypass: boolean;
}
export interface SettingUpdateParams {
/**
* Whether to allow verified search engine crawlers to bypass all waiting rooms on
* this zone. Verified search engine crawlers will not be tracked or counted by the
* waiting room system, and will not appear in waiting room analytics.
*/
search_engine_crawler_bypass?: boolean;
}
export interface SettingEditParams {
/**
* Whether to allow verified search engine crawlers to bypass all waiting rooms on
* this zone. Verified search engine crawlers will not be tracked or counted by the
* waiting room system, and will not appear in waiting room analytics.
*/
search_engine_crawler_bypass?: boolean;
}
export declare namespace Settings {
export import SettingUpdateResponse = SettingsAPI.SettingUpdateResponse;
export import SettingEditResponse = SettingsAPI.SettingEditResponse;
export import SettingGetResponse = SettingsAPI.SettingGetResponse;
export import SettingUpdateParams = SettingsAPI.SettingUpdateParams;
export import SettingEditParams = SettingsAPI.SettingEditParams;
}
//# sourceMappingURL=settings.d.ts.map