Built motion from commit 5ba5b610.|2.5.33
[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 _0x53d5=['DATE','1970-01-01\x2000:00:01','STRING','INTEGER','sequelize','exports'];(function(_0x3b380d,_0x4bf247){var _0x54502b=function(_0x35d207){while(--_0x35d207){_0x3b380d['push'](_0x3b380d['shift']());}};_0x54502b(++_0x4bf247);}(_0x53d5,0x1cc));var _0x553d=function(_0x2ae3e4,_0x1916ff){_0x2ae3e4=_0x2ae3e4-0x0;var _0x4d0dce=_0x53d5[_0x2ae3e4];return _0x4d0dce;};'use strict';var Sequelize=require(_0x553d('0x0'));module[_0x553d('0x1')]={'calldate':{'type':Sequelize[_0x553d('0x2')],'allowNull':![],'defaultValue':_0x553d('0x3')},'clid':{'type':Sequelize[_0x553d('0x4')]},'src':{'type':Sequelize[_0x553d('0x4')]},'dst':{'type':Sequelize[_0x553d('0x4')]},'dcontext':{'type':Sequelize['STRING']},'channel':{'type':Sequelize[_0x553d('0x4')]},'dstchannel':{'type':Sequelize[_0x553d('0x4')]},'lastapp':{'type':Sequelize[_0x553d('0x4')]},'lastdata':{'type':Sequelize[_0x553d('0x4')]},'duration':{'type':Sequelize[_0x553d('0x5')],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize[_0x553d('0x4')]},'amaflags':{'type':Sequelize[_0x553d('0x5')],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize[_0x553d('0x4')]},'userfield':{'type':Sequelize[_0x553d('0x4')]},'uniqueid':{'type':Sequelize[_0x553d('0x4')]},'linkedid':{'type':Sequelize[_0x553d('0x4')]},'sequence':{'type':Sequelize[_0x553d('0x4')]},'peeraccount':{'type':Sequelize[_0x553d('0x4')]},'type':{'type':Sequelize[_0x553d('0x4')]},'tag':{'type':Sequelize[_0x553d('0x4')]}};