export const TelemetryConstants = {
  FlowType: Object.freeze({
    vcDownload: 'VC Download',
    faceModelInit: 'Face SDK initialize',
    qrLogin: 'QR Login',
    senderVcShare: 'Sender VC Share',
    receiverVcShare: 'Receiver VC Share',
    vcActivation: 'VC Activation',
    vcActivationFromKebab: 'VC Activation from kebab popup',
    appOnboarding: 'App Onboarding',
    appLogin: 'App Login',
    vcLockOrRevoke: 'VC Lock / VC Revoke',
    getVcUsingAid: 'Get VC using AID',
    fetchData: 'Fetch Data',
  }),

  EndEventStatus: Object.freeze({
    success: 'SUCCESS',
    cancel: 'CANCEL',
    failure: 'FAILURE',
  }),

  InteractEventSubtype: Object.freeze({
    click: 'CLICK',
  }),

  ErrorMessage: Object.freeze({
    faceModelInitFailed: 'Face model init failed',
    authenticationCancelled: 'Authentication Cancelled',
    passcodeDidNotMatch: 'Pass code did not match',
    resendOtp: 'Otp is requested multiple times',
    hardwareKeyStore:
      'Some security features will be unavailable as hardware key store is not available',
    activationCancelled: 'Activation Cancelled',
    appWasReset:
      'Due to the fingerprint / facial recognition update, app security was impacted, and downloaded cards were removed. Please download again',
    vcsAreTampered:
      'Tampered cards detected and removed for security reasons. Please download again',
  }),

  ErrorId: Object.freeze({
    failure: 'FAILURE',
    mismatch: 'MISMATCH',
    doesNotExist: 'DOES_NOT_EXIST',
    userCancel: 'USER_CANCEL',
    resend: 'RESEND',
    activationFailed: 'ACTIVATION_FAILED',
    tampered: 'TAMPERED',
    dataRetrieval: 'DATA_RETRIEVAL',
    appWasReset: 'APP_WAS_RESET',
    vcsAreTampered: 'VC_TAMPERED',
  }),

  Screens: Object.freeze({
    home: 'Home',
    passcode: 'Passcode',
    webViewPage: 'Web View Page',
    otpVerificationModal: 'Otp Verification Modal',
    issuerList: 'Issuer List',
    scanScreen: 'Scan Screen',
    sharingInProgressScreen: 'Sharing in Progress',
    vcList: 'VC List',
    vcShareSuccessPage: 'VC Successfully Shared Page',
    vcReceivedSuccessPage: 'VC Successfully Received Page',
  }),
};
