// @flow
import type {
  AssuranceMode, AssuranceLevel, AssuranceModeOption,
} from '../types/transactionAssuranceTypes';

export const assuranceModeOptions: {
  NORMAL: AssuranceModeOption, STRICT: AssuranceModeOption,
} = {
  NORMAL: 'CWANormal', STRICT: 'CWAStrict',
};

export const assuranceModes: { NORMAL: AssuranceMode, STRICT: AssuranceMode } = {
  NORMAL: {
    low: 3,
    medium: 7,
  },
  STRICT: {
    low: 5,
    medium: 11,
  }
};

export const assuranceLevels: {
  LOW: AssuranceLevel, MEDIUM: AssuranceLevel, HIGH: AssuranceLevel,
} = {
  LOW: 'low', MEDIUM: 'medium', HIGH: 'high',
};

@@ -374,9 +374,9 @@
 ow: 
-3
+2
 ,%0A  
@@ -389,9 +389,9 @@
 um: 
-7
+6
 ,%0A  
@@ -418,9 +418,9 @@
 ow: 
-5
+4
 ,%0A  
@@ -430,17 +430,17 @@
 edium: 1
-1
+0
 ,%0A  %7D%0A%7D;

update tx assurance level config