const endpoints = {
  auth: {
    login: 'auth/login',
    generate2FA: '/auth/googleAuthenticator/generate',
    verify2FA: '/auth/googleAuthenticator/verifyQr',
    verifyAccount: '/auth/verify_accountForAuth',
    verifyUser: '/auth/verify_account',

    register: '/auth/user/create',
    verifyEmailTokenEndpoint: '/auth/user/verify-email', // GET with query param
    decryptTokenEndpoint: '/auth/user/decrypt-token', // GET with path param
    resendOtpEndpoint: 'auth/user/resendOtp', // POST
    resendOtpCallEndpoint: '/auth/user/resendOtpCall', // POST
    sendOtpForEmailEndpoint: '/auth/user/verifyPhone', // POST
    updatePhoneNumberEndpoint: '/auth/user/editMobile/sendSms', // POST
    
    refresh: '/auth/refresh_token',
    resetPassword: '/auth/user/reset_password',
    generateNewPassword: '/auth/user/create_password/',
    generateOTP: '/auth/user/send_otp/',

    // document verify 
    documentVerify:'/auth/user/manual-kyc'
  },

  merchantApplication: {
    companyProfile: '/api/macp/',
    businessProfile: '/api/mabp/',
    companyOwnership: '/api/mobilemacop/',
    settlementBank: '/api/masbd/',
    securityMeasure: 'api/mobilemasm/',
    documents: '/api/maud/',
    contacts: '/api/mobilemamc/',
    currency:'/api/currency/',
    merchantcategory:'/api/mcc/',
    cardtype:'/api/cardtype/',

    // getApplicationStatus: '/api/application/status',
    getApplicationDetails: '/api/application-view/'
  },
  
pos: {
  vendor: {
    list: '/vendor',
    create: '/vendor/', 
    getbyid:'/vendor/',  
    update: '/vendor/',
    delete:'/vendor/',      
  },

  taxes: {
    list: '/productTax',        
    create: '/productTax/',
    getbyid:'/productTax/',
    update :'/productTax/',
    delete:'/productTax/'
  },

  category: {
    list: '/productCategory',
    create: '/productCategory/',
    getbyid:'/productCategory/',
    update:'/productCategory/',
    delete:'/productCategory/'
  },

  customer: {
    list: '/customer',
    create: '/customer/',
    getbyid:'/customer/',
    update:'/customer/',
    delete:'/customer/'
  },

  posOrder: {
      create: '/pos/order',
      get: '/pos/',
      payment: '/pos/complete-payment',
      updateQuantity: '/pos/updateQuantity/',
      removeItem: '/pos/',
      setupPin: '/pos/setup-pin',
      verifyPin: '/pos/verify/pin'
    },
  
    products: '/product',
    product: '/product/',
    addStock: '/productVariation/addStock/',
    productbasicdetails: '/product/products/',
    productVariations: '/product/variations/',
    productSpecifications: '/product/specifications/',
    variationImage: '/productVariationImage/sImages/file/'
},

  virtualTerminal: {
    create: '/posVT/payment',
    get: '/virtual_terminal/get',
    update: '/virtual_terminal/update',
    delete: '/virtual_terminal/delete',
    list: '/virtual_terminal/list'
  },
  permission: {
    getAll: '/permission/get'
  },
  rolePermission: {
    endpoint: '/userpermission'
  },
  userManagement: {
    endpoint: '/sub_user/',
    getAll: '/sub_user'
  }
}

export default endpoints
