Built motion from commit 3c2ce842.|2.6.31
[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 _0x6a2a=['../../config/logger','bluebird','rimraf','./voiceDialReport.attributes','exports','define','report_dial','uniqueid','util'];(function(_0xe0090f,_0x2dded1){var _0x5caf15=function(_0x4517ed){while(--_0x4517ed){_0xe0090f['push'](_0xe0090f['shift']());}};_0x5caf15(++_0x2dded1);}(_0x6a2a,0x1ee));var _0xa6a2=function(_0x2007e6,_0x43b204){_0x2007e6=_0x2007e6-0x0;var _0x31a410=_0x6a2a[_0x2007e6];return _0x31a410;};'use strict';var _=require('lodash');var util=require(_0xa6a2('0x0'));var logger=require(_0xa6a2('0x1'))('api');var moment=require('moment');var BPromise=require(_0xa6a2('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xa6a2('0x3'));var config=require('../../config/environment');var attributes=require(_0xa6a2('0x4'));module[_0xa6a2('0x5')]=function(_0x414e1e,_0x3a104b){return _0x414e1e[_0xa6a2('0x6')]('VoiceDialReport',attributes,{'tableName':_0xa6a2('0x7'),'paranoid':![],'indexes':[{'fields':[_0xa6a2('0x8')]}],'timestamps':!![]});};