@@ -11,15 +11,15 @@ export namespace BugReporting {
11
11
function invokeWithInvocationModeAndOptions (
12
12
invocationMode : invocationMode ,
13
13
invocationOptions : invocationOptions [ ]
14
- ) : void ;
14
+ ) : void ;
15
15
function onInvokeHandler ( handler : ( ) => void ) : void ;
16
16
function onReportSubmitHandler ( preSendingHandler : ( ) => void ) : void ;
17
17
function onSDKDismissedHandler ( handler : ( dismiss : dismissType , report : reportType ) => void ) : void ;
18
18
function setPromptOptionsEnabled (
19
19
chat : boolean ,
20
20
bug : boolean ,
21
21
feedback : boolean
22
- ) : void ;
22
+ ) : void ;
23
23
function setShakingThresholdForiPhone ( iPhoneShakingThreshold : number ) : void ;
24
24
function setShakingThresholdForiPad ( iPadShakingThreshold : number ) : void ;
25
25
function setShakingThresholdForAndroid ( androidThreshold : number ) : void ;
@@ -79,7 +79,7 @@ export namespace FeatureRequests {
79
79
function setEmailFieldRequired (
80
80
isEmailFieldRequired : boolean ,
81
81
actionTypes : actionTypes [ ]
82
- ) : void ;
82
+ ) : void ;
83
83
function show ( ) : void ;
84
84
enum actionTypes {
85
85
allActions ,
@@ -90,7 +90,7 @@ export namespace FeatureRequests {
90
90
}
91
91
export namespace Replies {
92
92
function setEnabled ( isEnabled : boolean ) : void ;
93
- function hasChats ( callback : ( previousChats : boolean ) => void ) : void ;
93
+ function hasChats ( callback : ( previousChats : boolean ) => void ) : void ;
94
94
function show ( ) : void ;
95
95
function setOnNewReplyReceivedCallback ( onNewReplyReceivedCallback : ( ) => void ) : void ;
96
96
function setOnNewReplyReceivedHandler ( onNewReplyReceivedHandler : ( ) => void ) : void ;
@@ -104,7 +104,7 @@ export namespace Surveys {
104
104
function setThresholdForReshowingSurveyAfterDismiss (
105
105
sessionCount : number ,
106
106
daysCount : number
107
- ) : void ;
107
+ ) : void ;
108
108
function getAvailableSurveys ( availableSurveysCallback : ( surveys : Survey [ ] ) => void ) : void ;
109
109
function setAutoShowingEnabled ( autoShowingSurveysEnabled : boolean ) : void ;
110
110
function onShowCallback ( willShowSurveyHandler : ( ) => void ) : void ;
@@ -115,7 +115,7 @@ export namespace Surveys {
115
115
function hasRespondedToSurvey (
116
116
surveyToken : string ,
117
117
surveyTokenCallback : ( ) => void
118
- ) : void ;
118
+ ) : void ;
119
119
function setShouldShowWelcomeScreen ( shouldShowWelcomeScreen : boolean ) : void ;
120
120
}
121
121
export namespace NetworkLogger {
@@ -127,11 +127,11 @@ export namespace NetworkLogger {
127
127
export function startWithToken (
128
128
token : string ,
129
129
invocationEvent : invocationEvent [ ]
130
- ) : void ;
130
+ ) : void ;
131
131
export function start (
132
132
token : string ,
133
133
invocationEvent : invocationEvent [ ]
134
- ) : void ;
134
+ ) : void ;
135
135
export function setUserData ( userData : string ) : void ;
136
136
export function setAutoScreenRecordingEnabled ( autoScreenRecordingEnabled : boolean ) : void ;
137
137
export function setAutoScreenRecordingMaxDuration ( autoScreenRecordingMaxDuration : number ) : void ;
@@ -145,11 +145,11 @@ export function setPushNotificationsEnabled(isPushNotificationEnabled: boolean):
145
145
export function setEmailFieldRequiredForActions (
146
146
isEmailFieldRequired : boolean ,
147
147
actionTypes : actionTypes
148
- ) : void ;
148
+ ) : void ;
149
149
export function setFloatingButtonEdge (
150
150
floatingButtonEdge : number ,
151
151
offsetFromTop : number
152
- ) : void ;
152
+ ) : void ;
153
153
export function setLocale ( locale : locale ) : void ;
154
154
export function setColorTheme ( colorTheme : colorTheme ) : void ;
155
155
export function setPrimaryColor ( setPrimaryColor : number ) : void ;
@@ -159,27 +159,27 @@ export function getTags(tagsCallback: () => void): void;
159
159
export function setStringToKey (
160
160
string : string ,
161
161
key : strings ,
162
- ) : void ;
162
+ ) : void ;
163
163
export function setString (
164
164
key : strings ,
165
165
string : string ,
166
- ) : void ;
166
+ ) : void ;
167
167
export function setEnabledAttachmentTypes (
168
168
screenshot : boolean ,
169
169
extraScreenshot : boolean ,
170
170
galleryImage : boolean ,
171
171
screenRecording : boolean
172
- ) : void ;
172
+ ) : void ;
173
173
export function identifyUserWithEmail (
174
174
email : string ,
175
175
name : string
176
- ) : void ;
176
+ ) : void ;
177
177
export function identifyUser (
178
178
email : string ,
179
179
name : string
180
- ) : void ;
180
+ ) : void ;
181
181
export function logOut ( ) : void ;
182
- export function logUserEventWithName ( name : string , params ?: any ) : void ;
182
+ export function logUserEventWithName ( name : string , params ?: any ) : void ;
183
183
export function logUserEvent ( name : string ) : void ;
184
184
export function logVerbose ( message : string ) : void ;
185
185
export function logInfo ( message : string ) : void ;
@@ -191,7 +191,7 @@ export function setReproStepsMode(reproStepsMode: reproStepsMode): void;
191
191
export function setUserAttribute (
192
192
key : string ,
193
193
value : string
194
- ) : void ;
194
+ ) : void ;
195
195
export function getUserAttribute (
196
196
key : string ,
197
197
userAttributeCallback : ( ) => void )
@@ -208,21 +208,21 @@ export function enable(): void;
208
208
export function disable ( ) : void ;
209
209
export function setEnableInAppNotificationSound ( shouldPlaySound : boolean ) : void ;
210
210
export function reportJSException ( Exception : object ) : void ;
211
- export function isRunningLive ( runningLiveCallBack : ( ) => void ) : void ;
211
+ export function isRunningLive ( runningLiveCallBack : ( isLive : boolean ) => void ) : void ;
212
212
export function setVideoRecordingFloatingButtonPosition ( position : IBGPosition ) : void ;
213
213
export function setShouldShowSurveysWelcomeScreen ( shouldShowWelcomeScreen : boolean ) : void ;
214
214
export function showWelcomeMessage ( welcomeMessageMode : welcomeMessageMode ) : void ;
215
215
export function setWelcomeMessageMode ( welcomeMessageMode : welcomeMessageMode ) : void ;
216
216
export function addFileAttachment (
217
217
filePath : string ,
218
218
fileName : string
219
- ) : void ;
219
+ ) : void ;
220
220
export function show ( ) : void ;
221
221
export function onReportSubmitHandler ( preSendingHandler : ( presendingHandler : Report ) => void ) : void ;
222
222
export function callPrivateApi (
223
223
apiName : string ,
224
224
param : any
225
- ) : void ;
225
+ ) : void ;
226
226
export enum invocationEvent {
227
227
none ,
228
228
shake ,
@@ -363,7 +363,7 @@ export enum strings {
363
363
welcomeMessageLiveWelcomeStepContent
364
364
}
365
365
366
- interface Report {
366
+ interface Report {
367
367
logDebug ( log : string ) ;
368
368
logVerbose ( log : string ) ;
369
369
logWarn ( log : string ) ;
0 commit comments