<?php

$ACCOUNT_INFORMATION = 1;
$file_size_in_kb = 1024;
return [
    'MAIN_DIR'=>'resources',
    'CREDIT_REPORT_CONTENT_PATH'=>'credit_report',
    'CONTENT_DIR'=>'content',
    'UPLOAD_MEDIA_PATH'=>'medias',
    'REPORT_SOURCE_TYPES'=>['1'=>'Identity IQ','3'=>'SmartCredit'],
    'PDF_LIB_PATH'=>env('PDF_LIB_PATH'),
    'IDENTIFICATION_IMAGE_ID'=>1,
    'MAIL_DOC_IMAGE_ID'=>2,
    'SSN_IMAGE_ID'=>3,
    'STATE_PHOTO_IMAGE_ID'=>4,
    'NOTARIZED_LETTER_IMAGE_ID'=>5,
    'CR_REPORT_IMAGE_ID'=>6,
    'TROUBLE_MARK_FILE_IMAGE_ID'=>7,
    'ITEM_CHALLENGE_FILE_IMAGE_ID'=>8,
    'PROFILE_PIC_FILE_IMAGE_ID'=>9,

    // Api
    'API_VALIDATION_FAILED'=>402,
    'API_SUCCESS_CODE'=>100,
    'API_FAILED_CODE'=>400,
    'OTP_SUCCESS_CODE'=>105,

    // Payment gateway code
    'PAYMENT_GATEWAY'=>[
        'NMI'=>'nmi'
    ],

    // sale status
   'SALE_STATUS'=>[
       'PENDING'=>2,
       'COMPLETED'=>1,
       'FAILED'=>0
   ],

    // package
    'package'=>[
        '1'=>'BASIC',
        '2'=>'PREMIUM'
    ],

    // report type
    'reportType'=>[
        'SMART_CREDIT'=>3,
        'IDENTITY_IQ'=>1,
        'PRIVACY_GUARD'=>2,
    ],

    // source type
    'sourceType'=>[
        'Identity IQ'=>1,
//        'SmartCredit'=>3,

    ],

    'PACKAGE_INTERVAL_DAY'=>45,
    'PAYMENT_INTERVAL_DAY'=>30,
    'TRAINING_VIDEO'=>"https://www.youtube.com/watch?v=OEEpSjnX3-M",
    'LINK_VALIDATION'=>"/https:\/\/www\.youtube\.com\/watch\?v=[^&]+/",
    'VIMEO_VIDEO_LINK_VALIDATION' => "/(https?:\/\/)?(www\.)?(player\.)?vimeo\.com\/?(showcase\/)*([0-9))([a-z]*\/)*([0-9]{6,11})[?]?.*/",
    'REPORT_PROVIDER_LINK_VALIDATION' => "/^https?:\\/\\/(?:www\\.)?[-a-zA-Z0-9@:%._\\+~#=]{1,256}\\.[a-zA-Z0-9()]{1,6}\\b(?:[-a-zA-Z0-9()@:%_\\+.~#?&\\/=]*)$/",
    'SECTION_IDS'=>[
        'ACCOUNT_INFORMATION'=>$ACCOUNT_INFORMATION
    ],

    // section
    'SECTION_NAME'=>[
        $ACCOUNT_INFORMATION =>'Account Information'
    ],

    'MAX_WAVE'=> 6,
    'PAGINATION_LIMIT'=>10,
    //subscription status
      'SUBSCRIPTION_STATUS'=>[
                'SUBSCRIBED'=>1,
                'UNSUBSCRIBED'=>0,
                'CANCEL_ACCOUNT'=>2
            ],
    //report import status
    'IMPORT_REPORT_STATUS'=>[
        'ELIGIBLE'=>1,
        'NOT_ELIGIBLE'=>0
    ],
    // Sales Status
    'SALES_STATUS'=>[
        '0'=>'Failed',
        '1'=>'Completed',
        '2'=>'Pending',
    ],
    'SUBSCRIPTION_SMART_CREDIT'=>[
        'DELETE' => 'CLOSE_IMMEDIATE',
        'UNSUBSCRIBE' => 'PAUSE',
        'SUBSCRIBE' => 'RESUME'
        ],
    'MAX_TIME_LIMIT'=> 180,
    'MAX_FILE_SIZE' => 3 * $file_size_in_kb, // in KB
    'GO_TO_SMART_CREDIT_URL' => 'https://www.smartcredit.com/?PID=11885',
    'GO_TO_IDENTITY_IQ_URL' => 'https://member.identityiq.com/creditpreferred.aspx?offercode=431141CQ',

    'ACCOUNT_STATUS'=>[
        'Active' => 1,
        'Inactive' => 2,
        'Canceled' => 3,
    ],
    'PAYMENT_STATUS'=>[
        '1'=>'Success',
        '0'=>'Failed'
    ],

    'authorized_log_viewer_emails'=>[
        'jesse@clickletters.com',
        'cce_support@gmail.com'
    ],

    'DAY_OF_MONTH' => 30,
    'MONTH_FREQUENCY' => '1-1',
    'PLAN_AMOUNT' => 24.97,
    'PLAN_PAYMENTS' => 0,
    'MAX_PDF_COUNT' => 100,
    'MAX_PDF_COUNT_MESSAGE' => "Oops! Looks like you're trying to process more than 50 letters, Are you sure you need to challenge this many Items? Please Double Check The how-to video To Make Sure You Want To Move Forward To Challenge All Items Listed. If You Want to Continue To Process All The Letters Then Continue",
    'MIN_PDF_COUNT_VALUE' => 50,
    'VIDEO_URL'=>'https://player.vimeo.com/video/866175115?badge=0&amp;autopause=0&amp;quality_selector=1&amp;progress_bar=1&amp;player_id=0&amp;app_id=58479',
    'TECHNICAL_SUPPORT'=>'https://www.clickmailedit.com/optin1615051099402',
    'SUPPORT_PRIORITY'=>[
         1=> 'Normal',
         2 => 'High',
         3 => 'Very High',
         4 => 'Urgent',
    ],
    'SUPPORT_STATUS'=>[
          0 => 'Open',
          1 => 'In progress',
          2 => 'Closed',
          3 => 'Replied',
    ],
    'USER_TYPE'=>[
        'EMPLOYEE' => 2,
        'CLIENT' => 0,
        'ADMIN' => 1,
    ],
    'SCRAPPER_RESPONSE' =>[
        'ERROR' => 'Email or Password do not match in credit report provider.',
        'TIME_OUT' => 'Email or Password do not match in credit report provider.',
        'INVALID_LOGIN' => 'Email or Password do not match in credit report provider.',
        'ACCOUNT_LOCKED' => 'This account is locked. Please contact customer service at 877-875-IDIQ (4347).'
    ]

];
