<?xml version="1.0" encoding="UTF-8"?>
<!-- VeilGuard for Outlook: add-in only (XML) manifest. Generated into site/office/ by scripts/build-office.mjs:
     https://www.veilguard.site/office = https://www.veilguard.site/office, SoftBlock = SoftBlock (manifest.xml, Marketplace and sideloading)
     or Block (manifest-block.xml, admin deployment only: mail can't be sent while the add-in is unavailable). -->
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0"
           xmlns:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides/1.0"
           xsi:type="MailApp">
  <Id>11ae8547-d1c5-41c4-a45b-57582088c966</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>SecureIT</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="VeilGuard"/>
  <Description DefaultValue="Catches personal data, card numbers, API keys and passwords in your email before you send it. Checks run inside Outlook; nothing is sent to VeilGuard."/>
  <IconUrl DefaultValue="https://www.veilguard.site/office/assets/icon-64.png"/>
  <HighResolutionIconUrl DefaultValue="https://www.veilguard.site/office/assets/icon-128.png"/>
  <SupportUrl DefaultValue="https://github.com/ultrakingdoms2025/veilguard-releases/issues"/>
  <AppDomains>
    <AppDomain>https://www.veilguard.site</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Mailbox"/>
  </Hosts>
  <Requirements>
    <Sets>
      <Set Name="Mailbox" MinVersion="1.1"/>
    </Sets>
  </Requirements>
  <FormSettings>
    <Form xsi:type="ItemEdit">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://www.veilguard.site/office/taskpane.html"/>
      </DesktopSettings>
    </Form>
  </FormSettings>
  <Permissions>ReadWriteItem</Permissions>
  <Rule xsi:type="RuleCollection" Mode="Or">
    <Rule xsi:type="ItemIs" ItemType="Message" FormType="Edit"/>
    <Rule xsi:type="ItemIs" ItemType="Appointment" FormType="Edit"/>
  </Rule>
  <DisableEntityHighlighting>false</DisableEntityHighlighting>
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
    <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
      <Requirements>
        <bt:Sets DefaultMinVersion="1.12">
          <bt:Set Name="Mailbox"/>
        </bt:Sets>
      </Requirements>
      <Hosts>
        <Host xsi:type="MailHost">
          <Runtimes>
            <!-- Outlook on the web, new Outlook on Windows and Mac load the HTML page; classic Outlook on Windows the JS file. -->
            <Runtime resid="WebViewRuntime.Url">
              <Override type="javascript" resid="JSRuntime.Url"/>
            </Runtime>
          </Runtimes>
          <DesktopFormFactor>
            <FunctionFile resid="Commands.Url"/>
            <ExtensionPoint xsi:type="MessageComposeCommandSurface">
              <OfficeTab id="TabDefault">
                <Group id="vgMsgGroup">
                  <Label resid="GroupLabel"/>
                  <Control xsi:type="Button" id="vgOpenPane">
                    <Label resid="PaneButton.Label"/>
                    <Supertip>
                      <Title resid="PaneButton.Label"/>
                      <Description resid="PaneButton.Tooltip"/>
                    </Supertip>
                    <Icon>
                      <bt:Image size="16" resid="Icon.16"/>
                      <bt:Image size="32" resid="Icon.32"/>
                      <bt:Image size="80" resid="Icon.80"/>
                    </Icon>
                    <Action xsi:type="ShowTaskpane">
                      <SourceLocation resid="Taskpane.Url"/>
                    </Action>
                  </Control>
                </Group>
              </OfficeTab>
            </ExtensionPoint>
            <ExtensionPoint xsi:type="AppointmentOrganizerCommandSurface">
              <OfficeTab id="TabDefault">
                <Group id="vgApptGroup">
                  <Label resid="GroupLabel"/>
                  <Control xsi:type="Button" id="vgOpenPaneAppt">
                    <Label resid="PaneButton.Label"/>
                    <Supertip>
                      <Title resid="PaneButton.Label"/>
                      <Description resid="PaneButton.Tooltip"/>
                    </Supertip>
                    <Icon>
                      <bt:Image size="16" resid="Icon.16"/>
                      <bt:Image size="32" resid="Icon.32"/>
                      <bt:Image size="80" resid="Icon.80"/>
                    </Icon>
                    <Action xsi:type="ShowTaskpane">
                      <SourceLocation resid="Taskpane.Url"/>
                    </Action>
                  </Control>
                </Group>
              </OfficeTab>
            </ExtensionPoint>
            <ExtensionPoint xsi:type="LaunchEvent">
              <LaunchEvents>
                <LaunchEvent Type="OnMessageSend" FunctionName="onMessageSendHandler" SendMode="SoftBlock"/>
                <LaunchEvent Type="OnAppointmentSend" FunctionName="onAppointmentSendHandler" SendMode="SoftBlock"/>
              </LaunchEvents>
              <SourceLocation resid="WebViewRuntime.Url"/>
            </ExtensionPoint>
          </DesktopFormFactor>
        </Host>
      </Hosts>
      <Resources>
        <bt:Images>
          <bt:Image id="Icon.16" DefaultValue="https://www.veilguard.site/office/assets/icon-16.png"/>
          <bt:Image id="Icon.32" DefaultValue="https://www.veilguard.site/office/assets/icon-32.png"/>
          <bt:Image id="Icon.80" DefaultValue="https://www.veilguard.site/office/assets/icon-80.png"/>
        </bt:Images>
        <bt:Urls>
          <bt:Url id="Commands.Url" DefaultValue="https://www.veilguard.site/office/commands.html"/>
          <bt:Url id="Taskpane.Url" DefaultValue="https://www.veilguard.site/office/taskpane.html"/>
          <bt:Url id="WebViewRuntime.Url" DefaultValue="https://www.veilguard.site/office/commands.html"/>
          <bt:Url id="JSRuntime.Url" DefaultValue="https://www.veilguard.site/office/launchevent.js"/>
        </bt:Urls>
        <bt:ShortStrings>
          <bt:String id="GroupLabel" DefaultValue="VeilGuard"/>
          <bt:String id="PaneButton.Label" DefaultValue="Check with VeilGuard"/>
        </bt:ShortStrings>
        <bt:LongStrings>
          <bt:String id="PaneButton.Tooltip" DefaultValue="Shows sensitive data in this item and masks it before you send."/>
        </bt:LongStrings>
      </Resources>
    </VersionOverrides>
  </VersionOverrides>
</OfficeApp>
