97eb5950d1bf4b4a7438192efa76661fc14d8d93
[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 _0xd217=['../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceDialReport.attributes','exports','define','VoiceDialReport','report_dial','uniqueid','util'];(function(_0x11917e,_0x73a931){var _0x306db5=function(_0x360ef3){while(--_0x360ef3){_0x11917e['push'](_0x11917e['shift']());}};_0x306db5(++_0x73a931);}(_0xd217,0x141));var _0x7d21=function(_0x55b0dd,_0x5e66b4){_0x55b0dd=_0x55b0dd-0x0;var _0x2a5aeb=_0xd217[_0x55b0dd];return _0x2a5aeb;};'use strict';var _=require('lodash');var util=require(_0x7d21('0x0'));var logger=require(_0x7d21('0x1'))('api');var moment=require(_0x7d21('0x2'));var BPromise=require(_0x7d21('0x3'));var rp=require(_0x7d21('0x4'));var fs=require('fs');var path=require(_0x7d21('0x5'));var rimraf=require(_0x7d21('0x6'));var config=require(_0x7d21('0x7'));var attributes=require(_0x7d21('0x8'));module[_0x7d21('0x9')]=function(_0x57cb65,_0x4da4fd){return _0x57cb65[_0x7d21('0xa')](_0x7d21('0xb'),attributes,{'tableName':_0x7d21('0xc'),'paranoid':![],'indexes':[{'fields':[_0x7d21('0xd')]}],'timestamps':!![]});};