Built motion from commit d1eab355.|2.6.28
[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 _0xde50=['DATE','1970-01-01\x2000:00:01','STRING','INTEGER'];(function(_0x35af23,_0x9190f6){var _0x340506=function(_0xd4c26b){while(--_0xd4c26b){_0x35af23['push'](_0x35af23['shift']());}};_0x340506(++_0x9190f6);}(_0xde50,0x140));var _0x0de5=function(_0x2734a3,_0x55f3b5){_0x2734a3=_0x2734a3-0x0;var _0xadaf81=_0xde50[_0x2734a3];return _0xadaf81;};'use strict';var Sequelize=require('sequelize');module['exports']={'calldate':{'type':Sequelize[_0x0de5('0x0')],'allowNull':![],'defaultValue':_0x0de5('0x1')},'clid':{'type':Sequelize[_0x0de5('0x2')]},'src':{'type':Sequelize[_0x0de5('0x2')]},'dst':{'type':Sequelize['STRING']},'dcontext':{'type':Sequelize[_0x0de5('0x2')]},'channel':{'type':Sequelize['STRING']},'dstchannel':{'type':Sequelize[_0x0de5('0x2')]},'lastapp':{'type':Sequelize['STRING']},'lastdata':{'type':Sequelize['STRING']},'duration':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize[_0x0de5('0x3')],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize[_0x0de5('0x2')]},'amaflags':{'type':Sequelize[_0x0de5('0x3')],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize['STRING']},'userfield':{'type':Sequelize[_0x0de5('0x2')]},'uniqueid':{'type':Sequelize['STRING']},'linkedid':{'type':Sequelize['STRING']},'sequence':{'type':Sequelize['STRING']},'peeraccount':{'type':Sequelize[_0x0de5('0x2')]},'type':{'type':Sequelize[_0x0de5('0x2')]},'tag':{'type':Sequelize[_0x0de5('0x2')]}};