4d523252656f06f8a8dfa345ebe65bff97da9284
[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 _0x4615=['exports','define','VoiceAgentReport','uniqueid','destuniqueid','lodash','api','moment','request-promise','path','rimraf','../../config/environment','./voiceAgentReport.attributes'];(function(_0x5c6694,_0x83a29b){var _0x570cce=function(_0x48cbb1){while(--_0x48cbb1){_0x5c6694['push'](_0x5c6694['shift']());}};_0x570cce(++_0x83a29b);}(_0x4615,0xae));var _0x5461=function(_0x344c2f,_0xd8aef6){_0x344c2f=_0x344c2f-0x0;var _0x5cdc48=_0x4615[_0x344c2f];return _0x5cdc48;};'use strict';var _=require(_0x5461('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x5461('0x1'));var moment=require(_0x5461('0x2'));var BPromise=require('bluebird');var rp=require(_0x5461('0x3'));var fs=require('fs');var path=require(_0x5461('0x4'));var rimraf=require(_0x5461('0x5'));var config=require(_0x5461('0x6'));var attributes=require(_0x5461('0x7'));module[_0x5461('0x8')]=function(_0x1e4d2c,_0x55b924){return _0x1e4d2c[_0x5461('0x9')](_0x5461('0xa'),attributes,{'tableName':'report_agent','paranoid':![],'indexes':[{'fields':[_0x5461('0xb'),_0x5461('0xc')]}],'timestamps':!![]});};