fae6f0bbbf57d3be43f92acdf55cbcf90cbc409f
[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 _0xa870=['1970-01-01\x2000:00:01','STRING','INTEGER','sequelize'];(function(_0x1c94f5,_0x315cc6){var _0x349311=function(_0x541ef4){while(--_0x541ef4){_0x1c94f5['push'](_0x1c94f5['shift']());}};_0x349311(++_0x315cc6);}(_0xa870,0x143));var _0x0a87=function(_0x39261e,_0x5f4033){_0x39261e=_0x39261e-0x0;var _0x5f55a7=_0xa870[_0x39261e];return _0x5f55a7;};'use strict';var Sequelize=require(_0x0a87('0x0'));module['exports']={'calldate':{'type':Sequelize['DATE'],'allowNull':![],'defaultValue':_0x0a87('0x1')},'clid':{'type':Sequelize[_0x0a87('0x2')]},'src':{'type':Sequelize[_0x0a87('0x2')]},'dst':{'type':Sequelize['STRING']},'dcontext':{'type':Sequelize[_0x0a87('0x2')]},'channel':{'type':Sequelize['STRING']},'dstchannel':{'type':Sequelize[_0x0a87('0x2')]},'lastapp':{'type':Sequelize['STRING']},'lastdata':{'type':Sequelize['STRING']},'duration':{'type':Sequelize[_0x0a87('0x3')],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize[_0x0a87('0x3')],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize[_0x0a87('0x2')]},'amaflags':{'type':Sequelize[_0x0a87('0x3')],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize['STRING']},'userfield':{'type':Sequelize[_0x0a87('0x2')]},'uniqueid':{'type':Sequelize['STRING']},'linkedid':{'type':Sequelize[_0x0a87('0x2')]},'sequence':{'type':Sequelize[_0x0a87('0x2')]},'peeraccount':{'type':Sequelize[_0x0a87('0x2')]},'type':{'type':Sequelize[_0x0a87('0x2')]},'tag':{'type':Sequelize['STRING']}};