Built motion from commit (unavailable).|2.5.10
[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 _0x1758=['DATE','STRING','INTEGER'];(function(_0x575057,_0x14baf3){var _0x49dbc8=function(_0x23599a){while(--_0x23599a){_0x575057['push'](_0x575057['shift']());}};_0x49dbc8(++_0x14baf3);}(_0x1758,0x8a));var _0x8175=function(_0x1696e,_0x32a2a9){_0x1696e=_0x1696e-0x0;var _0x56b168=_0x1758[_0x1696e];return _0x56b168;};'use strict';var Sequelize=require('sequelize');module['exports']={'calldate':{'type':Sequelize[_0x8175('0x0')],'allowNull':![],'defaultValue':'1970-01-01\x2000:00:01'},'clid':{'type':Sequelize['STRING']},'src':{'type':Sequelize[_0x8175('0x1')]},'dst':{'type':Sequelize['STRING']},'dcontext':{'type':Sequelize['STRING']},'channel':{'type':Sequelize[_0x8175('0x1')]},'dstchannel':{'type':Sequelize[_0x8175('0x1')]},'lastapp':{'type':Sequelize[_0x8175('0x1')]},'lastdata':{'type':Sequelize[_0x8175('0x1')]},'duration':{'type':Sequelize[_0x8175('0x2')],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize[_0x8175('0x2')],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize[_0x8175('0x1')]},'amaflags':{'type':Sequelize[_0x8175('0x2')],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize[_0x8175('0x1')]},'userfield':{'type':Sequelize[_0x8175('0x1')]},'uniqueid':{'type':Sequelize[_0x8175('0x1')]},'linkedid':{'type':Sequelize['STRING']},'sequence':{'type':Sequelize[_0x8175('0x1')]},'peeraccount':{'type':Sequelize[_0x8175('0x1')]},'type':{'type':Sequelize[_0x8175('0x1')]},'tag':{'type':Sequelize[_0x8175('0x1')]}};