Function parseTenantConfig
- parseTenantConfig(dataJson): Readonly<{
contactInfo: ContactInfoConfig;
eventTypes: (Readonly<{
fusionEventId: string;
index?: number;
name: string;
optOutAtSignup?: boolean;
tooltipContent?: string;
topicGroupName?: string;
type: "fusion";
}> | Readonly<{
name: string;
optOutAtSignup?: boolean;
tooltipContent?: string;
type: "label";
}>)[];
id: string;
isContactInfoRequired?: boolean;
name: string;
version: "v2";
}> | Readonly<{
contactInfo: ContactInfoConfig;
eventTypes: EventTypeConfig;
id: null | string;
inputs: InputsConfig;
isContactInfoRequired?: boolean;
name: string;
titles?: TitleSubtitleConfig;
version: "v1";
}> Returns Readonly<{
contactInfo: ContactInfoConfig;
eventTypes: (Readonly<{
fusionEventId: string;
index?: number;
name: string;
optOutAtSignup?: boolean;
tooltipContent?: string;
topicGroupName?: string;
type: "fusion";
}> | Readonly<{
name: string;
optOutAtSignup?: boolean;
tooltipContent?: string;
type: "label";
}>)[];
id: string;
isContactInfoRequired?: boolean;
name: string;
version: "v2";
}> | Readonly<{
contactInfo: ContactInfoConfig;
eventTypes: EventTypeConfig;
id: null | string;
inputs: InputsConfig;
isContactInfoRequired?: boolean;
name: string;
titles?: TitleSubtitleConfig;
version: "v1";
}>