a3e3a068031484b1cd4ddb00a19f6de39a9b167f
[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 _0xc547=['1970-01-01\x2000:00:01','STRING','INTEGER','exports'];(function(_0x2e6c19,_0x131233){var _0x52885d=function(_0x38f224){while(--_0x38f224){_0x2e6c19['push'](_0x2e6c19['shift']());}};_0x52885d(++_0x131233);}(_0xc547,0x153));var _0x7c54=function(_0x354417,_0x36a9c5){_0x354417=_0x354417-0x0;var _0x4a6e62=_0xc547[_0x354417];return _0x4a6e62;};'use strict';var Sequelize=require('sequelize');module[_0x7c54('0x0')]={'calldate':{'type':Sequelize['DATE'],'allowNull':![],'defaultValue':_0x7c54('0x1')},'clid':{'type':Sequelize['STRING']},'src':{'type':Sequelize[_0x7c54('0x2')]},'dst':{'type':Sequelize['STRING']},'dcontext':{'type':Sequelize['STRING']},'channel':{'type':Sequelize[_0x7c54('0x2')]},'dstchannel':{'type':Sequelize[_0x7c54('0x2')]},'lastapp':{'type':Sequelize[_0x7c54('0x2')]},'lastdata':{'type':Sequelize[_0x7c54('0x2')]},'duration':{'type':Sequelize[_0x7c54('0x3')],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize['STRING']},'amaflags':{'type':Sequelize[_0x7c54('0x3')],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize[_0x7c54('0x2')]},'userfield':{'type':Sequelize[_0x7c54('0x2')]},'uniqueid':{'type':Sequelize[_0x7c54('0x2')]},'linkedid':{'type':Sequelize['STRING']},'sequence':{'type':Sequelize[_0x7c54('0x2')]},'peeraccount':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x7c54('0x2')]},'tag':{'type':Sequelize['STRING']}};