344d85980ba2ff0663c4a32dc249021fea731005
[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 _0xf2fa=['sequelize','1970-01-01\x2000:00:01','STRING','INTEGER'];(function(_0x5b3045,_0xf7a61a){var _0x33fc21=function(_0x5dd7ef){while(--_0x5dd7ef){_0x5b3045['push'](_0x5b3045['shift']());}};_0x33fc21(++_0xf7a61a);}(_0xf2fa,0xd0));var _0xaf2f=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xf2fa[_0x321bb2];return _0x9c12ed;};'use strict';var Sequelize=require(_0xaf2f('0x0'));module['exports']={'calldate':{'type':Sequelize['DATE'],'allowNull':![],'defaultValue':_0xaf2f('0x1')},'clid':{'type':Sequelize[_0xaf2f('0x2')]},'src':{'type':Sequelize[_0xaf2f('0x2')]},'dst':{'type':Sequelize[_0xaf2f('0x2')]},'dcontext':{'type':Sequelize[_0xaf2f('0x2')]},'channel':{'type':Sequelize[_0xaf2f('0x2')]},'dstchannel':{'type':Sequelize[_0xaf2f('0x2')]},'lastapp':{'type':Sequelize['STRING']},'lastdata':{'type':Sequelize['STRING']},'duration':{'type':Sequelize[_0xaf2f('0x3')],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize[_0xaf2f('0x2')]},'amaflags':{'type':Sequelize[_0xaf2f('0x3')],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize[_0xaf2f('0x2')]},'userfield':{'type':Sequelize[_0xaf2f('0x2')]},'uniqueid':{'type':Sequelize[_0xaf2f('0x2')]},'linkedid':{'type':Sequelize['STRING']},'sequence':{'type':Sequelize['STRING']},'peeraccount':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0xaf2f('0x2')]},'tag':{'type':Sequelize[_0xaf2f('0x2')]}};