<?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/1.0" xsi:type="MailApp">
  <!-- Id: the globally unique identifier for the add-in. Should be unique per deployment.
       Hexadecimal format: 817f5299-5866-4c08-b033-3d5c3302e29c. Example: a60f4501-4ba3-4795-a522-6a60c656f389.
       It can be set to match the oidc.audience in archibus/WEB-INF/config/oidc.properties. -->
  <Id>817f5299-5866-4c08-b033-3d5c3302e29c</Id>
  <Version>2025.1.55</Version>
  <ProviderName>Archibus</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Archibus Room Finder">
    <!-- Specify translations using only the language name for Outlook Online -->
    <Override Locale="de" Value="Archibus Raumsuche" />
    <Override Locale="es" Value="Buscador de sala Archibus" />
    <Override Locale="fr" Value="Recherche de salle Archibus" />
    <Override Locale="it" Value="Ricerca sala Archibus" />
    <Override Locale="nl" Value="Archibus ruimtezoeker" />
    <Override Locale="zh" Value="Archibus 查找房间" />
    <!-- Add the same translations with default culture for classic Outlook, which doesn't match locales by language alone. -->
    <Override Locale="de-DE" Value="Archibus Raumsuche" />
    <Override Locale="es-ES" Value="Buscador de sala Archibus" />
    <Override Locale="fr-FR" Value="Recherche de salle Archibus" />
    <Override Locale="it-IT" Value="Ricerca sala Archibus" />
    <Override Locale="nl-NL" Value="Archibus ruimtezoeker" />
    <Override Locale="zh-CN" Value="Archibus 查找房间" />
  </DisplayName>
  <Description DefaultValue="Archibus Room Finder web add-in for Outlook">
    <!-- Specify translations using only the language name for Outlook Online -->
    <Override Locale="de" Value="Archibus Raumsuche Web-Add-In für Outlook" />
    <Override Locale="es" Value="Add-in web buscador de sala Archibus per Outlook" />
    <Override Locale="fr" Value="Complément web recherche de salle Archibus pour Outlook" />
    <Override Locale="it" Value="Add-in web ricerca sala Archibus in Outlook" />
    <Override Locale="nl" Value="Archibus ruimtezoeker webadd-in voor Outlook" />
    <Override Locale="zh" Value="Archibus 查找房间 web add-in for Outlook" />
    <!-- Add the same translations with default culture for classic Outlook, which doesn't match locales by language alone. -->
    <Override Locale="de-DE" Value="Archibus Raumsuche Web-Add-In für Outlook" />
    <Override Locale="es-ES" Value="Add-in web buscador de sala Archibus per Outlook" />
    <Override Locale="fr-FR" Value="Complément web recherche de salle Archibus pour Outlook" />
    <Override Locale="it-IT" Value="Add-in web ricerca sala Archibus in Outlook" />
    <Override Locale="nl-NL" Value="Archibus ruimtezoeker webadd-in voor Outlook" />
    <Override Locale="zh-CN" Value="Archibus 查找房间 web add-in for Outlook" />
  </Description>
  <!-- When deploying, the hostname and port of all assets in this file must be updated to match your deployment location. 
       The add-in must be deployed on the same host as Archibus Web Central. HTTPS is required. -->
  <IconUrl DefaultValue="https://resexdemo.archibus.cloud/outlookaddin/assets/icon-64.png"/>
  <HighResolutionIconUrl DefaultValue="https://resexdemo.archibus.cloud/outlookaddin/assets/icon-128.png"/>
  <SupportUrl DefaultValue="https://help.archibus.com/user_en/archibus.htm"/>
  <Hosts>
    <Host Name="Mailbox"/>
  </Hosts>
  <Requirements>
    <Sets>
      <Set Name="Mailbox" MinVersion="1.3"/>
    </Sets>
  </Requirements>
  <FormSettings>
    <!-- The <FormSettings> element is required for validation, but is ignored when there's a <VersionOverrides> element in your manifest. -->
    <Form xsi:type="ItemRead">
      <DesktopSettings>
        <SourceLocation DefaultValue="https://resexdemo.archibus.cloud/outlookaddin/taskpane.html"/>
        <RequestedHeight>250</RequestedHeight>
      </DesktopSettings>
    </Form>
  </FormSettings>
  <Permissions>ReadWriteItem</Permissions>
  <Rule xsi:type="RuleCollection" Mode="Or">
    <Rule xsi:type="ItemIs" ItemType="Appointment" FormType="Edit"/>
  </Rule>
  <DisableEntityHighlighting>false</DisableEntityHighlighting>
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Requirements>
      <bt:Sets DefaultMinVersion="1.3">
        <bt:Set Name="Mailbox"/>
      </bt:Sets>
    </Requirements>
    <Hosts>
      <Host xsi:type="MailHost">
        <DesktopFormFactor>
          <ExtensionPoint xsi:type="AppointmentOrganizerCommandSurface">
            <OfficeTab id="TabDefault">
              <Group id="archibusOrganizerGroup">
                <Label resid="GroupLabel"/>
                <Control xsi:type="Button" id="archibusOpenRoomFinderButton">
                  <Label resid="TaskpaneButton.Label"/>
                  <Supertip>
                    <Title resid="TaskpaneButton.Label"/>
                    <Description resid="TaskpaneButton.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>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16x16" DefaultValue="https://resexdemo.archibus.cloud/outlookaddin/assets/icon-16.png"/>
        <bt:Image id="Icon.32x32" DefaultValue="https://resexdemo.archibus.cloud/outlookaddin/assets/icon-32.png"/>
        <bt:Image id="Icon.80x80" DefaultValue="https://resexdemo.archibus.cloud/outlookaddin/assets/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Taskpane.Url" DefaultValue="https://resexdemo.archibus.cloud/outlookaddin/taskpane.html"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GroupLabel" DefaultValue="Archibus"/>
        <bt:String id="TaskpaneButton.Label" DefaultValue="Room Finder">
          <!-- Localize including default culture for classic Outlook. -->
          <bt:Override Locale="de-DE" Value="Raumsuche" />
          <bt:Override Locale="es-ES" Value="Buscador de sala" />
          <bt:Override Locale="fr-FR" Value="Recherche de salle" />
          <bt:Override Locale="it-IT" Value="Ricerca sala" />
          <bt:Override Locale="nl-NL" Value="Ruimte zoeken" />
          <bt:Override Locale="zh-CN" Value="查找房间" />
        </bt:String>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="TaskpaneButton.Tooltip" DefaultValue="Opens the Archibus Room Finder panel">
          <!-- Localize including default culture for classic Outlook. -->
          <bt:Override Locale="de-DE" Value="Öffnet das Archibus-Raumsucherpanel" />
          <bt:Override Locale="es-ES" Value="Abre el panel del buscador de sala de Archibus" />
          <bt:Override Locale="fr-FR" Value="Ouvre le panneau de recherche de salle d'Archibus" />
          <bt:Override Locale="it-IT" Value="Apre il pannello di ricerca sala di Archibus" />
          <bt:Override Locale="nl-NL" Value="Opent het Archibus ruimtezoekerpaneel" />
          <bt:Override Locale="zh-CN" Value="打开 Archibus 房间查找面板" />
        </bt:String>
      </bt:LongStrings>
    </Resources>
    <VersionOverrides xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
      <Requirements>
        <bt:Sets DefaultMinVersion="1.3">
          <bt:Set Name="Mailbox"/>
        </bt:Sets>
      </Requirements>
      <Hosts>
        <Host xsi:type="MailHost">
          <DesktopFormFactor>
            <ExtensionPoint xsi:type="AppointmentOrganizerCommandSurface">
              <OfficeTab id="TabDefault">
                <Group id="archibusOrganizerGroup">
                  <Label resid="GroupLabel"/>
                  <Control xsi:type="Button" id="archibusOpenRoomFinderButton">
                    <Label resid="TaskpaneButton.Label"/>
                    <Supertip>
                      <Title resid="TaskpaneButton.Label"/>
                      <Description resid="TaskpaneButton.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>
        </Host>
      </Hosts>
      <Resources>
        <bt:Images>
          <bt:Image id="Icon.16x16" DefaultValue="https://resexdemo.archibus.cloud/outlookaddin/assets/icon-16.png"/>
          <bt:Image id="Icon.32x32" DefaultValue="https://resexdemo.archibus.cloud/outlookaddin/assets/icon-32.png"/>
          <bt:Image id="Icon.80x80" DefaultValue="https://resexdemo.archibus.cloud/outlookaddin/assets/icon-80.png"/>
        </bt:Images>
        <bt:Urls>
          <bt:Url id="Taskpane.Url" DefaultValue="https://resexdemo.archibus.cloud/outlookaddin/taskpane.html"/>
        </bt:Urls>
        <bt:ShortStrings>
          <bt:String id="GroupLabel" DefaultValue="Archibus"/>
          <bt:String id="TaskpaneButton.Label" DefaultValue="Room Finder">
            <!-- Localize including default culture for classic Outlook. -->
            <bt:Override Locale="de-DE" Value="Raumsuche" />
            <bt:Override Locale="es-ES" Value="Buscador de sala" />
            <bt:Override Locale="fr-FR" Value="Recherche de salle" />
            <bt:Override Locale="it-IT" Value="Ricerca sala" />
            <bt:Override Locale="nl-NL" Value="Ruimte zoeken" />
            <bt:Override Locale="zh-CN" Value="查找房间" />
          </bt:String>
        </bt:ShortStrings>
        <bt:LongStrings>
          <bt:String id="TaskpaneButton.Tooltip" DefaultValue="Opens the Archibus Room Finder panel">
            <!-- Localize including default culture for classic Outlook. -->
            <bt:Override Locale="de-DE" Value="Öffnet das Archibus-Raumsucherpanel" />
            <bt:Override Locale="es-ES" Value="Abre el panel del buscador de sala de Archibus" />
            <bt:Override Locale="fr-FR" Value="Ouvre le panneau de recherche de salle d'Archibus" />
            <bt:Override Locale="it-IT" Value="Apre il pannello di ricerca sala di Archibus" />
            <bt:Override Locale="nl-NL" Value="Opent het Archibus ruimtezoekerpaneel" />
            <bt:Override Locale="zh-CN" Value="打开 Archibus 房间查找面板" />
          </bt:String>
        </bt:LongStrings>
      </Resources>
      <WebApplicationInfo>
        <!-- Id: client ID of Web Central application in the Microsoft Identity Platform.
             Hexadecimal format: 817f5299-5866-4c08-b033-3d5c3302e29c. Example: a60f4501-4ba3-4795-a522-6a60c656f389.
             This client Id must match oidc.audience in archibus/WEB-INF/config/oidc.properties -->
        <Id>817f5299-5866-4c08-b033-3d5c3302e29c</Id>
        <!-- Resource: the application ID URI (including the api: protocol) set on the ‘Expose an API’ pane when
             registering the add-in with the Microsoft identity platform. The domain part must match the URLs above
             and the URI must end with the client ID specified in the <Id> element. -->
        <Resource>api://resexdemo.archibus.cloud/817f5299-5866-4c08-b033-3d5c3302e29c</Resource>
        <Scopes>
          <Scope>email</Scope>
          <Scope>openid</Scope>
          <Scope>profile</Scope>
        </Scopes>
      </WebApplicationInfo>
    </VersionOverrides>
  </VersionOverrides>
</OfficeApp>
