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