Variable: ContentTemplateBodyCreateSchema
ts
const ContentTemplateBodyCreateSchema: ZodObject<{
anonymous_export_view: ZodOptional<ZodObject<{
representation: ZodCustom<
| "raw"
| "storage"
| "view"
| string & object
| "export_view"
| "styled_view"
| "editor"
| "editor2"
| "anonymous_export_view"
| "wiki"
| "atlas_doc_format"
| "plain",
| "raw"
| "storage"
| "view"
| string & object
| "export_view"
| "styled_view"
| "editor"
| "editor2"
| "anonymous_export_view"
| "wiki"
| "atlas_doc_format"
| "plain">;
value: ZodString;
}, ApiObjectConfig<undefined>>>;
atlas_doc_format: ZodOptional<ZodObject<{
representation: ZodCustom<
| "raw"
| "storage"
| "view"
| string & object
| "export_view"
| "styled_view"
| "editor"
| "editor2"
| "anonymous_export_view"
| "wiki"
| "atlas_doc_format"
| "plain",
| "raw"
| "storage"
| "view"
| string & object
| "export_view"
| "styled_view"
| "editor"
| "editor2"
| "anonymous_export_view"
| "wiki"
| "atlas_doc_format"
| "plain">;
value: ZodString;
}, ApiObjectConfig<undefined>>>;
editor: ZodOptional<ZodObject<{
representation: ZodCustom<
| "raw"
| "storage"
| "view"
| string & object
| "export_view"
| "styled_view"
| "editor"
| "editor2"
| "anonymous_export_view"
| "wiki"
| "atlas_doc_format"
| "plain",
| "raw"
| "storage"
| "view"
| string & object
| "export_view"
| "styled_view"
| "editor"
| "editor2"
| "anonymous_export_view"
| "wiki"
| "atlas_doc_format"
| "plain">;
value: ZodString;
}, ApiObjectConfig<undefined>>>;
editor2: ZodOptional<ZodObject<{
representation: ZodCustom<
| "raw"
| "storage"
| "view"
| string & object
| "export_view"
| "styled_view"
| "editor"
| "editor2"
| "anonymous_export_view"
| "wiki"
| "atlas_doc_format"
| "plain",
| "raw"
| "storage"
| "view"
| string & object
| "export_view"
| "styled_view"
| "editor"
| "editor2"
| "anonymous_export_view"
| "wiki"
| "atlas_doc_format"
| "plain">;
value: ZodString;
}, ApiObjectConfig<undefined>>>;
export_view: ZodOptional<ZodObject<{
representation: ZodCustom<
| "raw"
| "storage"
| "view"
| string & object
| "export_view"
| "styled_view"
| "editor"
| "editor2"
| "anonymous_export_view"
| "wiki"
| "atlas_doc_format"
| "plain",
| "raw"
| "storage"
| "view"
| string & object
| "export_view"
| "styled_view"
| "editor"
| "editor2"
| "anonymous_export_view"
| "wiki"
| "atlas_doc_format"
| "plain">;
value: ZodString;
}, ApiObjectConfig<undefined>>>;
storage: ZodOptional<ZodObject<{
representation: ZodCustom<
| "raw"
| "storage"
| "view"
| string & object
| "export_view"
| "styled_view"
| "editor"
| "editor2"
| "anonymous_export_view"
| "wiki"
| "atlas_doc_format"
| "plain",
| "raw"
| "storage"
| "view"
| string & object
| "export_view"
| "styled_view"
| "editor"
| "editor2"
| "anonymous_export_view"
| "wiki"
| "atlas_doc_format"
| "plain">;
value: ZodString;
}, ApiObjectConfig<undefined>>>;
styled_view: ZodOptional<ZodObject<{
representation: ZodCustom<
| "raw"
| "storage"
| "view"
| string & object
| "export_view"
| "styled_view"
| "editor"
| "editor2"
| "anonymous_export_view"
| "wiki"
| "atlas_doc_format"
| "plain",
| "raw"
| "storage"
| "view"
| string & object
| "export_view"
| "styled_view"
| "editor"
| "editor2"
| "anonymous_export_view"
| "wiki"
| "atlas_doc_format"
| "plain">;
value: ZodString;
}, ApiObjectConfig<undefined>>>;
view: ZodOptional<ZodObject<{
representation: ZodCustom<
| "raw"
| "storage"
| "view"
| string & object
| "export_view"
| "styled_view"
| "editor"
| "editor2"
| "anonymous_export_view"
| "wiki"
| "atlas_doc_format"
| "plain",
| "raw"
| "storage"
| "view"
| string & object
| "export_view"
| "styled_view"
| "editor"
| "editor2"
| "anonymous_export_view"
| "wiki"
| "atlas_doc_format"
| "plain">;
value: ZodString;
}, ApiObjectConfig<undefined>>>;
wiki: ZodOptional<ZodObject<{
representation: ZodCustom<
| "raw"
| "storage"
| "view"
| string & object
| "export_view"
| "styled_view"
| "editor"
| "editor2"
| "anonymous_export_view"
| "wiki"
| "atlas_doc_format"
| "plain",
| "raw"
| "storage"
| "view"
| string & object
| "export_view"
| "styled_view"
| "editor"
| "editor2"
| "anonymous_export_view"
| "wiki"
| "atlas_doc_format"
| "plain">;
value: ZodString;
}, ApiObjectConfig<undefined>>>;
}, ApiObjectConfig<undefined>>;Defined in: src/v1/models/contentTemplateBodyCreate.ts:12
The body of the new content. Does not apply to attachments. Only one body format should be specified as the property for this object, e.g. storage.
Note, editor2 format is used by Atlassian only. anonymous_export_view is the same as export_view format but only content viewable by an anonymous user is included.