Built motion from commit 87cd5f02.|2.5.48
[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 _0x87f8=['STRING','INTEGER','1970-01-01\x2000:00:01'];(function(_0x57b54c,_0x54ce0d){var _0x59cc19=function(_0xa33bc6){while(--_0xa33bc6){_0x57b54c['push'](_0x57b54c['shift']());}};_0x59cc19(++_0x54ce0d);}(_0x87f8,0x152));var _0x887f=function(_0x350c86,_0x176caa){_0x350c86=_0x350c86-0x0;var _0x59992f=_0x87f8[_0x350c86];return _0x59992f;};'use strict';var Sequelize=require('sequelize');module['exports']={'calldate':{'type':Sequelize['DATE'],'allowNull':![],'defaultValue':_0x887f('0x0')},'clid':{'type':Sequelize[_0x887f('0x1')]},'src':{'type':Sequelize['STRING']},'dst':{'type':Sequelize[_0x887f('0x1')]},'dcontext':{'type':Sequelize['STRING']},'channel':{'type':Sequelize[_0x887f('0x1')]},'dstchannel':{'type':Sequelize[_0x887f('0x1')]},'lastapp':{'type':Sequelize[_0x887f('0x1')]},'lastdata':{'type':Sequelize[_0x887f('0x1')]},'duration':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize[_0x887f('0x2')],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize[_0x887f('0x1')]},'amaflags':{'type':Sequelize[_0x887f('0x2')],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize[_0x887f('0x1')]},'userfield':{'type':Sequelize[_0x887f('0x1')]},'uniqueid':{'type':Sequelize[_0x887f('0x1')]},'linkedid':{'type':Sequelize[_0x887f('0x1')]},'sequence':{'type':Sequelize['STRING']},'peeraccount':{'type':Sequelize[_0x887f('0x1')]},'type':{'type':Sequelize['STRING']},'tag':{'type':Sequelize[_0x887f('0x1')]}};