Built motion from commit 936e8062.|2.5.33
[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 _0xa34e=['exports','define','VoiceDialReport','report_dial','lodash','util','api','moment','bluebird','./voiceDialReport.attributes'];(function(_0x184d1f,_0x2e4a9c){var _0xbf290e=function(_0x2eed5c){while(--_0x2eed5c){_0x184d1f['push'](_0x184d1f['shift']());}};_0xbf290e(++_0x2e4a9c);}(_0xa34e,0x19e));var _0xea34=function(_0x5f12c9,_0x999e31){_0x5f12c9=_0x5f12c9-0x0;var _0x53cbaf=_0xa34e[_0x5f12c9];return _0x53cbaf;};'use strict';var _=require(_0xea34('0x0'));var util=require(_0xea34('0x1'));var logger=require('../../config/logger')(_0xea34('0x2'));var moment=require(_0xea34('0x3'));var BPromise=require(_0xea34('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xea34('0x5'));module[_0xea34('0x6')]=function(_0x1cacaf,_0xbdd54f){return _0x1cacaf[_0xea34('0x7')](_0xea34('0x8'),attributes,{'tableName':_0xea34('0x9'),'paranoid':![],'indexes':[{'fields':['uniqueid']}],'timestamps':!![]});};