c8525733f75422b3666757e67eee1ff04f4ff196
[motion2.git] / server / api / voiceAgentReport / voiceAgentReport.model.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 _0x68f5=['bluebird','request-promise','path','rimraf','./voiceAgentReport.attributes','exports','report_agent','uniqueid','destuniqueid','lodash','util','../../config/logger','moment'];(function(_0x3e0732,_0xf14392){var _0x6075f8=function(_0x252038){while(--_0x252038){_0x3e0732['push'](_0x3e0732['shift']());}};_0x6075f8(++_0xf14392);}(_0x68f5,0x11a));var _0x568f=function(_0x22f234,_0x4e7aa4){_0x22f234=_0x22f234-0x0;var _0x3d345f=_0x68f5[_0x22f234];return _0x3d345f;};'use strict';var _=require(_0x568f('0x0'));var util=require(_0x568f('0x1'));var logger=require(_0x568f('0x2'))('api');var moment=require(_0x568f('0x3'));var BPromise=require(_0x568f('0x4'));var rp=require(_0x568f('0x5'));var fs=require('fs');var path=require(_0x568f('0x6'));var rimraf=require(_0x568f('0x7'));var config=require('../../config/environment');var attributes=require(_0x568f('0x8'));module[_0x568f('0x9')]=function(_0x31444b,_0x3181fd){return _0x31444b['define']('VoiceAgentReport',attributes,{'tableName':_0x568f('0xa'),'paranoid':![],'indexes':[{'fields':[_0x568f('0xb'),_0x568f('0xc')]}],'timestamps':!![]});};