55dd24db6c7041183f7c4a9d5fa9db02034e6d2d
[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 _0x91ff=['STRING','INTEGER','DATE'];(function(_0x4a563b,_0x36f42d){var _0x2935ef=function(_0x32593f){while(--_0x32593f){_0x4a563b['push'](_0x4a563b['shift']());}};_0x2935ef(++_0x36f42d);}(_0x91ff,0x15b));var _0xf91f=function(_0x387777,_0x356171){_0x387777=_0x387777-0x0;var _0x3f84c0=_0x91ff[_0x387777];return _0x3f84c0;};'use strict';var Sequelize=require('sequelize');module['exports']={'calldate':{'type':Sequelize[_0xf91f('0x0')],'allowNull':![],'defaultValue':'1970-01-01\x2000:00:01'},'clid':{'type':Sequelize[_0xf91f('0x1')]},'src':{'type':Sequelize['STRING']},'dst':{'type':Sequelize[_0xf91f('0x1')]},'dcontext':{'type':Sequelize[_0xf91f('0x1')]},'channel':{'type':Sequelize[_0xf91f('0x1')]},'dstchannel':{'type':Sequelize[_0xf91f('0x1')]},'lastapp':{'type':Sequelize[_0xf91f('0x1')]},'lastdata':{'type':Sequelize[_0xf91f('0x1')]},'duration':{'type':Sequelize[_0xf91f('0x2')],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize[_0xf91f('0x1')]},'amaflags':{'type':Sequelize[_0xf91f('0x2')],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize['STRING']},'userfield':{'type':Sequelize[_0xf91f('0x1')]},'uniqueid':{'type':Sequelize['STRING']},'linkedid':{'type':Sequelize[_0xf91f('0x1')]},'sequence':{'type':Sequelize[_0xf91f('0x1')]},'peeraccount':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0xf91f('0x1')]},'tag':{'type':Sequelize[_0xf91f('0x1')]}};