Built motion from commit 3e059bc2.|2.5.32
[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 _0x277c=['define','report_agent','uniqueid','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x34e62a,_0x114969){var _0x5f57ee=function(_0x275a5d){while(--_0x275a5d){_0x34e62a['push'](_0x34e62a['shift']());}};_0x5f57ee(++_0x114969);}(_0x277c,0x153));var _0xc277=function(_0x1ce604,_0x44714b){_0x1ce604=_0x1ce604-0x0;var _0x4f87f8=_0x277c[_0x1ce604];return _0x4f87f8;};'use strict';var _=require(_0xc277('0x0'));var util=require('util');var logger=require(_0xc277('0x1'))(_0xc277('0x2'));var moment=require(_0xc277('0x3'));var BPromise=require(_0xc277('0x4'));var rp=require(_0xc277('0x5'));var fs=require('fs');var path=require(_0xc277('0x6'));var rimraf=require(_0xc277('0x7'));var config=require(_0xc277('0x8'));var attributes=require('./voiceAgentReport.attributes');module['exports']=function(_0x1a6582,_0x5a4f03){return _0x1a6582[_0xc277('0x9')]('VoiceAgentReport',attributes,{'tableName':_0xc277('0xa'),'paranoid':![],'indexes':[{'fields':[_0xc277('0xb'),'destuniqueid']}],'timestamps':!![]});};