1676749b5af9947c888cc12ac25f96aa864be627
[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 _0xc66d=['STRING','INTEGER','sequelize','DATE'];(function(_0x634dd9,_0x6a0ddf){var _0x1d46c1=function(_0x80a080){while(--_0x80a080){_0x634dd9['push'](_0x634dd9['shift']());}};_0x1d46c1(++_0x6a0ddf);}(_0xc66d,0xa6));var _0xdc66=function(_0x276403,_0x569daf){_0x276403=_0x276403-0x0;var _0x468472=_0xc66d[_0x276403];return _0x468472;};'use strict';var Sequelize=require(_0xdc66('0x0'));module['exports']={'calldate':{'type':Sequelize[_0xdc66('0x1')],'allowNull':![],'defaultValue':'1970-01-01\x2000:00:01'},'clid':{'type':Sequelize[_0xdc66('0x2')]},'src':{'type':Sequelize['STRING']},'dst':{'type':Sequelize[_0xdc66('0x2')]},'dcontext':{'type':Sequelize[_0xdc66('0x2')]},'channel':{'type':Sequelize[_0xdc66('0x2')]},'dstchannel':{'type':Sequelize[_0xdc66('0x2')]},'lastapp':{'type':Sequelize['STRING']},'lastdata':{'type':Sequelize[_0xdc66('0x2')]},'duration':{'type':Sequelize[_0xdc66('0x3')],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize[_0xdc66('0x3')],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize[_0xdc66('0x2')]},'amaflags':{'type':Sequelize[_0xdc66('0x3')],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize[_0xdc66('0x2')]},'userfield':{'type':Sequelize[_0xdc66('0x2')]},'uniqueid':{'type':Sequelize[_0xdc66('0x2')]},'linkedid':{'type':Sequelize[_0xdc66('0x2')]},'sequence':{'type':Sequelize['STRING']},'peeraccount':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0xdc66('0x2')]},'tag':{'type':Sequelize['STRING']}};