Built motion from commit eddce310.|2.6.12
[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 _0xa198=['1970-01-01\x2000:00:01','STRING','INTEGER','sequelize'];(function(_0xa7d77f,_0x34bc29){var _0x4351bf=function(_0x9ba889){while(--_0x9ba889){_0xa7d77f['push'](_0xa7d77f['shift']());}};_0x4351bf(++_0x34bc29);}(_0xa198,0x7f));var _0x8a19=function(_0x2cc2b5,_0x34f825){_0x2cc2b5=_0x2cc2b5-0x0;var _0x46e656=_0xa198[_0x2cc2b5];return _0x46e656;};'use strict';var Sequelize=require(_0x8a19('0x0'));module['exports']={'calldate':{'type':Sequelize['DATE'],'allowNull':![],'defaultValue':_0x8a19('0x1')},'clid':{'type':Sequelize[_0x8a19('0x2')]},'src':{'type':Sequelize[_0x8a19('0x2')]},'dst':{'type':Sequelize[_0x8a19('0x2')]},'dcontext':{'type':Sequelize[_0x8a19('0x2')]},'channel':{'type':Sequelize[_0x8a19('0x2')]},'dstchannel':{'type':Sequelize[_0x8a19('0x2')]},'lastapp':{'type':Sequelize[_0x8a19('0x2')]},'lastdata':{'type':Sequelize[_0x8a19('0x2')]},'duration':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize[_0x8a19('0x3')],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize['STRING']},'amaflags':{'type':Sequelize[_0x8a19('0x3')],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize[_0x8a19('0x2')]},'userfield':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0x8a19('0x2')]},'linkedid':{'type':Sequelize[_0x8a19('0x2')]},'sequence':{'type':Sequelize[_0x8a19('0x2')]},'peeraccount':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x8a19('0x2')]},'tag':{'type':Sequelize[_0x8a19('0x2')]}};