Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / voiceDialReport / voiceDialReport.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 _0x53eb=['rimraf','../../config/environment','./voiceDialReport.attributes','exports','define','VoiceDialReport','lodash','util','api','moment','bluebird','request-promise','path'];(function(_0x432682,_0x253044){var _0x463d05=function(_0xa73403){while(--_0xa73403){_0x432682['push'](_0x432682['shift']());}};_0x463d05(++_0x253044);}(_0x53eb,0x14b));var _0xb53e=function(_0x348c4e,_0x450dfd){_0x348c4e=_0x348c4e-0x0;var _0x4f424f=_0x53eb[_0x348c4e];return _0x4f424f;};'use strict';var _=require(_0xb53e('0x0'));var util=require(_0xb53e('0x1'));var logger=require('../../config/logger')(_0xb53e('0x2'));var moment=require(_0xb53e('0x3'));var BPromise=require(_0xb53e('0x4'));var rp=require(_0xb53e('0x5'));var fs=require('fs');var path=require(_0xb53e('0x6'));var rimraf=require(_0xb53e('0x7'));var config=require(_0xb53e('0x8'));var attributes=require(_0xb53e('0x9'));module[_0xb53e('0xa')]=function(_0x307e30,_0x18c9d){return _0x307e30[_0xb53e('0xb')](_0xb53e('0xc'),attributes,{'tableName':'report_dial','paranoid':![],'indexes':[{'fields':['uniqueid']}],'timestamps':!![]});};