<?xml version="1.0" encoding="UTF-8"?>
<!--
  MotherBot WhatsApp — Microsoft Excel add-in manifest.

  The task pane (taskpane.html/js) is hosted by the MotherBot app at
  https://motherbot.io/excel-addin/*. One manifest works for every organisation — the
  org is identified by the access token entered in the task pane, not by the manifest.

  Replace https://motherbot.io with your own MotherBot server URL if self-hosting, then
  sideload this file: Excel → Home → Add-ins → More Add-ins → My Add-ins → Upload My Add-in.
-->
<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:ov="http://schemas.microsoft.com/office/taskpaneappversionoverrides"
  xsi:type="TaskPaneApp">

  <Id>533e58b7-c53a-4607-8445-56406b6b1017</Id>
  <Version>1.0.0</Version>
  <ProviderName>MotherBot</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="MotherBot WhatsApp" />
  <Description DefaultValue="Send WhatsApp template or free-form messages to rows of your spreadsheet, and import rows as contacts." />
  <IconUrl DefaultValue="https://motherbot.io/images/app-icon.png" />
  <HighResolutionIconUrl DefaultValue="https://motherbot.io/images/app-icon.png" />
  <SupportUrl DefaultValue="https://motherbot.io/support" />

  <AppDomains>
    <AppDomain>https://motherbot.io</AppDomain>
  </AppDomains>

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

  <DefaultSettings>
    <SourceLocation DefaultValue="https://motherbot.io/excel-addin/taskpane.html" />
  </DefaultSettings>

  <Permissions>ReadWriteDocument</Permissions>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Workbook">
        <DesktopFormFactor>
          <GetStarted>
            <Title resid="GetStarted.Title" />
            <Description resid="GetStarted.Description" />
            <LearnMoreUrl resid="GetStarted.LearnMoreUrl" />
          </GetStarted>
          <FunctionFile resid="Commands.Url" />
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="MotherBot.Group">
                <Label resid="Group.Label" />
                <Icon>
                  <bt:Image size="16" resid="Icon.16" />
                  <bt:Image size="32" resid="Icon.32" />
                  <bt:Image size="80" resid="Icon.80" />
                </Icon>
                <Control xsi:type="Button" id="MotherBot.OpenTaskpane">
                  <Label resid="OpenPane.Label" />
                  <Supertip>
                    <Title resid="OpenPane.Label" />
                    <Description resid="OpenPane.Tooltip" />
                  </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">
                    <TaskpaneId>MotherBotTaskpane</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url" />
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>

    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16" DefaultValue="https://motherbot.io/images/app-icon.png" />
        <bt:Image id="Icon.32" DefaultValue="https://motherbot.io/images/app-icon.png" />
        <bt:Image id="Icon.80" DefaultValue="https://motherbot.io/images/app-icon.png" />
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Commands.Url" DefaultValue="https://motherbot.io/excel-addin/commands.html" />
        <bt:Url id="Taskpane.Url" DefaultValue="https://motherbot.io/excel-addin/taskpane.html" />
        <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://motherbot.io" />
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GetStarted.Title" DefaultValue="MotherBot WhatsApp is ready" />
        <bt:String id="Group.Label" DefaultValue="MotherBot" />
        <bt:String id="OpenPane.Label" DefaultValue="WhatsApp" />
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="GetStarted.Description" DefaultValue="Open the MotherBot WhatsApp pane from the Home tab to message your rows." />
        <bt:String id="OpenPane.Tooltip" DefaultValue="Send WhatsApp messages to rows of this workbook." />
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
