c6c0d1d527a08d910abcd8532dd3217f67d6dfe7
[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 _0x8e1b=['sequelize','1970-01-01\x2000:00:01','STRING','INTEGER'];(function(_0x413feb,_0x10477f){var _0x40ee88=function(_0x32a3f6){while(--_0x32a3f6){_0x413feb['push'](_0x413feb['shift']());}};_0x40ee88(++_0x10477f);}(_0x8e1b,0x114));var _0xb8e1=function(_0x29df50,_0x51564a){_0x29df50=_0x29df50-0x0;var _0x4043dd=_0x8e1b[_0x29df50];return _0x4043dd;};'use strict';var Sequelize=require(_0xb8e1('0x0'));module['exports']={'calldate':{'type':Sequelize['DATE'],'allowNull':![],'defaultValue':_0xb8e1('0x1')},'clid':{'type':Sequelize[_0xb8e1('0x2')]},'src':{'type':Sequelize[_0xb8e1('0x2')]},'dst':{'type':Sequelize[_0xb8e1('0x2')]},'dcontext':{'type':Sequelize[_0xb8e1('0x2')]},'channel':{'type':Sequelize[_0xb8e1('0x2')]},'dstchannel':{'type':Sequelize['STRING']},'lastapp':{'type':Sequelize[_0xb8e1('0x2')]},'lastdata':{'type':Sequelize['STRING']},'duration':{'type':Sequelize[_0xb8e1('0x3')],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize[_0xb8e1('0x3')],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize[_0xb8e1('0x2')]},'amaflags':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize[_0xb8e1('0x2')]},'userfield':{'type':Sequelize[_0xb8e1('0x2')]},'uniqueid':{'type':Sequelize[_0xb8e1('0x2')]},'linkedid':{'type':Sequelize[_0xb8e1('0x2')]},'sequence':{'type':Sequelize[_0xb8e1('0x2')]},'peeraccount':{'type':Sequelize[_0xb8e1('0x2')]},'type':{'type':Sequelize[_0xb8e1('0x2')]},'tag':{'type':Sequelize[_0xb8e1('0x2')]}};