8308606d491c957f72ebff5fb30e831045bb436b
[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 _0x6324=['DATE','1970-01-01\x2000:00:01','STRING','INTEGER','sequelize','exports'];(function(_0x1c8bb1,_0x5621e8){var _0x1f5c9f=function(_0x2293ad){while(--_0x2293ad){_0x1c8bb1['push'](_0x1c8bb1['shift']());}};_0x1f5c9f(++_0x5621e8);}(_0x6324,0x142));var _0x4632=function(_0x51af96,_0x42104c){_0x51af96=_0x51af96-0x0;var _0x2bb16b=_0x6324[_0x51af96];return _0x2bb16b;};'use strict';var Sequelize=require(_0x4632('0x0'));module[_0x4632('0x1')]={'calldate':{'type':Sequelize[_0x4632('0x2')],'allowNull':![],'defaultValue':_0x4632('0x3')},'clid':{'type':Sequelize['STRING']},'src':{'type':Sequelize[_0x4632('0x4')]},'dst':{'type':Sequelize['STRING']},'dcontext':{'type':Sequelize[_0x4632('0x4')]},'channel':{'type':Sequelize['STRING']},'dstchannel':{'type':Sequelize[_0x4632('0x4')]},'lastapp':{'type':Sequelize['STRING']},'lastdata':{'type':Sequelize[_0x4632('0x4')]},'duration':{'type':Sequelize[_0x4632('0x5')],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize[_0x4632('0x5')],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize[_0x4632('0x4')]},'amaflags':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize[_0x4632('0x4')]},'userfield':{'type':Sequelize[_0x4632('0x4')]},'uniqueid':{'type':Sequelize[_0x4632('0x4')]},'linkedid':{'type':Sequelize['STRING']},'sequence':{'type':Sequelize[_0x4632('0x4')]},'peeraccount':{'type':Sequelize[_0x4632('0x4')]},'type':{'type':Sequelize['STRING']},'tag':{'type':Sequelize['STRING']}};