b0d5272471e0d8c06b04a04cc0a45419cab0371e
[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 _0xcbe1=['INTEGER','exports','STRING'];(function(_0x4a9fb1,_0x273043){var _0x348672=function(_0x142b69){while(--_0x142b69){_0x4a9fb1['push'](_0x4a9fb1['shift']());}};_0x348672(++_0x273043);}(_0xcbe1,0x1a2));var _0x1cbe=function(_0x5e848d,_0x1dbd20){_0x5e848d=_0x5e848d-0x0;var _0x3785e5=_0xcbe1[_0x5e848d];return _0x3785e5;};'use strict';var Sequelize=require('sequelize');module[_0x1cbe('0x0')]={'calldate':{'type':Sequelize['DATE'],'allowNull':![],'defaultValue':'1970-01-01\x2000:00:01'},'clid':{'type':Sequelize['STRING']},'src':{'type':Sequelize['STRING']},'dst':{'type':Sequelize[_0x1cbe('0x1')]},'dcontext':{'type':Sequelize[_0x1cbe('0x1')]},'channel':{'type':Sequelize['STRING']},'dstchannel':{'type':Sequelize[_0x1cbe('0x1')]},'lastapp':{'type':Sequelize['STRING']},'lastdata':{'type':Sequelize[_0x1cbe('0x1')]},'duration':{'type':Sequelize[_0x1cbe('0x2')],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize[_0x1cbe('0x1')]},'amaflags':{'type':Sequelize[_0x1cbe('0x2')],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize[_0x1cbe('0x1')]},'userfield':{'type':Sequelize[_0x1cbe('0x1')]},'uniqueid':{'type':Sequelize[_0x1cbe('0x1')]},'linkedid':{'type':Sequelize[_0x1cbe('0x1')]},'sequence':{'type':Sequelize[_0x1cbe('0x1')]},'peeraccount':{'type':Sequelize[_0x1cbe('0x1')]},'type':{'type':Sequelize['STRING']},'tag':{'type':Sequelize[_0x1cbe('0x1')]}};