Built motion from commit (unavailable).|2.5.10
[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 _0xda82=['bluebird','request-promise','path','rimraf','../../config/environment','./voiceAgentReport.attributes','exports','define','report_agent','destuniqueid','lodash','util','api'];(function(_0x4b91c4,_0x23f35f){var _0x25cb80=function(_0x48e283){while(--_0x48e283){_0x4b91c4['push'](_0x4b91c4['shift']());}};_0x25cb80(++_0x23f35f);}(_0xda82,0xa6));var _0x2da8=function(_0x2afb8c,_0x469045){_0x2afb8c=_0x2afb8c-0x0;var _0x47ef93=_0xda82[_0x2afb8c];return _0x47ef93;};'use strict';var _=require(_0x2da8('0x0'));var util=require(_0x2da8('0x1'));var logger=require('../../config/logger')(_0x2da8('0x2'));var moment=require('moment');var BPromise=require(_0x2da8('0x3'));var rp=require(_0x2da8('0x4'));var fs=require('fs');var path=require(_0x2da8('0x5'));var rimraf=require(_0x2da8('0x6'));var config=require(_0x2da8('0x7'));var attributes=require(_0x2da8('0x8'));module[_0x2da8('0x9')]=function(_0x591cbf,_0x1a3f4c){return _0x591cbf[_0x2da8('0xa')]('VoiceAgentReport',attributes,{'tableName':_0x2da8('0xb'),'paranoid':![],'indexes':[{'fields':['uniqueid',_0x2da8('0xc')]}],'timestamps':!![]});};