import { CommandBus } from '@nestjs/cqrs'; import { Repository } from 'typeorm'; import { TenantAwareCrudService } from './../core/crud'; import { Organization } from './organization.entity'; import { OrgGenerateDemoOptions } from '@metad/contracts'; export declare class OrganizationService extends TenantAwareCrudService { private readonly organizationRepository; private readonly commandBus; constructor(organizationRepository: Repository, commandBus: CommandBus); /** * Returns the organization based on the public link irrespective of the tenant. */ findByPublicLink(profile_link: string, select?: string, relation?: string): Promise; /** * Generate demo data for the organization (e.g. demo projects, demo dashboards, etc.) */ generateDemo(id: string, options: OrgGenerateDemoOptions): Promise; }