<?php

namespace Itgalaxy\Elementor\Form\Infusionsoft\Integration\Includes;

class CrmFields
{
    /**
     * @var array[]
     */
    public $contact;

    public function __construct()
    {
        $this->contact = [
            'given_name' => [
                'group' => '',
                'label' => esc_html__('First Name', 'el-pro-form-infusionsoft-integration'),
                'separator' => 'before',
            ],
            'family_name' => [
                'group' => '',
                'label' => esc_html__('Last Name', 'el-pro-form-infusionsoft-integration'),
            ],
            'middle_name' => [
                'group' => '',
                'label' => esc_html__('Middle Name', 'el-pro-form-infusionsoft-integration'),
            ],
            'EMAIL1' => [
                'group' => 'email_addresses',
                'label' => esc_html__('Email', 'el-pro-form-infusionsoft-integration'),
            ],
            'PHONE1' => [
                'group' => 'phone_numbers',
                'label' => esc_html__('Phone 1', 'el-pro-form-infusionsoft-integration'),
            ],
            'job_title' => [
                'group' => '',
                'label' => esc_html__('Job Title', 'el-pro-form-infusionsoft-integration'),
            ],
            'contact_type' => [
                'group' => '',
                'label' => esc_html__('Person Type', 'el-pro-form-infusionsoft-integration'),
            ],
            'owner_id' => [
                'group' => '',
                'label' => esc_html__('Owner (ID)', 'el-pro-form-infusionsoft-integration'),
            ],
            'FAX1' => [
                'group' => 'fax_numbers',
                'label' => esc_html__('Fax 1', 'el-pro-form-infusionsoft-integration'),
            ],
            'line1' => [
                'group' => 'addresses',
                'label' => esc_html__('Street Address 1', 'el-pro-form-infusionsoft-integration'),
            ],
            'line2' => [
                'group' => 'addresses',
                'label' => esc_html__('Street Address 2', 'el-pro-form-infusionsoft-integration'),
            ],
            'locality' => [
                'group' => 'addresses',
                'label' => esc_html__('City', 'el-pro-form-infusionsoft-integration'),
            ],
            'region' => [
                'group' => 'addresses',
                'label' => esc_html__('State', 'el-pro-form-infusionsoft-integration'),
            ],
            'zip_code' => [
                'group' => 'addresses',
                'label' => esc_html__('Zip Code (part 1)', 'el-pro-form-infusionsoft-integration'),
            ],
            'zip_four' => [
                'group' => 'addresses',
                'label' => esc_html__('Zip Code (part 2)', 'el-pro-form-infusionsoft-integration'),
            ],
            'country_code' => [
                'group' => 'addresses',
                'label' => esc_html__('Country Code', 'el-pro-form-infusionsoft-integration'),
                'description' => esc_html__('i.e. value like RUS, USA, AU, IN, GBR...', 'el-pro-form-infusionsoft-integration'),
            ],
            'website' => [
                'group' => '',
                'label' => esc_html__('Website', 'el-pro-form-infusionsoft-integration'),
            ],
            'Facebook' => [
                'group' => 'social_accounts',
                'label' => esc_html__('Facebook', 'el-pro-form-infusionsoft-integration'),
            ],
            'Twitter' => [
                'group' => 'social_accounts',
                'label' => esc_html__('Twitter', 'el-pro-form-infusionsoft-integration'),
            ],
            'Linkedin' => [
                'group' => 'social_accounts',
                'label' => esc_html__('Linkedin', 'el-pro-form-infusionsoft-integration'),
            ],
        ];
    }
}
