<?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"
  xmlns:mailappor="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="MailApp">
  <Id>7EA28CD9-1602-4CDD-AC5B-91497024107B</Id>
  <Version>1.121.2605.0515</Version>
  <ProviderName>CSI MyOutlook</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="CSI MyOutlook" />
  <Description
    DefaultValue="Create and view transactions and tasks, tag matters to emails, and track time spent on email activities." />
  <IconUrl DefaultValue="https://office-addin.csihelsinki.app/assets/icon-32.png" />
  <HighResolutionIconUrl DefaultValue="https://office-addin.csihelsinki.app/assets/icon-64.png" />
  <SupportUrl
    DefaultValue="https://docs.microsoft.com/office/dev/add-ins/overview/office-add-in-code-samples" />
  <AppDomains>
    <AppDomain>https://csihelsinkioy.eu.auth0.com</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Mailbox" />
  </Hosts>
  <Requirements>
    <Sets>
      <Set Name="Mailbox" MinVersion="1.1" />
    </Sets>
  </Requirements>
  <FormSettings>
    <Form xsi:type="ItemRead">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://office-addin.csihelsinki.app/taskpane/taskpane.html" />
        <RequestedHeight>250</RequestedHeight>
      </DesktopSettings>
    </Form>
    <Form xsi:type="ItemEdit">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://office-addin.csihelsinki.app/taskpane/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="Message" FormType="Read" />
    <Rule xsi:type="ItemIs" ItemType="Appointment" FormType="Edit" />
    <Rule xsi:type="ItemIs" ItemType="Appointment" FormType="Read" />
  </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.13">
          <bt:Set Name="Mailbox" />
        </bt:Sets>
      </Requirements>
      <!-- Enabling this will
                      cause the taskpane to open when no item is selected  -->
      <Hosts>
        <Host xsi:type="MailHost">
          <DesktopFormFactor>
            <ExtensionPoint xsi:type="MessageComposeCommandSurface">
              <OfficeTab id="TabDefault">
                <Group id="msgComposeCmdGroup">
                  <Label resid="groupLabel" />
                  <Control xsi:type="Button" id="msgComposePaneButton">
                    <Label resid="openTaskPaneLabel" />
                    <Supertip>
                      <Title resid="openTaskPaneTitle" />
                      <Description resid="openTaskPaneDescription" />
                    </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="readPaneUrl" />
                      <SupportsPinning>true</SupportsPinning>
                    </Action>
                  </Control>
                </Group>
              </OfficeTab>
            </ExtensionPoint>
            <ExtensionPoint xsi:type="MessageReadCommandSurface">
              <OfficeTab id="TabDefault">
                <Group id="msgReadCmdGroup">
                  <Label resid="groupLabel" />
                  <Control xsi:type="Button" id="msgReadPaneButton">
                    <Label resid="openTaskPaneLabel" />
                    <Supertip>
                      <Title resid="openTaskPaneTitle" />
                      <Description resid="openTaskPaneDescription" />
                    </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="readPaneUrl" />
                      <SupportsPinning>true</SupportsPinning>
                      <SupportsNoItemContext>true</SupportsNoItemContext>
                      <!-- Enabling this will
                      cause the taskpane to open when no item is selected -->
                    </Action>
                  </Control>
                </Group>
              </OfficeTab>
            </ExtensionPoint>
            <ExtensionPoint xsi:type="AppointmentAttendeeCommandSurface">
              <OfficeTab id="TabDefault">
                <Group id="attendeeCmdGroup">
                  <Label resid="groupLabel" />
                  <Control xsi:type="Button" id="attendeePaneButton">
                    <Label resid="openTaskPaneLabel" />
                    <Supertip>
                      <Title resid="openTaskPaneTitle" />
                      <Description resid="openTaskPaneDescription" />
                    </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="readPaneUrl" />
                      <SupportsPinning>true</SupportsPinning>
                    </Action>
                  </Control>
                </Group>
              </OfficeTab>
            </ExtensionPoint>
            <ExtensionPoint xsi:type="AppointmentOrganizerCommandSurface">
              <OfficeTab id="TabDefault">
                <Group id="organizerCmdGroup">
                  <Label resid="groupLabel" />
                  <Control xsi:type="Button" id="organizerGetSubject">
                    <Label resid="openTaskPaneLabel" />
                    <Supertip>
                      <Title resid="openTaskPaneTitle" />
                      <Description resid="openTaskPaneDescription" />
                    </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="readPaneUrl" />
                      <SupportsPinning>true</SupportsPinning>
                    </Action>
                  </Control>
                </Group>
              </OfficeTab>
            </ExtensionPoint>
          </DesktopFormFactor>
        </Host>
      </Hosts>
      <Resources>
        <bt:Images>
          <bt:Image id="icon-16"
            DefaultValue="https://office-addin.csihelsinki.app/assets/icon-16.png" />
          <bt:Image id="icon-32"
            DefaultValue="https://office-addin.csihelsinki.app/assets/icon-32.png" />
          <bt:Image id="icon-80"
            DefaultValue="https://office-addin.csihelsinki.app/assets/icon-80.png" />
        </bt:Images>
        <bt:Urls>
          <bt:Url id="readPaneUrl"
            DefaultValue="https://office-addin.csihelsinki.app/taskpane/taskpane.html" />
        </bt:Urls>
        <bt:ShortStrings>
          <bt:String id="groupLabel" DefaultValue="CSI" />
          <bt:String id="openTaskPaneLabel" DefaultValue="MyOutlook" />
          <bt:String id="openTaskPaneTitle" DefaultValue="MyOutlook" />
        </bt:ShortStrings>
        <bt:LongStrings>
          <bt:String id="openTaskPaneDescription"
            DefaultValue="Open taskpane to manage entries for this item" />
        </bt:LongStrings>
      </Resources>
    </VersionOverrides>
  </VersionOverrides>
</OfficeApp>