interface DocType {
    actions?: DocTypeAction[];
    actions_section?: void;
    advanced?: void;
    allow_auto_repeat?: boolean;
    allow_copy?: boolean;
    allow_events_in_timeline?: boolean;
    allow_guest_to_view?: boolean;
    allow_import?: boolean;
    allow_rename?: boolean;
    autoname?: string;
    beta?: boolean;
    cb01?: void;
    color?: string;
    column_break_15?: void;
    column_break_23?: void;
    column_break_29?: void;
    column_break_51?: void;
    connections_tab?: void;
    creation?: string;
    custom?: boolean;
    default_email_template?: string;
    default_print_format?: string;
    default_view?: string;
    description?: string;
    docstatus?: number;
    doctype?: string;
    document_states_section?: void;
    document_type?:
        | ""
        | "Document"
        | "Setup"
        | "System"
        | "Other";
    documentation?: string;
    editable_grid?: boolean;
    email_append_to?: boolean;
    email_settings_sb?: void;
    engine?: "InnoDB" | "MyISAM";
    fields?: DocField[];
    fields_section?: void;
    force_re_route_to_default_view?: boolean;
    form_builder?: string;
    form_builder_tab?: void;
    form_settings_section?: void;
    has_web_view?: boolean;
    hide_toolbar?: boolean;
    icon?: string;
    idx?: number;
    image_field?: string;
    in_create?: boolean;
    index_web_pages_for_search?: boolean;
    is_calendar_and_gantt?: boolean;
    is_published_field?: string;
    is_submittable?: boolean;
    is_tree?: boolean;
    is_virtual?: boolean;
    issingle?: boolean;
    istable?: boolean;
    links?: DocTypeLink[];
    links_section?: void;
    make_attachments_public?: boolean;
    max_attachments?: number;
    migration_hash?: string;
    modified?: string;
    modified_by?: string;
    module: string;
    name?: string;
    naming_rule?:
        | ""
        | "Set by user"
        | "Autoincrement"
        | "By fieldname"
        | "By \"Naming Series\" field"
        | "Expression"
        | "Expression (old style)"
        | "Random"
        | "By script";
    nsm_parent_field?: string;
    owner?: string;
    parent?: string;
    parentfield?: string;
    parenttype?: string;
    permissions?: DocPerm[];
    queue_in_background?: boolean;
    quick_entry?: boolean;
    read_only?: boolean;
    restrict_to_domain?: string;
    route?: string;
    sb0?: void;
    sb1?: void;
    sb2?: void;
    search_fields?: string;
    sender_field?: string;
    sender_name_field?: string;
    settings_tab?: void;
    show_name_in_global_search?: boolean;
    show_preview_popup?: boolean;
    show_title_field_in_link?: boolean;
    sort_field?: string;
    sort_order?: "ASC" | "DESC";
    states?: DocTypeState[];
    subject_field?: string;
    timeline_field?: string;
    title_field?: string;
    track_changes?: boolean;
    track_seen?: boolean;
    track_views?: boolean;
    translated_doctype?: boolean;
    view_settings?: void;
    web_view?: void;
    website_search_field?: string;
}

Properties

actions?: DocTypeAction[]
actions_section?: void
advanced?: void
allow_auto_repeat?: boolean
allow_copy?: boolean
allow_events_in_timeline?: boolean
allow_guest_to_view?: boolean
allow_import?: boolean
allow_rename?: boolean
autoname?: string
beta?: boolean
cb01?: void
color?: string
column_break_15?: void
column_break_23?: void
column_break_29?: void
column_break_51?: void
connections_tab?: void
creation?: string
custom?: boolean
default_email_template?: string
default_print_format?: string
default_view?: string
description?: string
docstatus?: number
doctype?: string
document_states_section?: void
document_type?:
    | ""
    | "Document"
    | "Setup"
    | "System"
    | "Other"
documentation?: string
editable_grid?: boolean
email_append_to?: boolean
email_settings_sb?: void
engine?: "InnoDB" | "MyISAM"
fields?: DocField[]
fields_section?: void
force_re_route_to_default_view?: boolean
form_builder?: string
form_builder_tab?: void
form_settings_section?: void
has_web_view?: boolean
hide_toolbar?: boolean
icon?: string
idx?: number
image_field?: string
in_create?: boolean
index_web_pages_for_search?: boolean
is_calendar_and_gantt?: boolean
is_published_field?: string
is_submittable?: boolean
is_tree?: boolean
is_virtual?: boolean
issingle?: boolean
istable?: boolean
links?: DocTypeLink[]
links_section?: void
make_attachments_public?: boolean
max_attachments?: number
migration_hash?: string
modified?: string
modified_by?: string
module: string
name?: string
naming_rule?:
    | ""
    | "Set by user"
    | "Autoincrement"
    | "By fieldname"
    | "By \"Naming Series\" field"
    | "Expression"
    | "Expression (old style)"
    | "Random"
    | "By script"
nsm_parent_field?: string
owner?: string
parent?: string
parentfield?: string
parenttype?: string
permissions?: DocPerm[]
queue_in_background?: boolean
quick_entry?: boolean
read_only?: boolean
restrict_to_domain?: string
route?: string
sb0?: void
sb1?: void
sb2?: void
search_fields?: string
sender_field?: string
sender_name_field?: string
settings_tab?: void
show_name_in_global_search?: boolean
show_preview_popup?: boolean
show_title_field_in_link?: boolean
sort_field?: string
sort_order?: "ASC" | "DESC"
states?: DocTypeState[]
subject_field?: string
timeline_field?: string
title_field?: string
track_changes?: boolean
track_seen?: boolean
track_views?: boolean
translated_doctype?: boolean
view_settings?: void
web_view?: void
website_search_field?: string