1fd7dead7b53aeaa08a76ce889198f437a8384e3
[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 _0x0545=['DATE','1970-01-01\x2000:00:01','STRING','INTEGER','sequelize','exports'];(function(_0x166742,_0x55520c){var _0xb7814a=function(_0x18feaf){while(--_0x18feaf){_0x166742['push'](_0x166742['shift']());}};_0xb7814a(++_0x55520c);}(_0x0545,0x17e));var _0x5054=function(_0x116552,_0x2fd568){_0x116552=_0x116552-0x0;var _0x14552d=_0x0545[_0x116552];return _0x14552d;};'use strict';var Sequelize=require(_0x5054('0x0'));module[_0x5054('0x1')]={'calldate':{'type':Sequelize[_0x5054('0x2')],'allowNull':![],'defaultValue':_0x5054('0x3')},'clid':{'type':Sequelize[_0x5054('0x4')]},'src':{'type':Sequelize[_0x5054('0x4')]},'dst':{'type':Sequelize[_0x5054('0x4')]},'dcontext':{'type':Sequelize[_0x5054('0x4')]},'channel':{'type':Sequelize[_0x5054('0x4')]},'dstchannel':{'type':Sequelize[_0x5054('0x4')]},'lastapp':{'type':Sequelize[_0x5054('0x4')]},'lastdata':{'type':Sequelize[_0x5054('0x4')]},'duration':{'type':Sequelize[_0x5054('0x5')],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize[_0x5054('0x5')],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize[_0x5054('0x4')]},'amaflags':{'type':Sequelize[_0x5054('0x5')],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize[_0x5054('0x4')]},'userfield':{'type':Sequelize[_0x5054('0x4')]},'uniqueid':{'type':Sequelize[_0x5054('0x4')]},'linkedid':{'type':Sequelize[_0x5054('0x4')]},'sequence':{'type':Sequelize['STRING']},'peeraccount':{'type':Sequelize[_0x5054('0x4')]},'type':{'type':Sequelize[_0x5054('0x4')]},'tag':{'type':Sequelize[_0x5054('0x4')]}};