611bdea23530f936f3ff0839bd77e47b299f2eac
[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 _0xd547=['INTEGER','DATE','1970-01-01\x2000:00:01','STRING'];(function(_0x49052b,_0x3ba709){var _0x48c045=function(_0x41ac38){while(--_0x41ac38){_0x49052b['push'](_0x49052b['shift']());}};_0x48c045(++_0x3ba709);}(_0xd547,0x1c1));var _0x7d54=function(_0x373059,_0x17b09c){_0x373059=_0x373059-0x0;var _0x368f67=_0xd547[_0x373059];return _0x368f67;};'use strict';var Sequelize=require('sequelize');module['exports']={'calldate':{'type':Sequelize[_0x7d54('0x0')],'allowNull':![],'defaultValue':_0x7d54('0x1')},'clid':{'type':Sequelize[_0x7d54('0x2')]},'src':{'type':Sequelize[_0x7d54('0x2')]},'dst':{'type':Sequelize['STRING']},'dcontext':{'type':Sequelize['STRING']},'channel':{'type':Sequelize[_0x7d54('0x2')]},'dstchannel':{'type':Sequelize['STRING']},'lastapp':{'type':Sequelize[_0x7d54('0x2')]},'lastdata':{'type':Sequelize['STRING']},'duration':{'type':Sequelize[_0x7d54('0x3')],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize[_0x7d54('0x3')],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize[_0x7d54('0x2')]},'amaflags':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize['STRING']},'userfield':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0x7d54('0x2')]},'linkedid':{'type':Sequelize[_0x7d54('0x2')]},'sequence':{'type':Sequelize['STRING']},'peeraccount':{'type':Sequelize[_0x7d54('0x2')]},'type':{'type':Sequelize['STRING']},'tag':{'type':Sequelize[_0x7d54('0x2')]}};