11export namespace Gleap {
2- function initialize ( sdkKey : string , gleapId ?: string , gleapHash ?: string ) : void ;
3- function sendSilentBugReport (
2+ function initialize (
3+ sdkKey : string ,
4+ gleapId ?: string ,
5+ gleapHash ?: string
6+ ) : void ;
7+ function sendSilentBugReport (
48 description : string ,
59 priority : "LOW" | "MEDIUM" | "HIGH"
6- ) : void ;
7- function setCustomerEmail ( email : string ) : void ;
8- function attachCustomData ( customData : any ) : void ;
9- function setCustomData ( key : string , value : string ) : void ;
10- function removeCustomData ( key : string ) : void ;
11- function clearCustomData ( ) : void ;
12- function setApiUrl ( apiUrl : string ) : void ;
13- function setWidgetUrl ( widgetUrl : string ) : void ;
14- function registerCustomAction ( customAction : ( action : { name : string } ) => void ) : void ;
15- function logEvent ( name : string , data ?: any ) : void ;
16- function enableRageClickDetector ( silent ?: boolean ) : void ;
17- function setLogoUrl ( logoUrl : string ) : void ;
18- function setButtonLogoUrl ( buttonLogoUrl : string ) : void ;
19- function setCustomTranslation ( customTranslation : any ) : void ;
20- function enableCrashDetector ( enabled : boolean , silent ?: boolean ) : void ;
21- function setAppBuildNumber ( buildNumber : string ) : void ;
22- function setAppVersionCode ( versionCode : string ) : void ;
23- function setColors ( primaryColor : string , headerColor : string , buttonColor : string ) : void ;
24- function disableConsoleLogOverwrite ( ) : void ;
25- function enableNetworkLogger ( ) : void ;
26- function enableShortcuts ( enabled : boolean ) : void ;
27- function enableReplays ( enabled : boolean ) : void ;
28- function setLanguage ( language : string ) : void ;
29- function clearIdentity ( ) : void ;
30- function identify ( userId : string , customerData : {
31- name ?: string ;
32- email ?: string ;
33- } ) : void ;
34- function open ( ) : void ;
35- function hide ( ) : void ;
36- function startFeedbackFlow ( feedbackFlow : string ) : void ;
37- function on ( event : string , callback : ( data ?: any ) => void ) : void ;
10+ ) : void ;
11+ function setCustomerEmail ( email : string ) : void ;
12+ function attachCustomData ( customData : any ) : void ;
13+ function setCustomData ( key : string , value : string ) : void ;
14+ function removeCustomData ( key : string ) : void ;
15+ function clearCustomData ( ) : void ;
16+ function setApiUrl ( apiUrl : string ) : void ;
17+ function setWidgetUrl ( widgetUrl : string ) : void ;
18+ function registerCustomAction (
19+ customAction : ( action : { name : string } ) => void
20+ ) : void ;
21+ function logEvent ( name : string , data ?: any ) : void ;
22+ function enableRageClickDetector ( silent ?: boolean ) : void ;
23+ function setLogoUrl ( logoUrl : string ) : void ;
24+ function setButtonLogoUrl ( buttonLogoUrl : string ) : void ;
25+ function setCustomTranslation ( customTranslation : any ) : void ;
26+ function enableCrashDetector ( enabled : boolean , silent ?: boolean ) : void ;
27+ function setAppBuildNumber ( buildNumber : string ) : void ;
28+ function setAppVersionCode ( versionCode : string ) : void ;
29+ function setColors (
30+ primaryColor : string ,
31+ headerColor : string ,
32+ buttonColor : string
33+ ) : void ;
34+ function setStyles ( styles : {
35+ primaryColor : string ;
36+ headerColor : string ;
37+ buttonColor : string ;
38+ cornerRadius : string ;
39+ } ) : void ;
40+ function disableConsoleLogOverwrite ( ) : void ;
41+ function enableNetworkLogger ( ) : void ;
42+ function enableShortcuts ( enabled : boolean ) : void ;
43+ function enableReplays ( enabled : boolean ) : void ;
44+ function setLanguage ( language : string ) : void ;
45+ function clearIdentity ( ) : void ;
46+ function identify (
47+ userId : string ,
48+ customerData : {
49+ name ?: string ;
50+ email ?: string ;
51+ }
52+ ) : void ;
53+ function open ( ) : void ;
54+ function hide ( ) : void ;
55+ function startFeedbackFlow ( feedbackFlow : string ) : void ;
56+ function on ( event : string , callback : ( data ?: any ) => void ) : void ;
3857}
39- export default Gleap ;
58+ export default Gleap ;
0 commit comments