68192004c3a7ea1bb16426631a72a02d26481807
[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 _0x8aae=['STRING','INTEGER','sequelize','exports','DATE'];(function(_0x49b549,_0x571d60){var _0x30666d=function(_0x13d3e9){while(--_0x13d3e9){_0x49b549['push'](_0x49b549['shift']());}};_0x30666d(++_0x571d60);}(_0x8aae,0x138));var _0xe8aa=function(_0x9f6f96,_0x56c91a){_0x9f6f96=_0x9f6f96-0x0;var _0x390ead=_0x8aae[_0x9f6f96];return _0x390ead;};'use strict';var Sequelize=require(_0xe8aa('0x0'));module[_0xe8aa('0x1')]={'calldate':{'type':Sequelize[_0xe8aa('0x2')],'allowNull':![],'defaultValue':'1970-01-01\x2000:00:01'},'clid':{'type':Sequelize[_0xe8aa('0x3')]},'src':{'type':Sequelize[_0xe8aa('0x3')]},'dst':{'type':Sequelize[_0xe8aa('0x3')]},'dcontext':{'type':Sequelize['STRING']},'channel':{'type':Sequelize['STRING']},'dstchannel':{'type':Sequelize[_0xe8aa('0x3')]},'lastapp':{'type':Sequelize[_0xe8aa('0x3')]},'lastdata':{'type':Sequelize[_0xe8aa('0x3')]},'duration':{'type':Sequelize[_0xe8aa('0x4')],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize[_0xe8aa('0x4')],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize[_0xe8aa('0x3')]},'amaflags':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize['STRING']},'userfield':{'type':Sequelize[_0xe8aa('0x3')]},'uniqueid':{'type':Sequelize[_0xe8aa('0x3')]},'linkedid':{'type':Sequelize['STRING']},'sequence':{'type':Sequelize['STRING']},'peeraccount':{'type':Sequelize[_0xe8aa('0x3')]},'type':{'type':Sequelize[_0xe8aa('0x3')]},'tag':{'type':Sequelize[_0xe8aa('0x3')]}};