Skip to content

πŸ“¨ The ultimate agentic social media scheduling tool πŸ€–

727 B
Raw Blame
import {
  ThirdParty,
  ThirdPartyAbstract,
} from '@gitroom/nestjs-libraries/3rdparties/thirdparty.interface';
import { hubspotInstallUrl } from '@gitroom/nestjs-libraries/database/prisma/oauth/oauth.service';

@ThirdParty({
  identifier: 'hubspot',
  title: 'HubSpot',
  description:
    'Schedule and manage your posts from HubSpot agents in Agent Builder.',
  fields: [],
  installUrl: hubspotInstallUrl,
})
export class HubspotProvider extends ThirdPartyAbstract {
  // Installed in HubSpot through installUrl, never connected with an API key
  async checkConnection(): Promise<false> {
    return false;
  }

  async sendData(): Promise<string> {
    throw new Error('HubSpot provider does not support sendData');
  }
}