-
Notifications
You must be signed in to change notification settings - Fork 15
/
index.d.ts
57 lines (42 loc) · 1.05 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
export = PersonalityTextSummary;
declare type Locale = 'en' | 'es' | 'ja' | 'ko';
declare type Version = 'v2' | 'v3';
declare class PersonalityTextSummary {
constructor(options?: {
locale?: Locale,
version?: Version
});
defaultOptions(): {
locale: Locale,
version: Version
};
setLocale(locale: Locale): void;
getSummary(profile: any): string;
assemble(profile: any): string[][];
assembleTraits(traits: any): string[];
assembleFacets(traits: any): string[];
assembleNeeds(needs: any): string[];
assembleValues(values: any): string[];
getCircumplexAdjective(p1: any, p2: any, order: any): string;
getValueInfo(value: any): {
name: string,
term: string,
description: string
};
getFacetInfo(facet: any): {
name: string,
term: string,
description: string
};
getFacet(id: any): {
LowTerm: string,
LowDescription: string,
HighTerm: string,
HighDescription: string,
Big5: string
};
getTrait(id: any): {
HighDescription: string,
LowDescription: string
};
}