private function createApp(string
$appId, string
$aclRoleId): void
{ $this->
getContainer()->
get(Connection::
class)->
insert('app',
[ 'id' => Uuid::
fromHexToBytes($appId),
'name' => 'flowbuilderactionapp',
'active' => 1,
'path' => 'custom/apps/flowbuilderactionapp',
'version' => '1.0.0',
'configurable' => 0,
'app_secret' => 'appSecret',
'acl_role_id' => Uuid::
fromHexToBytes($aclRoleId),
'integration_id' =>
$this->
getIntegrationId(),
'created_at'
=> (new \
DateTime())->
format(Defaults::STORAGE_DATE_TIME_FORMAT
),
]);
} private function createAppFlowAction(string
$flowAppId, string
$appId): void
{ $this->
getContainer()->
get(Connection::
class)->
insert('app_flow_action',
[ 'id' => Uuid::
fromHexToBytes($flowAppId),
'app_id' => Uuid::
fromHexToBytes($appId),
'name' => 'telegram.send.message',
'badge' => 'Telegram',