<?xml version="1.0" encoding="UTF-8"?>
<!-- GewapeSign for Outlook: add-in-only (XML) manifest, the format every Outlook client accepts (classic Outlook on
     Windows and Mac, new Outlook, Outlook on the web). Double-brace placeholders are filled by addins/build.mjs.
     Permission ReadWriteItem is the least that allows both reading the open message's attachment (send for
     signature) and attaching the signed copy to a message being written. No mailbox-wide access. -->
<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>5901a73f-5a95-4cd0-8146-9ba938d79ec3</Id>
  <Version>1.1.0.0</Version>
  <ProviderName>Gewape Cloud Rwanda Limited</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="GewapeSign"/>
  <Description DefaultValue="Send attachments or files for e-signature with GewapeSign, signers filled in from the email, and follow their status. Stored in Africa."/>
  <IconUrl DefaultValue="https://app.gewapesign.com/addins/office/assets/icon-64.png"/>
  <HighResolutionIconUrl DefaultValue="https://app.gewapesign.com/addins/office/assets/icon-128.png"/>
  <SupportUrl DefaultValue="https://gewapesign.com/apps/support/"/>
  <AppDomains>
    <AppDomain>https://app.gewapesign.com</AppDomain>
    <AppDomain>https://sso.gewapecloud.com</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Mailbox"/>
  </Hosts>
  <Requirements>
    <Sets>
      <Set Name="Mailbox" MinVersion="1.5"/>
    </Sets>
  </Requirements>
  <FormSettings>
    <Form xsi:type="ItemRead">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://app.gewapesign.com/addins/office/taskpane.html"/>
        <RequestedHeight>450</RequestedHeight>
      </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">
    <Requirements>
      <bt:Sets DefaultMinVersion="1.5">
        <bt:Set Name="Mailbox"/>
      </bt:Sets>
    </Requirements>
    <Hosts>
      <Host xsi:type="MailHost">
        <DesktopFormFactor>
          <ExtensionPoint xsi:type="MessageReadCommandSurface">
            <OfficeTab id="TabDefault">
              <Group id="gsReadGroup">
                <Label resid="groupLabel"/>
                <Control xsi:type="Button" id="gsReadOpen">
                  <Label resid="buttonLabel"/>
                  <Supertip>
                    <Title resid="buttonLabel"/>
                    <Description resid="buttonTip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="icon16"/>
                    <bt:Image size="32" resid="icon32"/>
                    <bt:Image size="80" resid="icon80"/>
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <SourceLocation resid="taskpaneUrl"/>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
          <ExtensionPoint xsi:type="MessageComposeCommandSurface">
            <OfficeTab id="TabDefault">
              <Group id="gsComposeGroup">
                <Label resid="groupLabel"/>
                <Control xsi:type="Button" id="gsComposeOpen">
                  <Label resid="buttonLabel"/>
                  <Supertip>
                    <Title resid="buttonLabel"/>
                    <Description resid="buttonTip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="icon16"/>
                    <bt:Image size="32" resid="icon32"/>
                    <bt:Image size="80" resid="icon80"/>
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <SourceLocation resid="taskpaneUrl"/>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="icon16" DefaultValue="https://app.gewapesign.com/addins/office/assets/icon-16.png"/>
        <bt:Image id="icon32" DefaultValue="https://app.gewapesign.com/addins/office/assets/icon-32.png"/>
        <bt:Image id="icon80" DefaultValue="https://app.gewapesign.com/addins/office/assets/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="taskpaneUrl" DefaultValue="https://app.gewapesign.com/addins/office/taskpane.html"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="groupLabel" DefaultValue="GewapeSign"/>
        <bt:String id="buttonLabel" DefaultValue="GewapeSign"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="buttonTip" DefaultValue="Send an attachment for signature, follow its status, attach the signed copy."/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
