1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0xeda8=['internal','outbound','inbound-fax','outbound-fax','dialer','STRING','TEXT','INTEGER','sequelize','exports','ENUM','inbound'];(function(_0x3998cd,_0x1ddc1e){var _0x53c5b1=function(_0x5f2dc6){while(--_0x5f2dc6){_0x3998cd['push'](_0x3998cd['shift']());}};_0x53c5b1(++_0x1ddc1e);}(_0xeda8,0x104));var _0x8eda=function(_0x3929b3,_0x55ca55){_0x3929b3=_0x3929b3-0x0;var _0x4c0e61=_0xeda8[_0x3929b3];return _0x4c0e61;};'use strict';var Sequelize=require(_0x8eda('0x0'));module[_0x8eda('0x1')]={'uniqueid':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x8eda('0x2')](_0x8eda('0x3'),_0x8eda('0x4'),_0x8eda('0x5'),_0x8eda('0x6'),_0x8eda('0x7'),_0x8eda('0x8'))},'tag':{'type':Sequelize[_0x8eda('0x9')]},'accountcode':{'type':Sequelize[_0x8eda('0x9')]},'source':{'type':Sequelize[_0x8eda('0x9')]},'destination':{'type':Sequelize[_0x8eda('0x9')]},'destinationcontext':{'type':Sequelize[_0x8eda('0x9')]},'callerid':{'type':Sequelize['STRING']},'channel':{'type':Sequelize[_0x8eda('0x9')]},'destinationchannel':{'type':Sequelize[_0x8eda('0x9')]},'lastapplication':{'type':Sequelize[_0x8eda('0x9')]},'lastdata':{'type':Sequelize[_0x8eda('0xa')]},'starttime':{'type':Sequelize['DATE']},'systemanswertime':{'type':Sequelize['DATE']},'answertime':{'type':Sequelize['DATE']},'endtime':{'type':Sequelize['DATE']},'duration':{'type':Sequelize[_0x8eda('0xb')]},'billableseconds':{'type':Sequelize[_0x8eda('0xb')]},'mohtime':{'type':Sequelize[_0x8eda('0xb')],'defaultValue':0x0},'disposition':{'type':Sequelize['STRING']},'amaflags':{'type':Sequelize[_0x8eda('0x9')]},'userfield':{'type':Sequelize['STRING']},'userDisposition':{'type':Sequelize[_0x8eda('0x9')]},'userSecondDisposition':{'type':Sequelize[_0x8eda('0x9')]},'userThirdDisposition':{'type':Sequelize[_0x8eda('0x9')]},'note':{'type':Sequelize[_0x8eda('0x9')]},'prefix':{'type':Sequelize[_0x8eda('0x9')]},'routeid':{'type':Sequelize[_0x8eda('0xb')]},'sipcallid':{'type':Sequelize[_0x8eda('0x9')]}};