TP-70980 | Feature flags changes

This commit is contained in:
yashmantri
2024-07-15 12:52:24 +05:30
parent fadd256a1a
commit 3ecd082086
2 changed files with 7 additions and 5 deletions

View File

@@ -86,7 +86,8 @@ export enum ApiKeys {
FEE_WAIVER_HISTORY = 'FEE_WAIVER_HISTORY',
FEE_WAIVER_V2 = 'FEE_WAIVER_V2',
CALL_CUSTOMER = 'CALL_CUSTOMER',
SYNC_ACTIVE_CALL_DETAILS = 'SYNC_ACTIVE_CALL_DETAILS'
SYNC_ACTIVE_CALL_DETAILS = 'SYNC_ACTIVE_CALL_DETAILS',
GET_CALL_HISTORY = 'GET_CALL_HISTORY',
}
export const API_URLS: Record<ApiKeys, string> = {} as Record<ApiKeys, string>;
@@ -165,6 +166,7 @@ API_URLS[ApiKeys.FEE_WAIVER_HISTORY] = '/collection-cases/{loanAccountNumber}/wa
API_URLS[ApiKeys.FEE_WAIVER_V2] = '/loan/request/{loanAccountNumber}/adjust-component/v2';
API_URLS[ApiKeys.CALL_CUSTOMER] = '/call';
API_URLS[ApiKeys.SYNC_ACTIVE_CALL_DETAILS] = '/call/sync-active-call-details';
API_URLS[ApiKeys.GET_CALL_HISTORY] = '/call/history';
export const API_STATUS_CODE = {
OK: 200,

View File

@@ -1,11 +1,11 @@
import { createSlice } from '@reduxjs/toolkit';
const initialState = {
phoneNumber: '98989898998',
referenceId: 'fdc99092-6155-438f-895e-81dc75d3efe0',
customerName: 'Test User',
phoneNumber: '',
referenceId: '',
customerName: '',
isCallActive: false,
caseId: '2875116',
caseId: '',
showConnectingToCustomerBottomSheet: false,
showCallCannotInitiateBottomSheet: false,
};