export const profileResponses = {
  getUserInfo: {
    success: {
      reference: 'usr_xxx',
      alias_reference: 'alias_xxx',
      user_infos: {
        name: 'Alioune Diop',
        email: 'al***@domain.com',
        ccphone: '+221',
        phone: '771234567',
        address: 'Dakar',
        town: 'Dakar',
        country: 'Senegal',
        image_url: 'https://...',
        auth_2fa: false,
      },
    },
    errors: {
      validation_error: {
        success: false,
        message: 'alias_reference requis',
      },
      missing_app_key: {
        success: false,
        message: 'Header X-IAM-App-Key requis',
      },
      app_not_found: {
        success: false,
        message: 'Application non trouvee ou inactive',
      },
      alias_not_found: {
        success: false,
        message: 'Alias non trouve',
      },
      user_not_found: {
        success: false,
        message: 'Utilisateur non trouve',
      },
      no_access: {
        success: false,
        message: 'Utilisateur sans acces a cette application',
      },
    },
  },

  refreshUserInfo: {
    single: {
      reference: 'usr_xxx',
      alias_reference: 'alias_xxx',
      user_infos: {
        name: 'Alioune Diop',
        email: 'al***@domain.com',
        ccphone: '+221',
        phone: '771234567',
        address: 'Dakar',
        town: 'Dakar',
        country: 'Senegal',
        image_url: 'https://...',
        auth_2fa: false,
      },
    },
    bulk: {
      total_requested: 2,
      total_found: 1,
      data: [
        {
          reference: 'usr_xxx',
          alias_reference: 'alias_xxx',
          user_infos: {
            name: 'Alioune Diop',
            email: 'al***@domain.com',
            ccphone: '+221',
            phone: '771234567',
            address: 'Dakar',
            town: 'Dakar',
            country: 'Senegal',
            image_url: 'https://...',
            auth_2fa: false,
          },
        },
      ],
      errors: [
        {
          alias_reference: 'alias_missing',
          error: 'Alias non trouve',
        },
      ],
    },
    errors: {
      validation_error: {
        success: false,
        message: 'Donnees invalides',
        errors: {
          secret_key: ['The secret key field is required.'],
        },
      },
      invalid_secret: {
        success: false,
        message: 'Secret key invalide ou application inactive',
      },
      not_found: {
        success: false,
        message: 'Utilisateur non trouve',
        alias_reference: 'alias_xxx',
      },
    },
  },
} as const;
