Skip to content
Snippets Groups Projects
Commit 66149e82 authored by Lukas Werner's avatar Lukas Werner
Browse files

Moved cti to its own module

parent 967b5d41
No related branches found
No related tags found
2 merge requests!39Beta,!38Moved cti to its own module
Pipeline #44369 passed with warnings
Showing
with 3 additions and 250 deletions
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.4.xsd">
<include relativeToChangelogFile="true" file="xrm/init.xml"/>
</databaseChangeLog>
\ No newline at end of file
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.4.xsd">
<!--Structure changesets-->
<!--<include relativeToChangelogFile="true" file="struct/release_TICKETNR_action_title.xml"/>-->
<include relativeToChangelogFile="true" file="struct/init_create_ab_ctilog.xml"/>
<!--Data changesets-->
<!--<include relativeToChangelogFile="true" file="data/release_TICKETNR_action_title.xml"/>-->
</databaseChangeLog>
\ No newline at end of file
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.4.xsd">
<changeSet author="(generated)" id="cb657e20-fe56-4c08-9a14-3d1afee00d61">
<preConditions onFail="MARK_RAN">
<not>
<tableExists tableName="AB_CTILOG"/>
</not>
</preConditions>
<createTable tableName="AB_CTILOG">
<column name="AB_CTILOGID" type="CHAR(36)">
<constraints nullable="false" primaryKey="true"/>
</column>
<column name="DATE_NEW" type="datetime">
<constraints nullable="false"/>
</column>
<column name="CALLID" type="VARCHAR(64)"/>
<column defaultValueComputed="NULL" name="DATE_EDIT" type="datetime"/>
<column name="ADDRESS" type="VARCHAR(30)"/>
<column name="ANSWERMODE" type="VARCHAR(36)"/>
<column name="DIRECTION" type="VARCHAR(36)"/>
<column name="CONTACT_ID" type="CHAR(36)"/>
</createTable>
</changeSet>
<changeSet author="(generated)" id="32e5ff11-d687-4900-9761-000b5b49008f">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_AB_CTILOG_CALLID"/>
</not>
</preConditions>
<createIndex indexName="IDX_AB_CTILOG_CALLID" tableName="AB_CTILOG">
<column name="CALLID"/>
</createIndex>
</changeSet>
<changeSet author="(generated)" id="6d360f07-d995-499e-ada6-aca5125cc3fb">
<preConditions onFail="MARK_RAN">
<not>
<indexExists indexName="IDX_AB_CTILOG_CONTACT_ID"/>
</not>
</preConditions>
<createIndex indexName="IDX_AB_CTILOG_CONTACT_ID" tableName="AB_CTILOG">
<column name="CONTACT_ID"/>
</createIndex>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.4.xsd">
<include relativeToChangelogFile="true" file="ab_ctilog/init.xml"/>
</databaseChangeLog>
\ No newline at end of file
......@@ -9,9 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed
- Temporary sales implementations
- Removed temporary sales implementations
- Deleted translations unrelated to the module
- Removed user settings "userCurrency", "incomingCallContext", "prefferredApprover"
- Moved cti to a separate module
### Changed
......
<?xml version="1.0" encoding="UTF-8"?>
<aliasDefinition xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.3.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/aliasDefinition/1.3.1">
<name>Root_Data_alias</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<datasourceType v="0" />
<aliasDefinitionSub>
<aliasDefDb>
<targetAliasName>Data_alias</targetAliasName>
<entityGroup>
<name>entityGroup</name>
<entities>
<entityDb>
<name>AB_CTILOG</name>
<category></category>
<dbName></dbName>
<idColumn>AB_CTILOGID</idColumn>
<idGeneratorType v="0" />
<idGeneratorInterval v="1" />
<documentation>%aditoprj%/aliasDefinition/Root_Data_alias/aliasdefinitionsub/entitygroup/entities/ab_ctilog/documentation.adoc</documentation>
<title></title>
<description></description>
<auditSyncConfig>
<name>auditSyncConfig</name>
<auditMode v="0" />
<syncActive v="false" />
<syncComplete v="true" />
<syncDirection v="1" />
<syncIds></syncIds>
</auditSyncConfig>
<entityFields>
<entityFieldDb>
<name>AB_CTILOGID</name>
<dbName></dbName>
<primaryKey v="true" />
<columnType v="1" />
<size v="36" />
<scale v="0" />
<notNull v="true" />
<isUnique v="true" />
<index v="true" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>ADDRESS</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="30" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>ANSWERMODE</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="36" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>CALLID</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="64" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="true" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>CONTACT_ID</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="1" />
<size v="36" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="true" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>DATE_EDIT</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="93" />
<size v="19" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>DATE_NEW</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="93" />
<size v="19" />
<scale v="0" />
<notNull v="true" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
<entityFieldDb>
<name>DIRECTION</name>
<dbName></dbName>
<primaryKey v="false" />
<columnType v="12" />
<size v="36" />
<scale v="0" />
<notNull v="false" />
<isUnique v="false" />
<index v="false" />
<documentation></documentation>
<title></title>
<description></description>
</entityFieldDb>
</entityFields>
</entityDb>
</entities>
</entityGroup>
</aliasDefDb>
</aliasDefinitionSub>
</aliasDefinition>
The AB_CTILOG table is being used to store the logs of calls
\ No newline at end of file
Address of the plugin
\ No newline at end of file
Specified how a call was answered
\ No newline at end of file
ID of the call
\ No newline at end of file
Foreign key to table CONTACT
\ No newline at end of file
Date of most recent update of the record
\ No newline at end of file
Creation date of the record
\ No newline at end of file
Indicates whether an incoming or outgoing call occurred
\ No newline at end of file
{
"name": "@aditosoftware/root",
"version": "6.0.0-beta.3",
"version": "6.0.0-beta.4",
"adito": {
"type": "module"
},
......
<?xml version="1.0" encoding="UTF-8"?>
<process xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.3.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/process/1.3.0">
<name>ctiCall</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<process>%aditoprj%/process/ctiCall/process.js</process>
</process>
import { modules } from "@aditosoftware/jdito-types";
modules.loadService("ctiCall_service")
.forEach(service => service());
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<process xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.3.0" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/process/1.3.0">
<name>ctiClientEvents</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<process>%aditoprj%/process/ctiClientEvents/process.js</process>
</process>
import { modules } from "@aditosoftware/jdito-types";
modules.loadService("ctiClientEvents_service")
.forEach(service => service());
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment