# Copyright (c) 2015, XhiveFramework Technologies Pvt. Ltd. and Contributors
# License: MIT. See LICENSE

# License: MIT. See LICENSE

import xhiveframework
from xhiveframework.model.document import Document


class ContactUsSettings(Document):
	# begin: auto-generated types
	# This code is auto-generated. Do not modify anything in this block.

	from typing import TYPE_CHECKING

	if TYPE_CHECKING:
		from xhiveframework.types import DF

		address_line1: DF.Data | None
		address_line2: DF.Data | None
		address_title: DF.Data | None
		city: DF.Data | None
		country: DF.Data | None
		disable_contact_us: DF.Check
		email_id: DF.Data | None
		forward_to_email: DF.Data | None
		heading: DF.Data | None
		introduction: DF.TextEditor | None
		phone: DF.Data | None
		pincode: DF.Data | None
		query_options: DF.SmallText | None
		skype: DF.Data | None
		state: DF.Data | None

	# end: auto-generated types
	def on_update(self):
		from xhiveframework.website.utils import clear_cache

		clear_cache("contact")
