<?php namespace App\Services\ServiceResponse;

interface ServiceResponseInterface
{
    const SUCESS = 1;
    const RECORD_NOT_FOUND = 2;
    const INSUFFICIENT_DATA = 3;
    const RECORD_IS_LINKED = 4;
    const DATABASE_CONNECTION_ERROR = 5;
    const VALIDATION_PARAMS_ERROR = 6;
    const JWT_TOKEN_NOT_FOUND = 7;
    const EMAIL_NOT_VERIFIED = 8;
    const USER_DEACTIVATED = 9;
    const UNKNOWN_ERROR = 10;
    const TOKEN_EXPIRED = 11;
    const SERVICE_INTERNAL_ERROR = 12;
    const REQUEST_ALREADY_COMPLETED = 13;
    const EXTERNAL_SERVICE_UNAVAILABLE = 14;
    const UNAUTHORIZED = 15;
    const HAVE_CONFLICTS = 16;
    const PARTIAL_SUCESS = 17;
    const FORBIDDEN = 18;
    const ERROR_DELETING = 50;
    const ERROR_UPDATE = 51;
    const FOREIGN_KEY_DONT_EXISTS = 52;
}