2f0aa8e8a508f835322b1800b548210f506f1da0
[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 _0x6075=['STRING','INTEGER','DATE','1970-01-01\x2000:00:01'];(function(_0x122cc1,_0x5c956e){var _0x1e33af=function(_0x949b75){while(--_0x949b75){_0x122cc1['push'](_0x122cc1['shift']());}};_0x1e33af(++_0x5c956e);}(_0x6075,0x15e));var _0x5607=function(_0x552656,_0x592e75){_0x552656=_0x552656-0x0;var _0x15227a=_0x6075[_0x552656];return _0x15227a;};'use strict';var Sequelize=require('sequelize');module['exports']={'calldate':{'type':Sequelize[_0x5607('0x0')],'allowNull':![],'defaultValue':_0x5607('0x1')},'clid':{'type':Sequelize[_0x5607('0x2')]},'src':{'type':Sequelize['STRING']},'dst':{'type':Sequelize[_0x5607('0x2')]},'dcontext':{'type':Sequelize[_0x5607('0x2')]},'channel':{'type':Sequelize[_0x5607('0x2')]},'dstchannel':{'type':Sequelize[_0x5607('0x2')]},'lastapp':{'type':Sequelize[_0x5607('0x2')]},'lastdata':{'type':Sequelize[_0x5607('0x2')]},'duration':{'type':Sequelize[_0x5607('0x3')],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize[_0x5607('0x3')],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize[_0x5607('0x2')]},'amaflags':{'type':Sequelize[_0x5607('0x3')],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize[_0x5607('0x2')]},'userfield':{'type':Sequelize[_0x5607('0x2')]},'uniqueid':{'type':Sequelize[_0x5607('0x2')]},'linkedid':{'type':Sequelize[_0x5607('0x2')]},'sequence':{'type':Sequelize[_0x5607('0x2')]},'peeraccount':{'type':Sequelize[_0x5607('0x2')]},'type':{'type':Sequelize[_0x5607('0x2')]},'tag':{'type':Sequelize[_0x5607('0x2')]}};