Built motion from commit 19a84241.|2.5.34
[motion2.git] / server / api / voiceCallReport / voiceCallReport.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 _0x63ad=['STRING','inbound-fax','outbound-fax','TEXT','DATE','INTEGER','exports'];(function(_0x1e00c4,_0xa0bd3b){var _0x3de6a9=function(_0xde64e4){while(--_0xde64e4){_0x1e00c4['push'](_0x1e00c4['shift']());}};_0x3de6a9(++_0xa0bd3b);}(_0x63ad,0x7d));var _0xd63a=function(_0x352501,_0xda45f3){_0x352501=_0x352501-0x0;var _0x4d1c5f=_0x63ad[_0x352501];return _0x4d1c5f;};'use strict';var Sequelize=require('sequelize');module[_0xd63a('0x0')]={'uniqueid':{'type':Sequelize[_0xd63a('0x1')]},'type':{'type':Sequelize['ENUM']('inbound','internal','outbound',_0xd63a('0x2'),_0xd63a('0x3'),'dialer')},'tag':{'type':Sequelize[_0xd63a('0x1')]},'accountcode':{'type':Sequelize[_0xd63a('0x1')]},'source':{'type':Sequelize[_0xd63a('0x1')]},'destination':{'type':Sequelize[_0xd63a('0x1')]},'destinationcontext':{'type':Sequelize[_0xd63a('0x1')]},'callerid':{'type':Sequelize[_0xd63a('0x1')]},'channel':{'type':Sequelize['STRING']},'destinationchannel':{'type':Sequelize[_0xd63a('0x1')]},'lastapplication':{'type':Sequelize['STRING']},'lastdata':{'type':Sequelize[_0xd63a('0x4')]},'starttime':{'type':Sequelize['DATE']},'systemanswertime':{'type':Sequelize[_0xd63a('0x5')]},'answertime':{'type':Sequelize[_0xd63a('0x5')]},'endtime':{'type':Sequelize[_0xd63a('0x5')]},'duration':{'type':Sequelize['INTEGER']},'billableseconds':{'type':Sequelize['INTEGER']},'mohtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'disposition':{'type':Sequelize[_0xd63a('0x1')]},'amaflags':{'type':Sequelize['STRING']},'userfield':{'type':Sequelize[_0xd63a('0x1')]},'userDisposition':{'type':Sequelize[_0xd63a('0x1')]},'userSecondDisposition':{'type':Sequelize['STRING']},'userThirdDisposition':{'type':Sequelize[_0xd63a('0x1')]},'note':{'type':Sequelize[_0xd63a('0x1')]},'prefix':{'type':Sequelize[_0xd63a('0x1')]},'routeid':{'type':Sequelize[_0xd63a('0x6')]},'sipcallid':{'type':Sequelize[_0xd63a('0x1')]}};