Built motion from commit 26d08302.|2.6.31
[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 _0x57ae=['exports','DATE','1970-01-01\x2000:00:01','STRING','INTEGER'];(function(_0x4d7c13,_0x1ecd7e){var _0x3faad4=function(_0x561e12){while(--_0x561e12){_0x4d7c13['push'](_0x4d7c13['shift']());}};_0x3faad4(++_0x1ecd7e);}(_0x57ae,0xb4));var _0xe57a=function(_0x20c474,_0x4b9323){_0x20c474=_0x20c474-0x0;var _0x284af2=_0x57ae[_0x20c474];return _0x284af2;};'use strict';var Sequelize=require('sequelize');module[_0xe57a('0x0')]={'calldate':{'type':Sequelize[_0xe57a('0x1')],'allowNull':![],'defaultValue':_0xe57a('0x2')},'clid':{'type':Sequelize[_0xe57a('0x3')]},'src':{'type':Sequelize[_0xe57a('0x3')]},'dst':{'type':Sequelize['STRING']},'dcontext':{'type':Sequelize[_0xe57a('0x3')]},'channel':{'type':Sequelize[_0xe57a('0x3')]},'dstchannel':{'type':Sequelize[_0xe57a('0x3')]},'lastapp':{'type':Sequelize[_0xe57a('0x3')]},'lastdata':{'type':Sequelize['STRING']},'duration':{'type':Sequelize[_0xe57a('0x4')],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize[_0xe57a('0x4')],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize['STRING']},'amaflags':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize[_0xe57a('0x3')]},'userfield':{'type':Sequelize[_0xe57a('0x3')]},'uniqueid':{'type':Sequelize[_0xe57a('0x3')]},'linkedid':{'type':Sequelize[_0xe57a('0x3')]},'sequence':{'type':Sequelize[_0xe57a('0x3')]},'peeraccount':{'type':Sequelize[_0xe57a('0x3')]},'type':{'type':Sequelize['STRING']},'tag':{'type':Sequelize[_0xe57a('0x3')]}};