Variable: CopyPageSchema
ts
const CopyPageSchema: ZodObject<{
body: ZodOptional<ZodObject<{
editor2: ZodOptional<ZodObject<{
representation: ZodEnum<{
anonymous_export_view: "anonymous_export_view";
atlas_doc_format: "atlas_doc_format";
editor: "editor";
editor2: "editor2";
export_view: "export_view";
plain: "plain";
raw: "raw";
storage: "storage";
styled_view: "styled_view";
view: "view";
wiki: "wiki";
}>;
value: ZodString;
}, $loose>>;
storage: ZodOptional<ZodObject<{
representation: ZodEnum<{
anonymous_export_view: "anonymous_export_view";
atlas_doc_format: "atlas_doc_format";
editor: "editor";
editor2: "editor2";
export_view: "export_view";
plain: "plain";
raw: "raw";
storage: "storage";
styled_view: "styled_view";
view: "view";
wiki: "wiki";
}>;
value: ZodString;
}, $loose>>;
}, $loose>>;
copyAttachments: ZodOptional<ZodBoolean>;
copyCustomContents: ZodOptional<ZodBoolean>;
copyLabels: ZodOptional<ZodBoolean>;
copyPermissions: ZodOptional<ZodBoolean>;
copyProperties: ZodOptional<ZodBoolean>;
destination: ZodObject<{
type: ZodEnum<{
existing_page: "existing_page";
parent_content: "parent_content";
parent_page: "parent_page";
space: "space";
}>;
value: ZodString;
}, $loose>;
expand: ZodOptional<ZodArray<ZodString>>;
id: ZodString;
pageTitle: ZodOptional<ZodString>;
}, $strip>;Defined in: src/v1/parameters/copyPage.ts:4