25bff745dfd5fa3ba3078efc1e5ffa34475e4c7a
[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 _0x59fd=['exports','DATE','1970-01-01\x2000:00:01','STRING','INTEGER','sequelize'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x59fd,0x11f));var _0xd59f=function(_0x231d17,_0x177f9d){_0x231d17=_0x231d17-0x0;var _0x3da4d3=_0x59fd[_0x231d17];return _0x3da4d3;};'use strict';var Sequelize=require(_0xd59f('0x0'));module[_0xd59f('0x1')]={'calldate':{'type':Sequelize[_0xd59f('0x2')],'allowNull':![],'defaultValue':_0xd59f('0x3')},'clid':{'type':Sequelize[_0xd59f('0x4')]},'src':{'type':Sequelize[_0xd59f('0x4')]},'dst':{'type':Sequelize[_0xd59f('0x4')]},'dcontext':{'type':Sequelize['STRING']},'channel':{'type':Sequelize[_0xd59f('0x4')]},'dstchannel':{'type':Sequelize[_0xd59f('0x4')]},'lastapp':{'type':Sequelize['STRING']},'lastdata':{'type':Sequelize[_0xd59f('0x4')]},'duration':{'type':Sequelize[_0xd59f('0x5')],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize[_0xd59f('0x4')]},'amaflags':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize[_0xd59f('0x4')]},'userfield':{'type':Sequelize[_0xd59f('0x4')]},'uniqueid':{'type':Sequelize[_0xd59f('0x4')]},'linkedid':{'type':Sequelize['STRING']},'sequence':{'type':Sequelize[_0xd59f('0x4')]},'peeraccount':{'type':Sequelize[_0xd59f('0x4')]},'type':{'type':Sequelize['STRING']},'tag':{'type':Sequelize[_0xd59f('0x4')]}};