<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<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"
  xsi:type="MailApp">
  <Id>e1823f7a-22fa-4fd7-9b51-19b24d75291f</Id>
  <Version>1.0.0.4</Version>
  <ProviderName>RETR</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="RETR Sidekick" />
  <Description DefaultValue="RETR Sidekick is a free Outlook add-in for loan officers that surfaces real estate agent and mortgage professional data, including production stats and relationship data directly inside Outlook." />
  <IconUrl DefaultValue="https://red-pond-0ed587410.2.azurestaticapps.net/assets/icon-64.png?v=2" />
  <HighResolutionIconUrl DefaultValue="https://red-pond-0ed587410.2.azurestaticapps.net/assets/icon-128.png?v=2" />
  <SupportUrl DefaultValue="https://retr.app" />

  <AppDomains>
    <AppDomain>https://red-pond-0ed587410.2.azurestaticapps.net</AppDomain>
  </AppDomains>

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

  <Requirements>
    <Sets DefaultMinVersion="1.5">
      <Set Name="Mailbox" />
    </Sets>
  </Requirements>

  <FormSettings>
    <Form xsi:type="ItemRead">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://red-pond-0ed587410.2.azurestaticapps.net/taskpane/login.html?v=3" />
        <RequestedHeight>450</RequestedHeight>
      </DesktopSettings>
    </Form>
    <Form xsi:type="ItemEdit">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://red-pond-0ed587410.2.azurestaticapps.net/taskpane/login.html?v=3" />
      </DesktopSettings>
    </Form>
  </FormSettings>

  <Permissions>ReadWriteItem</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.5">
          <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="Retr.Group">
                  <Label resid="Retr.GroupLabel" />
                  <Control xsi:type="Button" id="Retr.OpenSidekickRead">
                    <Label resid="Retr.OpenSidekick.Label" />
                    <Supertip>
                      <Title resid="Retr.OpenSidekick.Label" />
                      <Description resid="Retr.OpenSidekick.Tooltip" />
                    </Supertip>
                    <Icon>
                      <bt:Image size="16" resid="Retr.Icon.16" />
                      <bt:Image size="32" resid="Retr.Icon.32" />
                      <bt:Image size="80" resid="Retr.Icon.80" />
                    </Icon>
                    <Action xsi:type="ShowTaskpane">
                      <SourceLocation resid="Login.Url" />
                      <SupportsPinning>true</SupportsPinning>
                    </Action>
                  </Control>
                </Group>
              </OfficeTab>
            </ExtensionPoint>
            <ExtensionPoint xsi:type="MessageComposeCommandSurface">
              <OfficeTab id="TabDefault">
                <Group id="Retr.ComposeGroup">
                  <Label resid="Retr.GroupLabel" />
                  <Control xsi:type="Button" id="Retr.OpenSidekickCompose">
                    <Label resid="Retr.OpenSidekick.Label" />
                    <Supertip>
                      <Title resid="Retr.OpenSidekick.Label" />
                      <Description resid="Retr.OpenSidekick.Tooltip" />
                    </Supertip>
                    <Icon>
                      <bt:Image size="16" resid="Retr.Icon.16" />
                      <bt:Image size="32" resid="Retr.Icon.32" />
                      <bt:Image size="80" resid="Retr.Icon.80" />
                    </Icon>
                    <Action xsi:type="ShowTaskpane">
                      <SourceLocation resid="Login.Url" />
                      <SupportsPinning>true</SupportsPinning>
                    </Action>
                  </Control>
                </Group>
              </OfficeTab>
            </ExtensionPoint>
          </DesktopFormFactor>
        </Host>
      </Hosts>

      <Resources>
        <bt:Images>
          <bt:Image id="Retr.Icon.16" DefaultValue="https://red-pond-0ed587410.2.azurestaticapps.net/assets/icon-16.png?v=2" />
          <bt:Image id="Retr.Icon.32" DefaultValue="https://red-pond-0ed587410.2.azurestaticapps.net/assets/icon-32.png?v=2" />
          <bt:Image id="Retr.Icon.80" DefaultValue="https://red-pond-0ed587410.2.azurestaticapps.net/assets/icon-80.png?v=2" />
        </bt:Images>
        <bt:Urls>
          <bt:Url id="Commands.Url" DefaultValue="https://red-pond-0ed587410.2.azurestaticapps.net/commands/commands.html?v=2" />
          <bt:Url id="Login.Url" DefaultValue="https://red-pond-0ed587410.2.azurestaticapps.net/taskpane/login.html?v=3" />
        </bt:Urls>
        <bt:ShortStrings>
          <bt:String id="Retr.GroupLabel" DefaultValue="RETR Sidekick" />
          <bt:String id="Retr.OpenSidekick.Label" DefaultValue="RETR Sidekick" />
        </bt:ShortStrings>
        <bt:LongStrings>
          <bt:String id="Retr.OpenSidekick.Tooltip" DefaultValue="Open the RETR Sidekick pane." />
        </bt:LongStrings>
      </Resources>
    </VersionOverrides>
  </VersionOverrides>
</OfficeApp>
