<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
  Lexiaa for Outlook — Office Add-in manifest (v1.0)

  Published at https://outlook.lexiaa.co.
  Sideload via Outlook → Get Add-ins → My add-ins → Add a custom add-in.

  Add-in GUID is stable; do not change it after distribution.
-->
<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>1f7c4a82-6a5e-4d3b-9c2e-5e6e0a1b2c3d</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>Lexiaa</ProviderName>
  <DefaultLocale>fr-CA</DefaultLocale>
  <DisplayName DefaultValue="Lexiaa pour Outlook" />
  <Description DefaultValue="Complément Lexiaa pour Outlook — synchronisez courriels et pièces jointes vers vos dossiers." />
  <IconUrl DefaultValue="https://outlook.lexiaa.co/icon-64.png" />
  <HighResolutionIconUrl DefaultValue="https://outlook.lexiaa.co/icon-128.png" />
  <SupportUrl DefaultValue="https://lexiaa.co" />

  <AppDomains>
    <AppDomain>https://outlook.lexiaa.co</AppDomain>
    <AppDomain>https://wzfxzivcnblkmaopprvr.supabase.co</AppDomain>
    <AppDomain>https://wzfxzivcnblkmaopprvr.functions.supabase.co</AppDomain>
    <AppDomain>https://lexiaa.co</AppDomain>
  </AppDomains>

  <Hosts>
    <Host Name="Mailbox" />
  </Hosts>

  <Requirements>
    <Sets>
      <Set Name="Mailbox" MinVersion="1.10" />
    </Sets>
  </Requirements>

  <FormSettings>
    <Form xsi:type="ItemRead">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://outlook.lexiaa.co/taskpane" />
        <RequestedHeight>450</RequestedHeight>
      </DesktopSettings>
    </Form>
    <Form xsi:type="ItemEdit">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://outlook.lexiaa.co/taskpane" />
      </DesktopSettings>
    </Form>
  </FormSettings>

  <Permissions>ReadWriteMailbox</Permissions>

  <Rule xsi:type="RuleCollection" Mode="Or">
    <Rule xsi:type="ItemIs" ItemType="Message" FormType="Read" />
    <Rule xsi:type="ItemIs" ItemType="Message" 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.10">
          <bt:Set Name="Mailbox" />
        </bt:Sets>
      </Requirements>

      <Hosts>
        <Host xsi:type="MailHost">
          <DesktopFormFactor>
            <FunctionFile resid="Commands.Url" />

            <ExtensionPoint xsi:type="MessageReadCommandSurface">
              <OfficeTab id="TabDefault">
                <Group id="Lexiaa.Read.Group">
                  <Label resid="Lexiaa.Group.Label" />
                  <Control xsi:type="Button" id="Lexiaa.Read.OpenPane">
                    <Label resid="Lexiaa.OpenPane.Label" />
                    <Supertip>
                      <Title resid="Lexiaa.OpenPane.Label" />
                      <Description resid="Lexiaa.OpenPane.Tooltip" />
                    </Supertip>
                    <Icon>
                      <bt:Image size="16" resid="Icon.16x16" />
                      <bt:Image size="32" resid="Icon.32x32" />
                      <bt:Image size="80" resid="Icon.80x80" />
                    </Icon>
                    <Action xsi:type="ShowTaskpane">
                      <SourceLocation resid="Taskpane.Url" />
                    </Action>
                  </Control>
                </Group>
              </OfficeTab>
            </ExtensionPoint>

            <ExtensionPoint xsi:type="MessageComposeCommandSurface">
              <OfficeTab id="TabDefault">
                <Group id="Lexiaa.Compose.Group">
                  <Label resid="Lexiaa.Group.Label" />
                  <Control xsi:type="Button" id="Lexiaa.Compose.OpenPane">
                    <Label resid="Lexiaa.OpenPane.Label" />
                    <Supertip>
                      <Title resid="Lexiaa.OpenPane.Label" />
                      <Description resid="Lexiaa.OpenPane.Tooltip" />
                    </Supertip>
                    <Icon>
                      <bt:Image size="16" resid="Icon.16x16" />
                      <bt:Image size="32" resid="Icon.32x32" />
                      <bt:Image size="80" resid="Icon.80x80" />
                    </Icon>
                    <Action xsi:type="ShowTaskpane">
                      <SourceLocation resid="Taskpane.Url" />
                    </Action>
                  </Control>
                </Group>
              </OfficeTab>
            </ExtensionPoint>
          </DesktopFormFactor>

          <MobileFormFactor>
            <FunctionFile resid="Commands.Url" />
            <ExtensionPoint xsi:type="MobileMessageReadCommandSurface">
              <Group id="Lexiaa.Mobile.Group">
                <Label resid="Lexiaa.Group.Label" />
                <Control xsi:type="MobileButton" id="Lexiaa.Mobile.OpenPane">
                  <Label resid="Lexiaa.OpenPane.Label" />
                  <Supertip>
                    <Title resid="Lexiaa.OpenPane.Label" />
                    <Description resid="Lexiaa.OpenPane.Tooltip" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="25" scale="1" resid="Icon.16x16" />
                    <bt:Image size="32" scale="1" resid="Icon.32x32" />
                    <bt:Image size="48" scale="1" resid="Icon.32x32" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <SourceLocation resid="Taskpane.Url" />
                  </Action>
                </Control>
              </Group>
            </ExtensionPoint>
          </MobileFormFactor>
        </Host>
      </Hosts>

      <Resources>
        <bt:Images>
          <bt:Image id="Icon.16x16" DefaultValue="https://outlook.lexiaa.co/icon-16.png" />
          <bt:Image id="Icon.32x32" DefaultValue="https://outlook.lexiaa.co/icon-32.png" />
          <bt:Image id="Icon.80x80" DefaultValue="https://outlook.lexiaa.co/icon-80.png" />
        </bt:Images>
        <bt:Urls>
          <bt:Url id="Commands.Url" DefaultValue="https://outlook.lexiaa.co/taskpane" />
          <bt:Url id="Taskpane.Url" DefaultValue="https://outlook.lexiaa.co/taskpane" />
        </bt:Urls>
        <bt:ShortStrings>
          <bt:String id="Lexiaa.Group.Label" DefaultValue="Lexiaa" />
          <bt:String id="Lexiaa.OpenPane.Label" DefaultValue="Ouvrir Lexiaa" />
        </bt:ShortStrings>
        <bt:LongStrings>
          <bt:String id="Lexiaa.OpenPane.Tooltip" DefaultValue="Synchroniser ce courriel vers Lexiaa." />
        </bt:LongStrings>
      </Resources>
    </VersionOverrides>
  </VersionOverrides>
</OfficeApp>
