Built motion from commit 47436d59.|2.6.7
[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 _0x254a=['../../config/environment','exports','report_agent','uniqueid','lodash','util','../../config/logger','moment','bluebird','request-promise','path'];(function(_0x409353,_0xe9f04d){var _0x4f4b59=function(_0x64b587){while(--_0x64b587){_0x409353['push'](_0x409353['shift']());}};_0x4f4b59(++_0xe9f04d);}(_0x254a,0x138));var _0xa254=function(_0x12ec8a,_0x3174d8){_0x12ec8a=_0x12ec8a-0x0;var _0x326d69=_0x254a[_0x12ec8a];return _0x326d69;};'use strict';var _=require(_0xa254('0x0'));var util=require(_0xa254('0x1'));var logger=require(_0xa254('0x2'))('api');var moment=require(_0xa254('0x3'));var BPromise=require(_0xa254('0x4'));var rp=require(_0xa254('0x5'));var fs=require('fs');var path=require(_0xa254('0x6'));var rimraf=require('rimraf');var config=require(_0xa254('0x7'));var attributes=require('./voiceAgentReport.attributes');module[_0xa254('0x8')]=function(_0x3d5886,_0x1201ae){return _0x3d5886['define']('VoiceAgentReport',attributes,{'tableName':_0xa254('0x9'),'paranoid':![],'indexes':[{'fields':[_0xa254('0xa'),'destuniqueid']}],'timestamps':!![]});};