Built motion from commit (unavailable).|2.5.31
[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 _0x5787=['lodash','util','api','moment','path','rimraf','./voiceAgentReport.attributes','exports','define','report_agent','uniqueid','destuniqueid'];(function(_0x46e363,_0x45d7e2){var _0x3fb059=function(_0x5e6274){while(--_0x5e6274){_0x46e363['push'](_0x46e363['shift']());}};_0x3fb059(++_0x45d7e2);}(_0x5787,0x9c));var _0x7578=function(_0x4aef55,_0x368546){_0x4aef55=_0x4aef55-0x0;var _0x18fdbd=_0x5787[_0x4aef55];return _0x18fdbd;};'use strict';var _=require(_0x7578('0x0'));var util=require(_0x7578('0x1'));var logger=require('../../config/logger')(_0x7578('0x2'));var moment=require(_0x7578('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x7578('0x4'));var rimraf=require(_0x7578('0x5'));var config=require('../../config/environment');var attributes=require(_0x7578('0x6'));module[_0x7578('0x7')]=function(_0x126775,_0x114b1a){return _0x126775[_0x7578('0x8')]('VoiceAgentReport',attributes,{'tableName':_0x7578('0x9'),'paranoid':![],'indexes':[{'fields':[_0x7578('0xa'),_0x7578('0xb')]}],'timestamps':!![]});};