66a8daba3e60867945770b99314cabe535a3ad61
[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 _0xd52a=['STRING','exports','1970-01-01\x2000:00:01'];(function(_0x17fc80,_0x1a87b1){var _0x4b145b=function(_0x38c32a){while(--_0x38c32a){_0x17fc80['push'](_0x17fc80['shift']());}};_0x4b145b(++_0x1a87b1);}(_0xd52a,0xca));var _0xad52=function(_0x4cf44d,_0x583610){_0x4cf44d=_0x4cf44d-0x0;var _0x508789=_0xd52a[_0x4cf44d];return _0x508789;};'use strict';var Sequelize=require('sequelize');module[_0xad52('0x0')]={'calldate':{'type':Sequelize['DATE'],'allowNull':![],'defaultValue':_0xad52('0x1')},'clid':{'type':Sequelize[_0xad52('0x2')]},'src':{'type':Sequelize[_0xad52('0x2')]},'dst':{'type':Sequelize['STRING']},'dcontext':{'type':Sequelize[_0xad52('0x2')]},'channel':{'type':Sequelize[_0xad52('0x2')]},'dstchannel':{'type':Sequelize[_0xad52('0x2')]},'lastapp':{'type':Sequelize[_0xad52('0x2')]},'lastdata':{'type':Sequelize['STRING']},'duration':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'billsec':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'disposition':{'type':Sequelize[_0xad52('0x2')]},'amaflags':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x0},'accountcode':{'type':Sequelize[_0xad52('0x2')]},'userfield':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0xad52('0x2')]},'linkedid':{'type':Sequelize[_0xad52('0x2')]},'sequence':{'type':Sequelize['STRING']},'peeraccount':{'type':Sequelize[_0xad52('0x2')]},'type':{'type':Sequelize['STRING']},'tag':{'type':Sequelize[_0xad52('0x2')]}};