import { faker } from '@faker-js/faker';

export const paymentMethodData = {
  nickname: 'Amex Test Card',
  addCardSuccessfulMessage: 'The payment method was successfully created',
  editCardSuccessfulMessage: 'The payment method was successfully updated',
  deleteCardSuccessfulMessage: 'The payment method was successfully deleted',
  errormessage: 'We are unable to add your credit card',
  creditCard: {
    number: '378282246310005',
    cvc: '1234',
    _fullName: `${faker.name.firstName()} ${faker.name.lastName().replace(/'/g, '')}`,
    givenName: faker.name.firstName(),
    middleName: null,
    familyName: faker.name.lastName().replace(/'/g, ''),
    expirationYear: 2032,
    expirationMonthNumber: 12,
    expirationMonthName: 'Dec'
  },
  billingAddress: {
    addressLine1: '1501 Page Mill Road',
    addressLine2: 'Building 1',
    city: 'Palo Alto',
    state: 'California',
    postalCode: '94304',
    country: 'United States'
  },
  navanTexasBillingAddress: {
    addressLine1: '600 Congress Ave',
    addressLine2: 'Building 1',
    city: 'Austin',
    state: 'Texas',
    postalCode: '78701',
    country: 'United States'
  },
  navanBerlinBillingAddress: {
    addressLine1: 'Schinkestraße 20',
    addressLine2: '',
    city: 'Austin',
    state: 'Texas',
    postalCode: '12047',
    country: 'Germany'
  },
  errorMessage: {
    uatpcardError:
      'UATP cards may not be added to user profiles. Please contact your travel admin.'
  }
};
export const cardNumber: {
  visa: string;
  mastercard: string;
  amex: string;
  airplus: string;
  UATP: string;
} = {
  visa: '4242424242424242',
  mastercard: '5555555555554444',
  amex: '378282246310005',
  airplus: '192047481161445',
  UATP: '107521458132120'
};
