7051c489cd11ed326ac6ac1b3b08d70d391653e9
[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 _0x5081=['DATE','1970-01-01\x2000:00:01','STRING','INTEGER','sequelize','exports'];(function(_0x101134,_0x1ed1d3){var _0xc47acc=function(_0x7ea469){while(--_0x7ea469){_0x101134['push'](_0x101134['shift']());}};_0xc47acc(++_0x1ed1d3);}(_0x5081,0x148));var _0x1508=function(_0x2a287a,_0x3cfd27){_0x2a287a=_0x2a287a-0x0;var _0x57f271=_0x5081[_0x2a287a];return _0x57f271;};'use strict';var Sequelize=require(_0x1508('0x0'));module[_0x1508('0x1')]={'calldate':{'type':Sequelize[_0x1508('0x2')],'allowNull':![],'defaultValue':_0x1508('0x3')},'clid':{'type':Sequelize[_0x1508('0x4')]},'src':{'type':Sequelize[_0x1508('0x4')]},'dst':{'type':Sequelize[_0x1508('0x4')]},'dcontext':{'type':Sequelize[_0x1508('0x4')]},'channel':{'type':Sequelize[_0x1508('0x4')]},'dstchannel':{'type':Sequelize[_0x1508('0x4')]},'lastapp':{'type':Sequelize[_0x1508('0x4')]},'lastdata':{'type':Sequelize[_0x1508('0x4')]},'duration':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize[_0x1508('0x5')],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize['STRING']},'amaflags':{'type':Sequelize[_0x1508('0x5')],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize[_0x1508('0x4')]},'userfield':{'type':Sequelize[_0x1508('0x4')]},'uniqueid':{'type':Sequelize[_0x1508('0x4')]},'linkedid':{'type':Sequelize[_0x1508('0x4')]},'sequence':{'type':Sequelize[_0x1508('0x4')]},'peeraccount':{'type':Sequelize[_0x1508('0x4')]},'type':{'type':Sequelize['STRING']},'tag':{'type':Sequelize['STRING']}};