Built motion from commit eddce310.|2.6.12
[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 _0xa566=['../../config/logger','moment','bluebird','request-promise','path','../../config/environment','define','report_agent','destuniqueid','lodash','util'];(function(_0x2030b1,_0x197c43){var _0x420e0f=function(_0x5a3d48){while(--_0x5a3d48){_0x2030b1['push'](_0x2030b1['shift']());}};_0x420e0f(++_0x197c43);}(_0xa566,0x1c1));var _0x6a56=function(_0xc04082,_0x1de0e9){_0xc04082=_0xc04082-0x0;var _0x720081=_0xa566[_0xc04082];return _0x720081;};'use strict';var _=require(_0x6a56('0x0'));var util=require(_0x6a56('0x1'));var logger=require(_0x6a56('0x2'))('api');var moment=require(_0x6a56('0x3'));var BPromise=require(_0x6a56('0x4'));var rp=require(_0x6a56('0x5'));var fs=require('fs');var path=require(_0x6a56('0x6'));var rimraf=require('rimraf');var config=require(_0x6a56('0x7'));var attributes=require('./voiceAgentReport.attributes');module['exports']=function(_0x4c58b0,_0x47ecb8){return _0x4c58b0[_0x6a56('0x8')]('VoiceAgentReport',attributes,{'tableName':_0x6a56('0x9'),'paranoid':![],'indexes':[{'fields':['uniqueid',_0x6a56('0xa')]}],'timestamps':!![]});};