5b60edbcf02cc6e0fb88df788a6c7c57c75f5cb7
[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 _0x1855=['INTEGER','sequelize','STRING'];(function(_0x4f4aeb,_0x1bd8ec){var _0x5a2f2a=function(_0x2ff6c0){while(--_0x2ff6c0){_0x4f4aeb['push'](_0x4f4aeb['shift']());}};_0x5a2f2a(++_0x1bd8ec);}(_0x1855,0xe8));var _0x5185=function(_0x4e6ae6,_0x49dba6){_0x4e6ae6=_0x4e6ae6-0x0;var _0x23c108=_0x1855[_0x4e6ae6];return _0x23c108;};'use strict';var Sequelize=require(_0x5185('0x0'));module['exports']={'calldate':{'type':Sequelize['DATE'],'allowNull':![],'defaultValue':'1970-01-01\x2000:00:01'},'clid':{'type':Sequelize['STRING']},'src':{'type':Sequelize[_0x5185('0x1')]},'dst':{'type':Sequelize[_0x5185('0x1')]},'dcontext':{'type':Sequelize[_0x5185('0x1')]},'channel':{'type':Sequelize[_0x5185('0x1')]},'dstchannel':{'type':Sequelize[_0x5185('0x1')]},'lastapp':{'type':Sequelize['STRING']},'lastdata':{'type':Sequelize[_0x5185('0x1')]},'duration':{'type':Sequelize[_0x5185('0x2')],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize[_0x5185('0x1')]},'amaflags':{'type':Sequelize[_0x5185('0x2')],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize[_0x5185('0x1')]},'userfield':{'type':Sequelize[_0x5185('0x1')]},'uniqueid':{'type':Sequelize[_0x5185('0x1')]},'linkedid':{'type':Sequelize[_0x5185('0x1')]},'sequence':{'type':Sequelize[_0x5185('0x1')]},'peeraccount':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x5185('0x1')]},'tag':{'type':Sequelize[_0x5185('0x1')]}};