import { Injectable } from '@angular/core' ; import { Observable } from 'rxjs' ; import { DaffContactUnion } from '@daffodil/contact' ; import { DaffContactServiceInterface } from '@daffodil/contact/driver' ; import { DaffHubspotFormsService } from '@daffodil/driver/hubspot' ; inheritdoc @ Injectable ( ) export class DaffContactHubspotService implements DaffContactServiceInterface < DaffContactUnion , any > { constructor ( private hubspotService ) { } send ( payload ) { return this . hubspotService . submit ( payload ) ; } }