Built motion from commit (unavailable).|2.5.26
[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 _0x2cff=['uniqueid','destuniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','exports','define','VoiceAgentReport','report_agent'];(function(_0x1ed15f,_0x392cf0){var _0x445dc8=function(_0x2d45e7){while(--_0x2d45e7){_0x1ed15f['push'](_0x1ed15f['shift']());}};_0x445dc8(++_0x392cf0);}(_0x2cff,0xa7));var _0xf2cf=function(_0x39bc8f,_0x5f4e5d){_0x39bc8f=_0x39bc8f-0x0;var _0x162014=_0x2cff[_0x39bc8f];return _0x162014;};'use strict';var _=require(_0xf2cf('0x0'));var util=require(_0xf2cf('0x1'));var logger=require(_0xf2cf('0x2'))(_0xf2cf('0x3'));var moment=require(_0xf2cf('0x4'));var BPromise=require(_0xf2cf('0x5'));var rp=require(_0xf2cf('0x6'));var fs=require('fs');var path=require(_0xf2cf('0x7'));var rimraf=require(_0xf2cf('0x8'));var config=require('../../config/environment');var attributes=require('./voiceAgentReport.attributes');module[_0xf2cf('0x9')]=function(_0x13a0c2,_0x2f09f1){return _0x13a0c2[_0xf2cf('0xa')](_0xf2cf('0xb'),attributes,{'tableName':_0xf2cf('0xc'),'paranoid':![],'indexes':[{'fields':[_0xf2cf('0xd'),_0xf2cf('0xe')]}],'timestamps':!![]});};