ac0b1de0ccbf789d485cb5f51b40d4b9caef3858
[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 _0xfde5=['DATE','STRING','INTEGER','sequelize','exports'];(function(_0x56e172,_0x59bedb){var _0xc92dd7=function(_0x4ae9ca){while(--_0x4ae9ca){_0x56e172['push'](_0x56e172['shift']());}};_0xc92dd7(++_0x59bedb);}(_0xfde5,0x1c0));var _0x5fde=function(_0x500622,_0x54f852){_0x500622=_0x500622-0x0;var _0x2a5821=_0xfde5[_0x500622];return _0x2a5821;};'use strict';var Sequelize=require(_0x5fde('0x0'));module[_0x5fde('0x1')]={'calldate':{'type':Sequelize[_0x5fde('0x2')],'allowNull':![],'defaultValue':'1970-01-01\x2000:00:01'},'clid':{'type':Sequelize['STRING']},'src':{'type':Sequelize[_0x5fde('0x3')]},'dst':{'type':Sequelize[_0x5fde('0x3')]},'dcontext':{'type':Sequelize[_0x5fde('0x3')]},'channel':{'type':Sequelize['STRING']},'dstchannel':{'type':Sequelize[_0x5fde('0x3')]},'lastapp':{'type':Sequelize[_0x5fde('0x3')]},'lastdata':{'type':Sequelize[_0x5fde('0x3')]},'duration':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize[_0x5fde('0x4')],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize['STRING']},'amaflags':{'type':Sequelize[_0x5fde('0x4')],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize[_0x5fde('0x3')]},'userfield':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0x5fde('0x3')]},'linkedid':{'type':Sequelize[_0x5fde('0x3')]},'sequence':{'type':Sequelize[_0x5fde('0x3')]},'peeraccount':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x5fde('0x3')]},'tag':{'type':Sequelize[_0x5fde('0x3')]}};