4d741b8dcee44133bb4479f0ef375af9eec03f2b
[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 _0xde9d=['sequelize','exports','DATE','1970-01-01\x2000:00:01','STRING','INTEGER'];(function(_0xb45dc5,_0x3c6b74){var _0x13d06e=function(_0xf05cc0){while(--_0xf05cc0){_0xb45dc5['push'](_0xb45dc5['shift']());}};_0x13d06e(++_0x3c6b74);}(_0xde9d,0x156));var _0xdde9=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0xde9d[_0xa464c9];return _0x3d73c4;};'use strict';var Sequelize=require(_0xdde9('0x0'));module[_0xdde9('0x1')]={'calldate':{'type':Sequelize[_0xdde9('0x2')],'allowNull':![],'defaultValue':_0xdde9('0x3')},'clid':{'type':Sequelize[_0xdde9('0x4')]},'src':{'type':Sequelize['STRING']},'dst':{'type':Sequelize[_0xdde9('0x4')]},'dcontext':{'type':Sequelize[_0xdde9('0x4')]},'channel':{'type':Sequelize[_0xdde9('0x4')]},'dstchannel':{'type':Sequelize['STRING']},'lastapp':{'type':Sequelize[_0xdde9('0x4')]},'lastdata':{'type':Sequelize[_0xdde9('0x4')]},'duration':{'type':Sequelize[_0xdde9('0x5')],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize[_0xdde9('0x4')]},'amaflags':{'type':Sequelize[_0xdde9('0x5')],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize[_0xdde9('0x4')]},'userfield':{'type':Sequelize[_0xdde9('0x4')]},'uniqueid':{'type':Sequelize[_0xdde9('0x4')]},'linkedid':{'type':Sequelize['STRING']},'sequence':{'type':Sequelize[_0xdde9('0x4')]},'peeraccount':{'type':Sequelize['STRING']},'type':{'type':Sequelize['STRING']},'tag':{'type':Sequelize[_0xdde9('0x4')]}};