Skip to content

Variable: CopyPageSchema

ts
const CopyPageSchema: ZodObject<{
  body: ZodOptional<ZodObject<{
     editor2: ZodOptional<ZodObject<{
        representation: ZodCustom<
           | "raw"
           | "storage"
           | "view"
           | ... & ...
           | "export_view"
           | "styled_view"
           | "editor"
           | "editor2"
           | "anonymous_export_view"
           | "wiki"
           | "atlas_doc_format"
           | "plain", 
           | "raw"
           | "storage"
           | "view"
           | ... & ...
           | "export_view"
           | "styled_view"
           | "editor"
           | "editor2"
           | "anonymous_export_view"
           | "wiki"
           | "atlas_doc_format"
          | "plain">;
        value: ZodString;
     }, $loose>>;
     storage: ZodOptional<ZodObject<{
        representation: ZodCustom<
           | "raw"
           | "storage"
           | "view"
           | ... & ...
           | "export_view"
           | "styled_view"
           | "editor"
           | "editor2"
           | "anonymous_export_view"
           | "wiki"
           | "atlas_doc_format"
           | "plain", 
           | "raw"
           | "storage"
           | "view"
           | ... & ...
           | "export_view"
           | "styled_view"
           | "editor"
           | "editor2"
           | "anonymous_export_view"
           | "wiki"
           | "atlas_doc_format"
          | "plain">;
        value: ZodString;
     }, $loose>>;
  }, $loose>>;
  copyAttachments: ZodOptional<ZodBoolean>;
  copyCustomContents: ZodOptional<ZodBoolean>;
  copyLabels: ZodOptional<ZodBoolean>;
  copyPermissions: ZodOptional<ZodBoolean>;
  copyProperties: ZodOptional<ZodBoolean>;
  destination: ZodObject<{
     type: ZodCustom<
        | string & object
        | "space"
        | "existing_page"
        | "parent_page"
        | "parent_content", 
        | string & object
        | "space"
        | "existing_page"
        | "parent_page"
       | "parent_content">;
     value: ZodString;
  }, $loose>;
  expand: ZodOptional<ZodArray<ZodString>>;
  id: ZodString;
  pageTitle: ZodOptional<ZodString>;
}, $strip>;

Defined in: src/v1/parameters/copyPage.ts:4