cloudflare
Version:
The official TypeScript library for the Cloudflare API
23 lines • 763 B
TypeScript
import { APIResource } from "../../resource.js";
import * as Core from "../../core.js";
export declare class Publish extends APIResource {
/**
* Publish current Zaraz preview configuration for a zone.
*/
create(params: PublishCreateParams, options?: Core.RequestOptions): Core.APIPromise<PublishCreateResponse>;
}
export type PublishCreateResponse = string;
export interface PublishCreateParams {
/**
* Path param: Identifier
*/
zone_id: string;
/**
* Body param: Zaraz configuration description.
*/
body?: string;
}
export declare namespace Publish {
export { type PublishCreateResponse as PublishCreateResponse, type PublishCreateParams as PublishCreateParams, };
}
//# sourceMappingURL=publish.d.ts.map