1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
.settings.php
См. документацию.
1<?php
2
3return [
4 'controllers' => [
5 'value' => [
6 'namespaces' => [
7 '\\Bitrix\\Im\\V2\\Controller' => 'v2',
8 ],
9 'defaultNamespace' => '\\Bitrix\\Im\\Controller',
10 'restIntegration' => [
11 'enabled' => true,
12 'scopes' => ['im.import']
13 ]
14 ],
15 'readonly' => true,
16 ],
17 'services' => [
18 'value' => [
19 'Im.Messenger' => [
20 'className' => \Bitrix\Im\V2\Service\Messenger::class,
21 ],
22 'Im.PullSender' => [
23 'className' => \Bitrix\Im\V2\Pull\Sender::class,
24 ],
25 'Im.Services.Message' => [
26 'className' => \Bitrix\Im\Services\Message::class,
27 ],
28 'Im.Services.MessageParam' => [
29 'className' => \Bitrix\Im\Services\MessageParam::class,
30 ],
31 'Im.Services.Promotion' => [
32 'className' => \Bitrix\Im\V2\Promotion\Promotion::class,
33 ],
34 'Im.AccessService' => [
35 'className' => \Bitrix\Im\V2\Service\AccessService::class,
36 ],
37 ],
38 'readonly' => true,
39 ],
40 'ui.entity-selector' => [
41 'value' => [
42 'filters' => [
43 [
44 'id' => 'im.userDataFilter',
45 'entityId' => 'user',
46 'className' => \Bitrix\Im\Integration\UI\EntitySelector\UserDataFilter::class,
47 ],
48 [
49 'id' => 'im.departmentDataFilter',
50 'entityId' => 'department',
51 'className' => \Bitrix\Im\Integration\UI\EntitySelector\DepartmentDataFilter::class,
52 ],
53 [
54 'id' => 'im.chatOnlyDataFilter',
55 'entityId' => 'im-chat-only',
56 'className' => \Bitrix\Im\V2\Integration\UI\EntitySelector\ChannelAndChatDataFilter::class,
57 ],
58 ],
59 'entities' => [
60 [
61 'entityId' => 'im-bot',
62 'provider' => [
63 'moduleId' => 'im',
64 'className' => \Bitrix\Im\Integration\UI\EntitySelector\BotProvider::class,
65 ],
66 ],
67 [
68 'entityId' => 'im-chat',
69 'provider' => [
70 'moduleId' => 'im',
71 'className' => \Bitrix\Im\Integration\UI\EntitySelector\ChatProvider::class,
72 ],
73 ],
74 [
75 'entityId' => 'im-chat-user',
76 'provider' => [
77 'moduleId' => 'im',
78 'className' => \Bitrix\Im\Integration\UI\EntitySelector\ChatUserProvider::class,
79 ],
80 ],
81 [
82 'entityId' => 'im-recent',
83 'provider' => [
84 'moduleId' => 'im',
85 'className' => \Bitrix\Im\Integration\UI\EntitySelector\RecentChatProvider::class,
86 ],
87 ],
88 [
89 'entityId' => 'im-recent-v2',
90 'provider' => [
91 'moduleId' => 'im',
92 'className' => \Bitrix\Im\V2\Integration\UI\EntitySelector\RecentProvider::class,
93 ],
94 ],
95 [
96 'entityId' => 'im-chat-only',
97 'provider' => [
98 'moduleId' => 'im',
99 'className' => \Bitrix\Im\V2\Integration\UI\EntitySelector\ChatOnlyProvider::class,
100 ],
101 ],
102 ],
103 'extensions' => ['im.entity-selector'],
104 ],
105 'readonly' => true,
106 ],
107];