UNPKG

salesforce-alm

Version:

This package contains tools, and APIs, for an improved salesforce.com developer experience.

19 lines (18 loc) 602 B
import { Org } from '@salesforce/core/lib/org'; import { QueryResult } from 'jsforce'; import { CommunityInfo } from '../defs/CommunityInfo'; /** * Helper services for Communities */ export declare class CommunitiesServices { /** * Get community name from the given id * * @param org - the org to query * @param name - the given community name * * @returns - the community id for the given name */ static fetchCommunityInfoFromName(org: Org, name: string): Promise<CommunityInfo>; static runQuery<T>(org: Org, query: string): Promise<QueryResult<T>>; }