@@ -24,10 +24,13 @@ export namespace BugReporting {
2424 function setShakingThresholdForiPad ( iPadShakingThreshold : number ) : void ;
2525 function setShakingThresholdForAndroid ( androidThreshold : number ) : void ;
2626 function setExtendedBugReportMode ( extendedBugReportMode : extendedBugReportMode ) : void ;
27- function setReportTypes ( types : reportType ) : void ;
27+ function setReportTypes ( types : reportType [ ] ) : void ;
2828 function showWithOptions (
2929 type : reportType ,
3030 options : option [ ] ) : void ;
31+ function show (
32+ type : reportType ,
33+ options : option [ ] ) : void ;
3134 enum invocationEvent {
3235 none ,
3336 shake ,
@@ -90,6 +93,7 @@ export namespace Replies {
9093 function hasChats ( callback : ( previousChats : boolean ) => void ) : void ;
9194 function show ( ) : void ;
9295 function setOnNewReplyReceivedCallback ( onNewReplyReceivedCallback : ( ) => void ) : void ;
96+ function setOnNewReplyReceivedHandler ( onNewReplyReceivedHandler : ( ) => void ) : void ;
9397 function getUnreadRepliesCount ( messageCountCallback : ( ) => void ) : void ;
9498 function setInAppNotificationsEnabled ( inAppNotificationsEnabled : boolean ) : void ;
9599 function setInAppNotificationSound ( shouldPlaySound : boolean ) : void ;
@@ -104,7 +108,9 @@ export namespace Surveys {
104108 function getAvailableSurveys ( availableSurveysCallback : ( ) => void ) : void ;
105109 function setAutoShowingEnabled ( autoShowingSurveysEnabled : boolean ) : void ;
106110 function onShowCallback ( willShowSurveyHandler : ( ) => void ) : void ;
111+ function setOnShowHandler ( onShowHandler : ( ) => void ) : void ;
107112 function onDismissCallback ( didDismissSurveyHandler : ( ) => void ) : void ;
113+ function setOnDismissHandler ( onDismissHandler : ( ) => void ) : void ;
108114 function showSurvey ( surveyToken : string ) : void ;
109115 function hasRespondedToSurvey (
110116 surveyToken : string ,
@@ -122,6 +128,10 @@ export function startWithToken(
122128 token : string ,
123129 invocationEvent : invocationEvent [ ]
124130 ) : void ;
131+ export function start (
132+ token : string ,
133+ invocationEvent : invocationEvent [ ]
134+ ) : void ;
125135export function setUserData ( userData : string ) : void ;
126136export function setAutoScreenRecordingEnabled ( autoScreenRecordingEnabled : boolean ) : void ;
127137export function setAutoScreenRecordingMaxDuration ( autoScreenRecordingMaxDuration : number ) : void ;
@@ -150,6 +160,10 @@ export function setStringToKey(
150160 string : string ,
151161 key : strings ,
152162 ) : void ;
163+ export function setString (
164+ key : strings ,
165+ string : string ,
166+ ) : void ;
153167export function setEnabledAttachmentTypes (
154168 screenshot : boolean ,
155169 extraScreenshot : boolean ,
@@ -160,8 +174,13 @@ export function identifyUserWithEmail(
160174 email : string ,
161175 name : string
162176 ) : void ;
177+ export function identifyUser (
178+ email : string ,
179+ name : string
180+ ) : void ;
163181export function logOut ( ) : void ;
164182export function logUserEventWithName ( name : string , params ?: any ) : void ;
183+ export function logUserEvent ( name : string ) : void ;
165184export function logVerbose ( message : string ) : void ;
166185export function logInfo ( message : string ) : void ;
167186export function logDebug ( message : string ) : void ;
0 commit comments