Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/ONYXKEYS.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,6 @@ export default {
// Set when we are loading payment methods
IS_LOADING_PAYMENT_METHODS: 'isLoadingPaymentMethods',

// The number of minutes a user has to wait for a call.
INBOX_CALL_USER_WAIT_TIME: 'inboxCallUserWaitTime',

// Is report data loading?
IS_LOADING_REPORT_DATA: 'isLoadingReportData',

Expand All @@ -179,7 +176,6 @@ export default {
// List of Form ids
FORMS: {
ADD_DEBIT_CARD_FORM: 'addDebitCardForm',
REQUEST_CALL_FORM: 'requestCallForm',
REIMBURSEMENT_ACCOUNT_FORM: 'reimbursementAccount',
WORKSPACE_SETTINGS_FORM: 'workspaceSettingsForm',
CLOSE_ACCOUNT_FORM: 'closeAccount',
Expand Down
2 changes: 0 additions & 2 deletions src/ROUTES.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ export default {
getWorkspaceInvoicesRoute: policyID => `workspace/${policyID}/invoices`,
getWorkspaceTravelRoute: policyID => `workspace/${policyID}/travel`,
getWorkspaceMembersRoute: policyID => `workspace/${policyID}/members`,
getRequestCallRoute: taskID => `request-call/${taskID}`,
REQUEST_CALL: 'request-call/:taskID',

/**
* @param {String} route
Expand Down
29 changes: 0 additions & 29 deletions src/languages/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -1063,35 +1063,6 @@ export default {
questionMarkButtonTooltip: 'Get assistance from our team',
exploreHelpDocs: 'Explore help docs',
},
requestCallPage: {
title: 'Request a call',
subtitle: 'Need help, or a demo?',
description: 'Our team is ready to help each step of the way. Enter your name and phone number, and we\'ll give you a call back ASAP.*',
phoneNumberExtension: 'Extension (Optional)',
callMe: 'Call me',
growlMessageOnSave: 'Call requested.',
callButton: 'Call',
callButtonTooltip: 'Get live help from our team',
blockedFromConcierge: 'Due to previous interactions with our staff, a call cannot be scheduled at this time.',
waitTime: {
calculating: 'Calculating wait time...',
fiveHoursPlus: 'The current wait time is longer than 5 hours.',
hoursAndMinutes: ({minutes}) => `The current wait time is ${Math.floor(minutes / 60)} hours and ${minutes % 60} minutes. `,
minutes: ({minutes}) => `The current wait time is ${minutes} minutes. `,
weekend: 'We have limited availability on the weekends. We\'ll give you a call back as soon as we can. ',
guides: 'Please note that our Guides are typically available from Sunday at 5pm CT to Friday at 5pm CT.',
},
error: {
phoneNumberExtension: 'Please enter a valid phone extension number',
firstName: 'Please provide your first name',
lastName: 'Please provide your last name',
},
},
requestCallConfirmationScreen: {
callRequested: 'Call successfully requested!',
allSet: 'You’re all set. You will be receiving a call from us soon.',
gotIt: 'Got it',
},
emojiPicker: {
skinTonePickerLabel: 'Change default skin tone',
headers: {
Expand Down
29 changes: 0 additions & 29 deletions src/languages/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -1065,35 +1065,6 @@ export default {
questionMarkButtonTooltip: 'Obtén ayuda de nuestro equipo',
exploreHelpDocs: 'Explorar la documentación de ayuda',
},
requestCallPage: {
title: 'Llámame por teléfono',
subtitle: '¿Necesitas ayuda o una demostración?',
description: 'Nuestro equipo está listo para ayudarte en cada paso. Ingresa tu nombre y número de teléfono y te llamaremos lo antes posible.*',
phoneNumberExtension: 'Extensión (Opcional)',
callMe: 'Llámame',
growlMessageOnSave: 'Llamada solicitada.',
callButton: 'Llamar',
callButtonTooltip: 'Recibe ayuda telefónica de nuestro equipo',
blockedFromConcierge: 'Debido a sus interacciones pasadas con nuestro equipo, la llamada no puede ser agendada en este momento.',
waitTime: {
calculating: 'Calculando el tiempo de espera...',
fiveHoursPlus: 'El tiempo de espera actual es superior a 5 horas.',
hoursAndMinutes: ({minutes}) => `El tiempo de espera actual es de ${Math.floor(minutes / 60)} horas y ${minutes % 60} minutos. `,
minutes: ({minutes}) => `El tiempo de espera actual es de ${minutes} minutos. `,
weekend: 'Tenemos disponibilidad limitada los fines de semana. Te devolveremos la llamada tan pronto como podamos.',
guides: 'Tenga en cuenta que nuestras guías suelen estar disponibles desde el domingo a las 5pm CT hasta el viernes a las 5pm CT.',
},
error: {
phoneNumberExtension: 'Por favor, introduce una extensión telefónica válida',
firstName: 'Por favor, ingresa tu nombre',
lastName: 'Por favor, ingresa tus apellidos',
},
},
requestCallConfirmationScreen: {
callRequested: '¡Llamada solicitada con éxito!',
allSet: '¡Todo listo! Pronto recibirás una llamada nuestra.',
gotIt: 'Entendido',
},
emojiPicker: {
skinTonePickerLabel: 'Elige el tono de piel por defecto',
headers: {
Expand Down
6 changes: 0 additions & 6 deletions src/libs/Navigation/AppNavigator/AuthScreens.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,12 +303,6 @@ class AuthScreens extends React.Component {
component={ModalStackNavigators.AddPersonalBankAccountModalStackNavigator}
listeners={modalScreenListeners}
/>
<RootStack.Screen
name="RequestCall"
options={modalScreenOptions}
component={ModalStackNavigators.RequestCallModalStackNavigator}
listeners={modalScreenListeners}
/>
<RootStack.Screen
name="IOU_Send"
options={modalScreenOptions}
Expand Down
9 changes: 0 additions & 9 deletions src/libs/Navigation/AppNavigator/ModalStackNavigators.js
Original file line number Diff line number Diff line change
Expand Up @@ -510,14 +510,6 @@ const ReimbursementAccountModalStackNavigator = createModalStackNavigator([{
name: 'ReimbursementAccount_Root',
}]);

const RequestCallModalStackNavigator = createModalStackNavigator([{
getComponent: () => {
const RequestCallPage = require('../../../pages/RequestCallPage').default;
return RequestCallPage;
},
name: 'RequestCall_Root',
}]);

const WalletStatementStackNavigator = createModalStackNavigator([{
getComponent: () => {
const WalletStatementPage = require('../../../pages/wallet/WalletStatementPage').default;
Expand All @@ -542,6 +534,5 @@ export {
EnablePaymentsStackNavigator,
AddPersonalBankAccountModalStackNavigator,
ReimbursementAccountModalStackNavigator,
RequestCallModalStackNavigator,
WalletStatementStackNavigator,
};
5 changes: 0 additions & 5 deletions src/libs/Navigation/linkingConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,11 +260,6 @@ export default {
EnablePayments_Root: ROUTES.ENABLE_PAYMENTS,
},
},
RequestCall: {
screens: {
RequestCall_Root: ROUTES.REQUEST_CALL,
},
},
Wallet_Statement: {
screens: {
WalletStatement_Root: ROUTES.WALLET_STATEMENT_WITH_DATE,
Expand Down
9 changes: 0 additions & 9 deletions src/libs/ValidationUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,14 +317,6 @@ function isValidTwoFactorCode(code) {
return Boolean(code.match(CONST.REGEX.CODE_2FA));
}

/**
* @param {String} input
* @returns {Boolean}
*/
function isPositiveInteger(input) {
return CONST.REGEX.POSITIVE_INTEGER.test(input);
}

/**
* Checks whether a value is a numeric string including `(`, `)`, `-` and optional leading `+`
* @param {String} input
Expand Down Expand Up @@ -446,7 +438,6 @@ export {
validateIdentity,
isValidPassword,
isValidTwoFactorCode,
isPositiveInteger,
isNumericWithSpecialChars,
isValidPaypalUsername,
isValidRoutingNumber,
Expand Down
82 changes: 0 additions & 82 deletions src/libs/actions/Inbox.js

This file was deleted.

Loading