Built motion from commit (unavailable).|2.5.14
[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 _0x4310=['bluebird','request-promise','path','../../config/environment','./voiceAgentReport.attributes','exports','define','VoiceAgentReport','lodash','util','../../config/logger','moment'];(function(_0x341c83,_0x2adfad){var _0x34ef0f=function(_0x59bb0f){while(--_0x59bb0f){_0x341c83['push'](_0x341c83['shift']());}};_0x34ef0f(++_0x2adfad);}(_0x4310,0x110));var _0x0431=function(_0x5774f2,_0x4905bb){_0x5774f2=_0x5774f2-0x0;var _0x483f77=_0x4310[_0x5774f2];return _0x483f77;};'use strict';var _=require(_0x0431('0x0'));var util=require(_0x0431('0x1'));var logger=require(_0x0431('0x2'))('api');var moment=require(_0x0431('0x3'));var BPromise=require(_0x0431('0x4'));var rp=require(_0x0431('0x5'));var fs=require('fs');var path=require(_0x0431('0x6'));var rimraf=require('rimraf');var config=require(_0x0431('0x7'));var attributes=require(_0x0431('0x8'));module[_0x0431('0x9')]=function(_0x20168a,_0x4fa14a){return _0x20168a[_0x0431('0xa')](_0x0431('0xb'),attributes,{'tableName':'report_agent','paranoid':![],'indexes':[{'fields':['uniqueid','destuniqueid']}],'timestamps':!![]});};