@@ -24,10 +24,13 @@ export namespace BugReporting {
24
24
function setShakingThresholdForiPad ( iPadShakingThreshold : number ) : void ;
25
25
function setShakingThresholdForAndroid ( androidThreshold : number ) : void ;
26
26
function setExtendedBugReportMode ( extendedBugReportMode : extendedBugReportMode ) : void ;
27
- function setReportTypes ( types : reportType ) : void ;
27
+ function setReportTypes ( types : reportType [ ] ) : void ;
28
28
function showWithOptions (
29
29
type : reportType ,
30
30
options : option [ ] ) : void ;
31
+ function show (
32
+ type : reportType ,
33
+ options : option [ ] ) : void ;
31
34
enum invocationEvent {
32
35
none ,
33
36
shake ,
@@ -90,6 +93,7 @@ export namespace Replies {
90
93
function hasChats ( callback : ( previousChats : boolean ) => void ) : void ;
91
94
function show ( ) : void ;
92
95
function setOnNewReplyReceivedCallback ( onNewReplyReceivedCallback : ( ) => void ) : void ;
96
+ function setOnNewReplyReceivedHandler ( onNewReplyReceivedHandler : ( ) => void ) : void ;
93
97
function getUnreadRepliesCount ( messageCountCallback : ( ) => void ) : void ;
94
98
function setInAppNotificationsEnabled ( inAppNotificationsEnabled : boolean ) : void ;
95
99
function setInAppNotificationSound ( shouldPlaySound : boolean ) : void ;
@@ -104,7 +108,9 @@ export namespace Surveys {
104
108
function getAvailableSurveys ( availableSurveysCallback : ( ) => void ) : void ;
105
109
function setAutoShowingEnabled ( autoShowingSurveysEnabled : boolean ) : void ;
106
110
function onShowCallback ( willShowSurveyHandler : ( ) => void ) : void ;
111
+ function setOnShowHandler ( onShowHandler : ( ) => void ) : void ;
107
112
function onDismissCallback ( didDismissSurveyHandler : ( ) => void ) : void ;
113
+ function setOnDismissHandler ( onDismissHandler : ( ) => void ) : void ;
108
114
function showSurvey ( surveyToken : string ) : void ;
109
115
function hasRespondedToSurvey (
110
116
surveyToken : string ,
@@ -122,6 +128,10 @@ export function startWithToken(
122
128
token : string ,
123
129
invocationEvent : invocationEvent [ ]
124
130
) : void ;
131
+ export function start (
132
+ token : string ,
133
+ invocationEvent : invocationEvent [ ]
134
+ ) : void ;
125
135
export function setUserData ( userData : string ) : void ;
126
136
export function setAutoScreenRecordingEnabled ( autoScreenRecordingEnabled : boolean ) : void ;
127
137
export function setAutoScreenRecordingMaxDuration ( autoScreenRecordingMaxDuration : number ) : void ;
@@ -150,6 +160,10 @@ export function setStringToKey(
150
160
string : string ,
151
161
key : strings ,
152
162
) : void ;
163
+ export function setString (
164
+ key : strings ,
165
+ string : string ,
166
+ ) : void ;
153
167
export function setEnabledAttachmentTypes (
154
168
screenshot : boolean ,
155
169
extraScreenshot : boolean ,
@@ -160,8 +174,13 @@ export function identifyUserWithEmail(
160
174
email : string ,
161
175
name : string
162
176
) : void ;
177
+ export function identifyUser (
178
+ email : string ,
179
+ name : string
180
+ ) : void ;
163
181
export function logOut ( ) : void ;
164
182
export function logUserEventWithName ( name : string , params ?: any ) : void ;
183
+ export function logUserEvent ( name : string ) : void ;
165
184
export function logVerbose ( message : string ) : void ;
166
185
export function logInfo ( message : string ) : void ;
167
186
export function logDebug ( message : string ) : void ;
0 commit comments