000e39c888723ba15e52df1787db1d08c2a1a74f
[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 _0x5c9c=['1970-01-01\x2000:00:01','STRING','INTEGER','sequelize','exports','DATE'];(function(_0x30126c,_0x43a5a3){var _0x184d7f=function(_0x34f445){while(--_0x34f445){_0x30126c['push'](_0x30126c['shift']());}};_0x184d7f(++_0x43a5a3);}(_0x5c9c,0x1d1));var _0xc5c9=function(_0xf2fae3,_0x53526f){_0xf2fae3=_0xf2fae3-0x0;var _0x2df866=_0x5c9c[_0xf2fae3];return _0x2df866;};'use strict';var Sequelize=require(_0xc5c9('0x0'));module[_0xc5c9('0x1')]={'calldate':{'type':Sequelize[_0xc5c9('0x2')],'allowNull':![],'defaultValue':_0xc5c9('0x3')},'clid':{'type':Sequelize[_0xc5c9('0x4')]},'src':{'type':Sequelize['STRING']},'dst':{'type':Sequelize[_0xc5c9('0x4')]},'dcontext':{'type':Sequelize[_0xc5c9('0x4')]},'channel':{'type':Sequelize[_0xc5c9('0x4')]},'dstchannel':{'type':Sequelize[_0xc5c9('0x4')]},'lastapp':{'type':Sequelize[_0xc5c9('0x4')]},'lastdata':{'type':Sequelize[_0xc5c9('0x4')]},'duration':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize[_0xc5c9('0x5')],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize[_0xc5c9('0x4')]},'amaflags':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize[_0xc5c9('0x4')]},'userfield':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize['STRING']},'linkedid':{'type':Sequelize['STRING']},'sequence':{'type':Sequelize[_0xc5c9('0x4')]},'peeraccount':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0xc5c9('0x4')]},'tag':{'type':Sequelize[_0xc5c9('0x4')]}};