Built motion from commit 0415ced0.|2.6.28
[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 _0x61df=['moment','request-promise','path','../../config/environment','./voiceAgentReport.attributes','exports','define','report_agent','destuniqueid','api'];(function(_0x42c885,_0x8b3892){var _0x391b7f=function(_0x5bf260){while(--_0x5bf260){_0x42c885['push'](_0x42c885['shift']());}};_0x391b7f(++_0x8b3892);}(_0x61df,0xbd));var _0xf61d=function(_0x18378c,_0x574c41){_0x18378c=_0x18378c-0x0;var _0x29688e=_0x61df[_0x18378c];return _0x29688e;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0xf61d('0x0'));var moment=require(_0xf61d('0x1'));var BPromise=require('bluebird');var rp=require(_0xf61d('0x2'));var fs=require('fs');var path=require(_0xf61d('0x3'));var rimraf=require('rimraf');var config=require(_0xf61d('0x4'));var attributes=require(_0xf61d('0x5'));module[_0xf61d('0x6')]=function(_0x458eb9,_0x2d0791){return _0x458eb9[_0xf61d('0x7')]('VoiceAgentReport',attributes,{'tableName':_0xf61d('0x8'),'paranoid':![],'indexes':[{'fields':['uniqueid',_0xf61d('0x9')]}],'timestamps':!![]});};