Built motion from commit (unavailable).|2.5.21
[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 _0xc58a=['uniqueid','destuniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','report_agent'];(function(_0x397cfb,_0xb8f317){var _0x15fed9=function(_0x3eba43){while(--_0x3eba43){_0x397cfb['push'](_0x397cfb['shift']());}};_0x15fed9(++_0xb8f317);}(_0xc58a,0x101));var _0xac58=function(_0x3a2a3c,_0x37bd31){_0x3a2a3c=_0x3a2a3c-0x0;var _0x50ac9a=_0xc58a[_0x3a2a3c];return _0x50ac9a;};'use strict';var _=require(_0xac58('0x0'));var util=require(_0xac58('0x1'));var logger=require(_0xac58('0x2'))(_0xac58('0x3'));var moment=require(_0xac58('0x4'));var BPromise=require(_0xac58('0x5'));var rp=require(_0xac58('0x6'));var fs=require('fs');var path=require(_0xac58('0x7'));var rimraf=require(_0xac58('0x8'));var config=require(_0xac58('0x9'));var attributes=require('./voiceAgentReport.attributes');module[_0xac58('0xa')]=function(_0x2d75cd,_0x148965){return _0x2d75cd[_0xac58('0xb')]('VoiceAgentReport',attributes,{'tableName':_0xac58('0xc'),'paranoid':![],'indexes':[{'fields':[_0xac58('0xd'),_0xac58('0xe')]}],'timestamps':!![]});};