a5c96c4a078d0d3c0388417f43d568b096eeced4
[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 _0x5bb7=['sequelize','DATE','1970-01-01\x2000:00:01','STRING','INTEGER'];(function(_0x5d82d9,_0x3d7694){var _0x3dfd86=function(_0x53735e){while(--_0x53735e){_0x5d82d9['push'](_0x5d82d9['shift']());}};_0x3dfd86(++_0x3d7694);}(_0x5bb7,0x104));var _0x75bb=function(_0xf50820,_0x56f041){_0xf50820=_0xf50820-0x0;var _0x2a9b10=_0x5bb7[_0xf50820];return _0x2a9b10;};'use strict';var Sequelize=require(_0x75bb('0x0'));module['exports']={'calldate':{'type':Sequelize[_0x75bb('0x1')],'allowNull':![],'defaultValue':_0x75bb('0x2')},'clid':{'type':Sequelize['STRING']},'src':{'type':Sequelize['STRING']},'dst':{'type':Sequelize[_0x75bb('0x3')]},'dcontext':{'type':Sequelize['STRING']},'channel':{'type':Sequelize[_0x75bb('0x3')]},'dstchannel':{'type':Sequelize[_0x75bb('0x3')]},'lastapp':{'type':Sequelize[_0x75bb('0x3')]},'lastdata':{'type':Sequelize[_0x75bb('0x3')]},'duration':{'type':Sequelize[_0x75bb('0x4')],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize[_0x75bb('0x4')],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize[_0x75bb('0x3')]},'amaflags':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize[_0x75bb('0x3')]},'userfield':{'type':Sequelize[_0x75bb('0x3')]},'uniqueid':{'type':Sequelize[_0x75bb('0x3')]},'linkedid':{'type':Sequelize[_0x75bb('0x3')]},'sequence':{'type':Sequelize[_0x75bb('0x3')]},'peeraccount':{'type':Sequelize[_0x75bb('0x3')]},'type':{'type':Sequelize[_0x75bb('0x3')]},'tag':{'type':Sequelize[_0x75bb('0x3')]}};