README.md

Все константы amoCRM

left_menu

{
    "customers": {
        "all": {
            "label": "Открытые покупатели",
            "link": "/customers/pipeline/",
            "sort": 1000
        },
        "my": {
            "label": "Только мои покупатели",
            "link": "/customers/pipeline/?filter[main_user][]=7123104&useFilter=y&sel=complited",
            "sort": 2000
        },
        ....
    },
    "settings": {
        "account": {
            "label": "Общие настройки",
            "link": "/settings/",
            "selected": false
        },
        "pay": {
            "label": "Счет и оплата",
            "link": "/settings/pay/",
            "selected": false
        },
        "users": {
            "label": "Пользователи",
            "link": "/settings/users/",
            "selected": false
        },
        ....
    },
    "amo_market": {....},
    "_support": {....},
    "stats": {....}
}

ip_info

{
    country_code: "RU"
}

server

"serversru"

session_token

"SkAcQeu4yljwuJ6P2u8i3INTabWTmty1LKqNYjwYq1OKdjxop6CiZ0rKI18UJPn7"

periodicity_enabled

" "

account

{
    id                                 : 8324062
    cf                                 : {}
    name                               : "Команда F5"
    users                              : {}
    country                            : "RU",
    version                            : 14,
    pay_type                           : "paid",
    timezone                           : "Europe/Moscow",
    language                           : "ru",
    currency                           : "RUB",
    subdomain                          : "cmdf5"
    paid_from                          : 1590343200,
    paid_till                          : 2137006800,
    tariffName                         : "",
    date_format                        : "d.m.Y",
    time_format                        : "H:i:s",
    unsorted_on                        : "Y",
    date_pattern                       : "d.m.Y H:i",
    predefined_cf                      : {}
    customers_enabled                  : true,
    is_contact_name_display_order_first: true,
    is_chats_inbox_available           : false,
    is_chats_inbox_enabled             : false,
    nps_enabled                        : true,
    catalogs_available                 : true,
    products                           : { enabled: true, catalog_id: 6897 },
    invoices                           : { enabled: true, catalog_id: 8245 },
    suppliers                          : { enabled: true, catalog_id: 8275 },
    helpbot_enabled                    : true,
    amojo_id                           : "3fbc76d0-a013-4de0-8169-d82618dd4f9d",
    amojo_server                       : "https://amojo.amocrm.ru",
    amojo_enabled                      : true,
    amojo_rights                       : { can_direct: true, can_group_create: true },
    talks_auto_close_delay             : 0,
    notifications_enabled              : true,
    stand                              : "v14",
    amo_messenger                      : { direct_migrated: false, amo_id: null },
    top_level_domain                   : "ru",
    is_rpa_available                   : false,
    is_retail_functions_enabled        : true,
    is_need_proxy                      : false,
}

env

"production"

dp

triggers_available: true,
auth_token: "",

entity_names

{
    {{Invoices.plural_form.accusative}}: "Счета/покупки",
    {{Invoices.plural_form.dative}}       : "Счетам/покупкам"
    {{Invoices.plural_form.default}}      : "Счета/покупки"
    {{Invoices.plural_form.genitive}}     : "Счетов/покупок"
    {{Invoices.plural_form.instrumental}} : "Счетами/покупками"
    {{Invoices.plural_form.prepositional}}: "Счетах/покупках"
    {{Invoices.singular_form.accusative}} : "Счет/покупку"
    ......
}

amomail

{
    enabled    : true,
    status     : 1,
    server_base: "https://amomail.amocrm.ru",
    auth_token : "",
    bcc_domain : "mail.amocrm.ru",
    mailboxes  : { active: 0, smtp_supports: 0 },
}

google_embed_maps_api_key

"NhfDast_osuX6qrM3ENbsqKrx7wXxFFAKwT4a8d"

unsorted_token

"Yhu4g0GcmxfhdqdfUXXB1iWO0ZALrVe19HpOTk4TrVgEtW7qTKutXZjt9GqgmJkF:zP33xuQ3G6vIZf2Ic8OVSEnGQY"

amoforms

{
    types: { default: 1, wordpress: 2 }
}

features

{
    inbox                          : false,
    broadcasting                   : false,
    super_custom_fields            : false,
    phone_separated_chats          : false,
    bots_triggers                  : false,
    dp_onboarding                  : false,
    talks_search                   : false,
    global_chat_control            : false,
    extended_messaging_in_bot      : false,
    create_buttons_in_template     : false,
    extended_tag_conditions        : false,
    favorite_suggestions           : false,
    global_marketplace             : false,
    bots_import_and_export         : false,
    helpbot_change_language        : false,
    show_limits_exceeded_modal     : false,
    chats_onboarding_whatsapp_slide: false,
    global_metrics                 : false,
}

user

{
    uuid           : "0d8810c8-cbb4-11ec-ba66-7e36410db850",
    id             : 8158474,
    name           : "Владислав Кошелев",
    login          : "v.koshelev@f5.com.ru",
    api_key        : "ksWT2ORveBKbTj67lJJt18hJgruB0YJv6YXs9qy3",
    personal_mobile: null,
    amojo_id       : "c46d3cbc-6b50-4a08-94df-c29291f0cf5f",
    group_mates_ids: [1310640, 2739861, 2787376],
    settings: {
        layout_width: {
            leads    : { width: 50 },
            contacts : { width: 30 },
            companies: { width: 46.6667 },
            customers: { width: "" },
            unsorted : { width: "" },
        },
        feed_filter: {
            leads: {
                chats : [1, 2],
                linked: [1, 3],
                types : [14, 17],
            },
        },
        notify_time_before_task  : 300,
        default_task_preset      : "",
        need_msec                : false,
        is_not_show_bot_templates: false,
    }
}

version_backend

"V14.1"

version

"02aeecf4d5eff0c907dd17b04e8871a3"

user_rights

'{"contacts":
    {
        "CONTACT":{
            "add":true,"add_company":true,"edit":true,"delete":true,"import":true,"export":true,"reassign":true,"add_task":true,"manage_tags":true,"has_multi":true,"view":true,"view_company":true,"merge":true
        },
        "COMPANY":{
            "add":true,"add_company":true,"edit":true,"delete":true,"import":true,"export":true,"reassign":true,"add_task":true, .... 
        },
        .... 
    }'
    ....
}'

managers

{        
    129580:{
        active        : true
        amo_profile_id: null
        amojo_id      : "f866a135-3480-4ef4-b053-7200a7480ec5"
        avatar        : ""
        free_user     : "N"
        group         : "group_193290"
        id            : "129580"
        is_admin      : "Y"
        login         : "info@comf5.ru"
        option        : "info Александр Мыгаков"
        status        : "OK"
        title         : "info Александр Мыгаков"
    }
    ....
}

free_users

{}

groups

{
    group_0     : "Отдел продаж"
    group_79110 : "Александр Соболев"
    group_193290: "Администрация"
    group_261468: "Максимов Денис"
    group_270432: "Сопровождение"
    group_298986: "Разработка"
    group_301080: "Тех. поддержка"
    group_317295: "Детушев Андрей"
    group_317463: "Бесплатные пользователи"
    ....
}

limits

{
    catalogs: 10
}

notifications

{
    url_start: "https://notifications.amocrm.ru",
    url_ws   : "wss://notifications.amocrm.ru",
    url_ws_2 : "wss://ws.amocrm.ru/vladcomf5ru/v2/rtm?stand=v14",
}

social_apps

{
    facebook: 971504582995457
}

amojo_origins

{
    amocrm: {
        code       : "amocrm",
        name       : "AmoCRM",
        icon       : null,
        client_uuid: null,
        private    : 1,
    },
    facebook: {
        code       : "facebook",
        name       : "Facebook",
        icon       : "/frontend/images/interface/svg/common/facebook-sm.svg",
        client_uuid: null,
        private    : 1,
    },
    instagram_business: {
        code       : "instagram_business",
        name       : "Instagram",
        icon       : "/frontend/images/interface/svg/common/instagram.svg",
        client_uuid: null,
        private    : 1,
    },
    telegram: {
        code       : "telegram",
        name       : "Telegram",
        icon       : "/frontend/images/interface/svg/common/telegram-sm.svg",
        client_uuid: null,
        private    : 1,
    },
    viber: {
        code       : "viber",
        name       : "Viber",
        icon       : "/frontend/images/interface/svg/common/viber-sm.svg",
        client_uuid: null,
        private    : 1,
    },
    vk: {
        code       : "vk",
        name       : "VK",
        icon       : "/frontend/images/interface/svg/common/vk-sm.svg",
        client_uuid: null,
        private    : 1,
    },
    ....
}

amojo_bots

{
    "cfc4a8b7-46ae-11e7-b0dc-5254001b80b2": {
        id    : "cfc4a8b7-46ae-11e7-b0dc-5254001b80b2",
        name  : "Salesbot",
        code  : "amo.support",
        direct: true,
    },
    ....
}

main_pipeline

1363351

leads_sources_types

{
    1 : "form",
    3 : "fb_form",
    11: "vk_form",
    4 : "mail",
    10: "mail_parser",
    2 : "chat",
    5 : "widget",
    6 : "button",
    7 : "cbh",
    8 : "wordpress",
    9 : "unknown",
    12: "onlinechat",
    13: "parser",
    14: "google_sheets",
    15: "engagement_page",
    16: "integration",
    17: "api",
}

unsorted_statuses

{
    23061565: 23061565,
    23517415: 23517415,
    36873685: 36873685,
    42111754: 42111754,
    47611489: 47611489,
}

unsorted_categories

{
    2: "mail",
    1: "sip",
    3: "forms",
    4: "chats",
}

show_old_tour

1

amo_messenger

{
    enabled: false,
    wss_url: "wss://ws.amo.tm",
    api_url: "https://api.amo.tm",
    crm: { provider_uuid: "b079cfa1-b8ac-451e-b526-afb865b8228f" },
}

doubles

[]

amo_object_id

null

amojo_chats

{}

widgets_by_area

{
    widgets: {
        f5_tasker:{
            init_once: "N",
            integration_supported_features: {
                duplication_control: false,
                multiple_sources   : false,
            },
            support: {
                link          : "https://cmdf5.ru/",
                name          : "\u041a\u043e\u043c\u0430\u043d\u0434\u0430 F5",
                email         : "widget@comf5.ru",
                privacy_policy: "https://cmdf5.ru/privacy",
            },
            id               : 629689,
            src              : "/widgets/f5_tasker/7/script.js",
            lang             : "/widgets/f5_tasker/7/i18n/ru.json",
            path             : "/widgets/f5_tasker/7",
            templates        : "/widgets/f5_tasker/7/tmpl",
            installed_version: "7",
            category_id      : 7,
            oauth_client_uuid: "de695af2-c8e1-48a1-b53a-65fc8181e3d4",
            name             : "Tasker",
            description      : "",
            short_description: "Виджет производит математические операции над полями",
            status           : "installed",
            active           : "Y",
            settings         : '{"token":"elPFvklX0GP5VIxqDl","widget_id":"100"}',
        },
        ....
    }
    system: {
        amohash                : ""
        amouser                : "atlf5@yandex.ru"
        amouser_id             : 8411932
        area                   : "lcard"
        displayed_count        : 0
        displayed_count_by_area: {
            advanced-settings: 9
            card_sdk         : 1
            companies_card   : 2
            contacts         : 1
            contacts_card    : 3
            customers_card   : 1
            digital_pipeline : 9
            leads            : 1
            leads_card       : 5
            salesbot_designer: 3
            todo             : 1
            widgetsSettings  : 14
        }            
        domain   : "atlf5.amocrm.ru"
        server   : "https://widgets.amocrm.ru"
        subdomain: "atlf5"
    }
}

card_id

26124409

card_element_type

2

card_element

{
    id                      : 34797769,
    name                    : "1",
    main_user_id            : 6976176,
    group_id                : 0,
    date_create             : 1658586969,
    date_modify             : 1658586993,
    timestamp_x             : 1658586993,
    created_by              : { id: 6976176, name: "Анатолий Леонтьев" },
    modified_by             : { id: 6976176, name: "Анатолий Леонтьев" },
    price                   : "6",
    status                  : 21776224,
    pipeline_id             : 1363351,
    company_uid             : null,
    date_close              : null,
    loss_reason_id          : 0,
    source_id               : null,
    metadata                : null,
    detail_page_url         : "/private/deals/edit.php?ID=34797769",
    detail_page_url_redesign: "/leads/detail/34797769",
    tags                    : [""],
    modified_by_name        : "Анатолий Леонтьев",
    raw_price               : 6,
    price_placeholder       : "6",
    contacts                : [""],
    scoring                 : { active: false, value: 0, color: "#000000" },
    days_in_work            : 2,
    main_user_name          : "Анатолий Леонтьев",
    statistic               : {
        2: {
            pages: [
                {
                type      : "business_card_page",
                link      : "https://button.amocrm.ru/trcrr/tdzxzzcx",
                visited_at: null,
                },
            ],
        },
    },
}

lead_statuses

{
    1363351: {
        id: 1363351,
        value: 1363351,
        label: "Продажа",
        name: "Продажа",
        sort: 1,
        is_main: true,
        is_unsorted_on: true,
        is_archive: false,
        statuses: {
            s_21776224: {
                id: 21776224,
                name: "Первичный контакт",
                pipeline_id: 1363351,
                sort: 20,
                color: "#99ccff",
                editable: "Y",
                type: 0,
            },
            s_21776227: {
                id: 21776227,
                name: "Переговоры",
                pipeline_id: 1363351,
                sort: 30,
                color: "#ffff99",
                editable: "Y",
                type: 0,
            },
            ....
        }
    },
    ....
}

system_notice

{
    cf_max_limit: {
        type: "error",
        count: 200,
        message: [
            'Вы как администратор можете добавлять до 0 полей в тарифе <a href=\"/private/account/\" target=\"_blank\"></a>.',
            'Вы достигли максимального количества добавленных полей в тарифе <a href=\"/private/account/\" target=\"_blank\"></a>.',
        ],
    }, 
}

card_validation_rules

{
    contacts: {
        p_1363351: {
            s_21776224: [],
            s_21776227: [],
            s_21776230: [],
            s_32714989: [],
            s_21776233: [],
            s_32714998: [],
            s_142     : [],
            s_143     : [],
        },
        ....
    },
    companies: {
        p_1363351: {
            s_21776224: [],
            s_21776227: [],
            s_21776230: [],
            s_32714989: [],
            s_21776233: [],
            s_32714998: [],
            s_142     : [],
            s_143     : [],
        },
        ....
    }
    leads: {
        p_1363351: {
            s_21776224: [],
            s_21776227: [],
            s_21776230: [],
            s_32714989: [],
            s_21776233: [],
            s_32714998: ["CFV[620105]"],
            s_142: [],
            s_143: [],
        },
        ....
    },
    8223: {
        p_1363351: {
            s_21776224: [],
            s_21776227: [],
            s_21776230: [],
            s_32714989: [],
            s_21776233: [],
            s_32714998: [],
            s_142: [],
            s_143: [],
        },
        ....
    }
    ....
}

cf_groups

[
    {
        name             : "",
        id               : "default",
        fields           : [620105, 620103, 620109, 620111, 682477, 680853, ...],
        element_type     : 2,
        element_type_name: "leads",
        show             : true,
    },
    {
        name  : "",
        id    : "statistic",
        fields: [
        800603, 695035, 695051, 695049, 695047, 695045, 695041, ....],
        element_type     : 2,
        element_type_name: "leads",
        show             : true,
    },
    ....
]

tabs_groups

{
    leads: [
        { id: "default", type: "group" },
        { id: "leads_10511629367967", type: "group" },
        { id: "f5_multicompanies", type: "linked" },
        { id: "f5_kassa", type: "linked" },
        { id: "8245", type: "linked" },
        { id: "leads_75651613809229", type: "group" },
        { id: "leads_60721619092248", type: "group" },
        { id: "statistic", type: "group" },
        { id: "leads_28781635324453", type: "group" },
        { id: "6897", type: "linked" },
        { id: "leads_25271654592082", type: "group" },
        { id: "7899", type: "linked" },
        { id: "leads_17131656934322", type: "group" },
    ],
    companies: [
        { id: "default", type: "group" },
        { id: "linked_leads", type: "linked" },
        { id: "f5_multicompanies", type: "linked" },
        { id: "8245", type: "linked" },
        { id: "f5_kassa", type: "linked" },
    ],
    contacts: [
        { id: "default", type: "group" },
        { id: "triggeron_entity_card", type: "linked" },
        { id: "amo_gendoc", type: "linked" },
        { id: "linked_leads", type: "linked" },
        { id: "f5_multicompanies", type: "linked" },
        { id: "contacts_87261656934737", type: "group" },
    ],
}

loss_reason_enabled

1

helpbot_enabled

0

old_unsorted_uid

null

user_rights

наследуется от user_rights

unsorted_category

null

show_wp_review_form

0

catalog_min_id

1000

widgets_areas

[
    "companies_card",
    "contacts_card",
    "leads_card",
    "customers_card",
    "contacts",
    "leads",
    "customers",
    "dashboard",
    "todo",
    "todo-line",
    "todo-calendar",
    "widgetsSettings",
    "info",
    "card_sdk",
    "leads-dp",
    "customers-dp",
    "lead_sources",
    "advanced-settings",
    "catalogs",
    "salesbot_designer",
    "widget-page",
    "crm_template",
    "catalog_card",
    "amoforms",
]

show_welcome_form

0

displayed_count_by_area

    {        
        widgetsSettings    : 18,
        digital_pipeline   : 11,
        salesbot_designer  : 7,
        contacts_card      : 5,
        leads_card         : 5,
        todo               : 1,
        companies_card     : 5,
        "advanced-settings": 7,
        card_sdk           : 2,
        contacts           : 1,
        customers_card     : 1,
    }

show_welcome_back

0

main_tour

{
    show                    : false,
    show_qualification_form : false,
    is_crm_template_selected: false,
    crm_templates_allowed   : true,
    fb_checkbox             : { app_id: "971504582995457", page_id: "194686237266904" },
    is_need_webvisor        : false,
}

task_types

{
    key_1271593: {
        id     : 1271593,
        option : "\u041a\u043e\u043d\u0442\u0440\u043e\u043b\u044c",
        color  : "720596",
        icon_id: 18,
    },
    key_1387396: {
        id     : 1387396,
        option : "\u0412\u0430\u0436\u043d\u043e",
        color  : "e85151",
        icon_id: 67,
    },
    key_2142136: {
        id     : 2142136,
        option : "3 \u043b\u0438\u043d\u0438\u044f",
        color  : "568FFA",
        icon_id: 0,
    },
    ....
}

catalogs

{
    6897: 6897,
    6899: 6899,
    7899: 7899,
    8223: 8223,
    8225: 8225,
    8245: 8245,
    8275: 8275,
    8309: 8309,
}

widgets_off

0

safe_mode

0

support_auth_button

0

widgets_cache_version

{        
    companies_card: "98924d9e0cf8b321953f9954fca5b52596325f6e",
    contacts_card : "045f0663634bd72197420d601e7c2f7b9304fb21",
    leads_card    : "c72ea92b8f77a2249558e0d0bb3d2406114f6b74",
    customers_card: "a7e857b823c22b0d4f71cdd2e0017e9dafe0bc64",
    contacts      : "1407bbd1a0e273ca6aeb86bab4e7ae3e5a73090b",
    leads         : "b06da43f97052f33fbf997afd1b1cb9f59101564",
    customers     : "0f93a7cad8c4a0a030e9095bedb5ef076b8074f6",
    dashboard     : "633df331cfc7537ee74fcc67dc3d891941f9a120",
    todo          : "ae45286dbdbf4c9acdd52c36d68c9e407ceff87b",
    ....
}

person_types

{
    legal_ru     : 1,
    individual_ru: 2,
    individual_en: 3,
    individual_ua: 4,
    legal_ua     : 6,
    legal_kz     : 8,
    individual_kz: 10,
}

pay_systems

{
    cashless_ru : 1,
    w1_ru       : 2,
    assist_ru   : 3,
    robokassa_ru: 4,
    paypal_en   : 5,
    firstdata_en: 7,
    cashless_ua : 8,
    cashless_kz : 10,
    yandex      : 13,
    yandex_ao   : 16,
    robokassa_ua: 19,
    yookassa_ooo: 21,
    yookassa_1co: 22,
}

Конвейеры
0 успешных
0 с ошибкой