a29d8a32cc7651043329bfb1d8656f94fbdc2a37
[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 _0xaf93=['INTEGER','sequelize','exports','STRING'];(function(_0x2a336f,_0x4f3a70){var _0x2f0184=function(_0x5494a8){while(--_0x5494a8){_0x2a336f['push'](_0x2a336f['shift']());}};_0x2f0184(++_0x4f3a70);}(_0xaf93,0x151));var _0x3af9=function(_0x3f73b2,_0x57c771){_0x3f73b2=_0x3f73b2-0x0;var _0x202dd8=_0xaf93[_0x3f73b2];return _0x202dd8;};'use strict';var Sequelize=require(_0x3af9('0x0'));module[_0x3af9('0x1')]={'calldate':{'type':Sequelize['DATE'],'allowNull':![],'defaultValue':'1970-01-01\x2000:00:01'},'clid':{'type':Sequelize[_0x3af9('0x2')]},'src':{'type':Sequelize[_0x3af9('0x2')]},'dst':{'type':Sequelize['STRING']},'dcontext':{'type':Sequelize[_0x3af9('0x2')]},'channel':{'type':Sequelize[_0x3af9('0x2')]},'dstchannel':{'type':Sequelize[_0x3af9('0x2')]},'lastapp':{'type':Sequelize[_0x3af9('0x2')]},'lastdata':{'type':Sequelize[_0x3af9('0x2')]},'duration':{'type':Sequelize[_0x3af9('0x3')],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize[_0x3af9('0x3')],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize['STRING']},'amaflags':{'type':Sequelize[_0x3af9('0x3')],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize['STRING']},'userfield':{'type':Sequelize[_0x3af9('0x2')]},'uniqueid':{'type':Sequelize['STRING']},'linkedid':{'type':Sequelize['STRING']},'sequence':{'type':Sequelize[_0x3af9('0x2')]},'peeraccount':{'type':Sequelize['STRING']},'type':{'type':Sequelize['STRING']},'tag':{'type':Sequelize[_0x3af9('0x2')]}};