Built motion from commit 511216ff.|2.6.34
[motion2.git] / server / api / cdr / cdr.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xc540=['INTEGER','1970-01-01\x2000:00:01','STRING'];(function(_0xc1c93f,_0x1fba71){var _0x3f81cb=function(_0x20b66f){while(--_0x20b66f){_0xc1c93f['push'](_0xc1c93f['shift']());}};_0x3f81cb(++_0x1fba71);}(_0xc540,0x184));var _0x0c54=function(_0x3956ff,_0x4cd334){_0x3956ff=_0x3956ff-0x0;var _0x3bd57d=_0xc540[_0x3956ff];return _0x3bd57d;};'use strict';var Sequelize=require('sequelize');module['exports']={'calldate':{'type':Sequelize['DATE'],'allowNull':![],'defaultValue':_0x0c54('0x0')},'clid':{'type':Sequelize['STRING']},'src':{'type':Sequelize[_0x0c54('0x1')]},'dst':{'type':Sequelize[_0x0c54('0x1')]},'dcontext':{'type':Sequelize[_0x0c54('0x1')]},'channel':{'type':Sequelize[_0x0c54('0x1')]},'dstchannel':{'type':Sequelize[_0x0c54('0x1')]},'lastapp':{'type':Sequelize['STRING']},'lastdata':{'type':Sequelize[_0x0c54('0x1')]},'duration':{'type':Sequelize[_0x0c54('0x2')],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize[_0x0c54('0x2')],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize[_0x0c54('0x1')]},'amaflags':{'type':Sequelize[_0x0c54('0x2')],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize[_0x0c54('0x1')]},'userfield':{'type':Sequelize[_0x0c54('0x1')]},'uniqueid':{'type':Sequelize[_0x0c54('0x1')]},'linkedid':{'type':Sequelize[_0x0c54('0x1')]},'sequence':{'type':Sequelize[_0x0c54('0x1')]},'peeraccount':{'type':Sequelize[_0x0c54('0x1')]},'type':{'type':Sequelize[_0x0c54('0x1')]},'tag':{'type':Sequelize['STRING']}};