{
	"name": "CommonNativeFacade",
	"type": "facade",
	"senders": ["ios", "desktop", "android"],
	"receivers": ["web"],
	"doc": "Common operations used by all native platforms.",
	"methods": {
		"createMailEditor": {
			"doc": "Opens mail editor to write a new email. If `mailToUrlString` is specified it takes priority.",
			"arg": [
				{
					"filesUris": "List<string>"
				},
				{
					"text": "string"
				},
				{
					"addresses": "List<string>"
				},
				{
					"subject": "string"
				},
				{
					"mailToUrlString": "string"
				}
			],
			"ret": "void"
		},
		"openMailBox": {
			"doc": "Opens the mailbox of an address, optionally to an email specified by requestedPath",
			"arg": [
				{
					"userId": "string"
				},
				{
					"address": "string"
				},
				{
					"requestedPath": "string?"
				}
			],
			"ret": "void"
		},
		"openCalendar": {
			"arg": [
				{
					"userId": "string"
				},
				{
					"action": "CalendarOpenAction?"
				},
				{
					"dateIso": "string?"
				},
				{
					"eventId": "string?"
				}
			],
			"ret": "void"
		},
		"openContactEditor": {
			"arg": [
				{
					"contactId": "string"
				}
			],
			"ret": "void"
		},
		"showAlertDialog": {
			"arg": [
				{
					"translationKey": "string"
				}
			],
			"ret": "void"
		},
		"invalidateAlarms": {
			"doc": "All local alarms have been deleted, reschedule alarms for the current user.",
			"arg": [],
			"ret": "void"
		},
		"updateTheme": {
			"doc": "Called when the system theme preference has changed",
			"arg": [],
			"ret": "void"
		},
		"promptForNewPassword": {
			"doc": "prompt the user to enter a new password and a confirmation, taking an optional old password into account",
			"arg": [
				{
					"title": "string"
				},
				{
					"oldPassword": "string?"
				}
			],
			"ret": "string"
		},
		"promptForPassword": {
			"doc": "prompt the user to enter a password",
			"arg": [
				{
					"title": "string"
				}
			],
			"ret": "string"
		},
		"handleFileImport": {
			"doc": "Pass a list of files (.vcf) to be handled by the app and if compatible, import them",
			"arg": [
				{
					"filesUris": "List<string>"
				}
			],
			"ret": "void"
		},
		"openSettings": {
			"doc": "Open a specified path inside settings",
			"arg": [
				{
					"path": "string"
				}
			],
			"ret": "void"
		},
		"sendLogs": {
			"doc": "Open the Send Logs dialog",
			"arg": [
				{
					"logs": "string"
				}
			],
			"ret": "void"
		}
	}
}
