NTP-22491 | added events for lite apis (#14314)
This commit is contained in:
@@ -626,6 +626,16 @@ constructor(
|
||||
selectedBankAccount: LinkedAccountEntity,
|
||||
lrn: String?
|
||||
) {
|
||||
naviPayAnalytics.onDevGenericEvent(
|
||||
event = "LiteAccountSyncUseCase_onClSuccessCallback",
|
||||
params =
|
||||
mapOf(
|
||||
"upiRequestId" to upiRequestId,
|
||||
"selectedBankAccount" to selectedBankAccount.toString(),
|
||||
"lrn" to lrn.orEmpty()
|
||||
)
|
||||
)
|
||||
|
||||
val liteRegistrationResponse =
|
||||
upiLiteRepository.liteRegistration(
|
||||
liteRegistrationRequest =
|
||||
|
||||
@@ -62,6 +62,11 @@ constructor(
|
||||
suspend fun performLiteSync(lrn: String, accountId: String, screenName: String): Boolean {
|
||||
val deviceData = deviceInfoProvider.getDeviceData()
|
||||
|
||||
naviPayAnalytics.onDevGenericEvent(
|
||||
event = "Perform_Lite_Sync_Helper",
|
||||
params = mapOf("lrn" to lrn, "accountId" to accountId, "screenName" to screenName)
|
||||
)
|
||||
|
||||
val liteSyncRequest =
|
||||
LiteSyncRequest(
|
||||
deviceData = deviceData,
|
||||
@@ -103,6 +108,17 @@ constructor(
|
||||
): Boolean {
|
||||
val deviceData = deviceInfoProvider.getDeviceData()
|
||||
|
||||
naviPayAnalytics.onDevGenericEvent(
|
||||
event = "Perform_Zero_Balance_Disablement_Helper",
|
||||
params =
|
||||
mapOf(
|
||||
"lrn" to lrn,
|
||||
"purpose" to purpose,
|
||||
"bankAccountUniqueId" to bankAccountUniqueId,
|
||||
"screenName" to screenName
|
||||
)
|
||||
)
|
||||
|
||||
val liteSyncRequest =
|
||||
LiteSyncRequest(
|
||||
deviceData = deviceData,
|
||||
|
||||
@@ -2901,6 +2901,17 @@ constructor(
|
||||
initCreateAndExecuteMandate: Boolean
|
||||
) {
|
||||
val lrn = getLrnForNonActiveLiteAccount(linkedAccountEntity = linkedAccountEntity)
|
||||
|
||||
naviPayAnalytics.onDevGenericEvent(
|
||||
event = ::executeLiteRegistration.name,
|
||||
params =
|
||||
mapOf(
|
||||
"upiRequestId" to upiRequestId,
|
||||
"linkedAccountEntity" to linkedAccountEntity.toString(),
|
||||
"lrn" to lrn.orEmpty()
|
||||
)
|
||||
)
|
||||
|
||||
val liteRegistrationRequest =
|
||||
LiteRegistrationRequest(
|
||||
deviceData = deviceInfoProvider.getDeviceData(),
|
||||
|
||||
Reference in New Issue
Block a user