module.exports = Object.freeze({
  RIS_CODE_TODO_CREATING_NOTMYUSER: -1001,
  RIS_CODE_NOT_MY_USERNAME: -1010,

  RIS_CODE_ERR: -99,
  RIS_CODE_EMAIL_ALREADY_VERIFIED: -5,
  RIS_CODE_EMAIL_VERIFIED: 1,

  RIS_CODE_AMMESSO: 1,
  RIS_CODE_GIA_AMMESSO: -5,

  RIS_CODE_REC_DUPLICATED_DESCR_CITY_USER: -110,
  RIS_CODE_REC_ALREADY_EXIST_SYMBOL: -102,
  RIS_CODE_REC_ALREADY_EXIST_CODE: -101,
  RIS_CODE_REC_ALREADY_EXIST_NAME: -100,
  RIS_CODE_USER_APORTADOR_NOT_VALID: -75,
  RIS_CODE_USER_EXTRALIST_NOTFOUND: -70,
  RIS_CODE_USERNAME_ALREADY_EXIST: -60,
  RIS_CODE_USERNAME_NOT_VALID: -65,
  RIS_CODE_BANIP: -63,
  RIS_CODE_EMAIL_ALREADY_EXIST: -50,
  RIS_CODE_USER_ALREADY_EXIST: -48,
  RIS_CODE_EMAIL_NOT_EXIST: -45,
  RIS_CODE_EMAIL_NOT_SENT: -40,
  RIS_CODE_ERR_UNAUTHORIZED: -30,
  RIS_CODE_LOGIN_ERR_GENERIC: -20,
  RIS_CODE_LOGIN_ERR: -10,
  RIS_CODE_LOGIN_ERR_SUBACCOUNT: -8,
  RIS_CODE_OK: 1,

  RIS_CODE_LOGIN_OK: 1,
  RIS_ISCRIZIONE_OK: 5,

  RIS_CODE_HTTP_INVALID_TOKEN: 401,
  RIS_CODE_HTTP_FORBIDDEN_PERMESSI: 403,
  RIS_CODE_HTTP_TOKEN_EXPIRED: 408,

  RIS_CODE_TOKEN_RESETPASSWORD_NOT_FOUND: -23,

  RIS_SUBSCRIBED_OK: 1,
  RIS_SUBSCRIBED_ALREADYEXIST: 2,
  RIS_SUBSCRIBED_ERR: -1,
  RIS_SUBSCRIBED_STR: 'subscribed',

  RIS_UNSUBSCRIBED_OK: 5,
  RIS_UNSUBSCRIBED_STR: 'unsubscribed',
  RIS_UNSUBSCRIBED_NOT_EXIST: -5,
  RIS_UNSUBSCRIBED_ALREADY_DONE: -10,

  MenuAction: {
    DELETE: 100,
  },

  RIS_SUBSCRIBED_MSG: {
    enUs: 'Subscription to the Newsletter Confirmed!',
    es: 'Suscripción al boletín confirmado!',
    it: 'Sottoscrizione alla Newsletter Confermata!',
    fr: 'Inscription à la newsletter confirmée!',
    de: 'Anmeldung zum Newsletter bestätigt!',
  },
  RIS_SUBSCRIBED_MSG_ALREADYEXIST: {
    enUs: 'Subscription already made!',
    es: 'Suscripción ya realizada!',
    it: 'Sottoscrizione già effettuata!',
    fr: 'Abonnement déjà fait!',
    de: 'Abonnement bereits gemacht!',
  },
  RIS_SUBSCRIBED_MSG_FAILED: {
    enUs: 'Sign Up Failed :(',
    es: 'Suscripción al boletín fallido',
    it: 'Sottoscrizione alla Newsletter Fallita',
    fr: 'Abonnement à la newsletter en échec',
    de: 'Abonnement des fehlgeschlagenen Newsletters',
  },

  RIS_UNSUBSTR_NOT_EXIST: {
    enUs: 'Subscription email not found!',
    es: 'Suscripción email no encontrada!',
    it: 'Sottoscrizione Email non trovata!',
    fr: 'Abonnement courriel introuvable!',
    de: 'E-Mail-Abonnement nicht gefunden!',
  },

  RIS_UNSUB_ERROR_FAILED: {
    enUs: 'Unsubscribed Failed :(',
    es: 'Desuscripción al boletín fallido',
    it: 'Desottoscrizione alla Newsletter Fallita',
    fr: 'Désabonnement à la newsletter en échec',
    de: 'Abmeldung des fehlgeschlagenen Newsletters',
  },

  RIS_UNSUBSCRIBED_MSG_ALREADY_DONE: {
    enUs: 'Unsubscription already made!',
    es: 'Unsuscripción ya realizada!',
    it: 'Desottoscrizione già effettuata!',
    fr: 'Désabonnement déjà fait!',
    de: 'Abmeldung bereits gemacht!',
  },

  LIST_END: '10000000',
  LIST_START: null,

  PREFIX_IMG: 'm_',
  PREFIX_IMG_SMALL: 'sm_',

  DIR_UPLOAD: '/upload', //'/upload'
  DIR_PUBLIC_LOCALE: '/public',

  Privacy: {
    all: 'all',
    friends: 'friends',
    mygroup: 'mygroup',
    onlyme: 'onlyme',
    inherited: 'inherited',
  },

  TypeProj: {
    TYPE_PROJECT: 1,
    TYPE_SUBDIR: 2,
  },

  User_Fields: ['name', 'surname', 'news_on', 'profile'],

  FILECONFIG_SERVER: 'lists_serverconfig.txt',
});
