5b2cabb20deb109057bbe43556ddf004f902466e
[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 _0x5099=['1970-01-01\x2000:00:01','STRING','INTEGER','sequelize','exports','DATE'];(function(_0x52bc49,_0x43b622){var _0x47df5f=function(_0x147eb5){while(--_0x147eb5){_0x52bc49['push'](_0x52bc49['shift']());}};_0x47df5f(++_0x43b622);}(_0x5099,0x147));var _0x9509=function(_0x11fa36,_0x4f52e5){_0x11fa36=_0x11fa36-0x0;var _0xe53680=_0x5099[_0x11fa36];return _0xe53680;};'use strict';var Sequelize=require(_0x9509('0x0'));module[_0x9509('0x1')]={'calldate':{'type':Sequelize[_0x9509('0x2')],'allowNull':![],'defaultValue':_0x9509('0x3')},'clid':{'type':Sequelize[_0x9509('0x4')]},'src':{'type':Sequelize[_0x9509('0x4')]},'dst':{'type':Sequelize[_0x9509('0x4')]},'dcontext':{'type':Sequelize[_0x9509('0x4')]},'channel':{'type':Sequelize[_0x9509('0x4')]},'dstchannel':{'type':Sequelize[_0x9509('0x4')]},'lastapp':{'type':Sequelize[_0x9509('0x4')]},'lastdata':{'type':Sequelize[_0x9509('0x4')]},'duration':{'type':Sequelize[_0x9509('0x5')],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize[_0x9509('0x4')]},'amaflags':{'type':Sequelize[_0x9509('0x5')],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize[_0x9509('0x4')]},'userfield':{'type':Sequelize[_0x9509('0x4')]},'uniqueid':{'type':Sequelize[_0x9509('0x4')]},'linkedid':{'type':Sequelize[_0x9509('0x4')]},'sequence':{'type':Sequelize['STRING']},'peeraccount':{'type':Sequelize[_0x9509('0x4')]},'type':{'type':Sequelize['STRING']},'tag':{'type':Sequelize[_0x9509('0x4')]}};