887a019488a3bc2e966217356210d05995bdbc16
[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 _0x8ccb=['bluebird','request-promise','../../config/environment','./voiceDialReport.attributes','exports','define','VoiceDialReport','uniqueid','lodash','util','api','moment'];(function(_0x245afe,_0x319cde){var _0x4eefde=function(_0x15a1fa){while(--_0x15a1fa){_0x245afe['push'](_0x245afe['shift']());}};_0x4eefde(++_0x319cde);}(_0x8ccb,0x1c4));var _0xb8cc=function(_0x35fb56,_0x5dadff){_0x35fb56=_0x35fb56-0x0;var _0x2fd52c=_0x8ccb[_0x35fb56];return _0x2fd52c;};'use strict';var _=require(_0xb8cc('0x0'));var util=require(_0xb8cc('0x1'));var logger=require('../../config/logger')(_0xb8cc('0x2'));var moment=require(_0xb8cc('0x3'));var BPromise=require(_0xb8cc('0x4'));var rp=require(_0xb8cc('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xb8cc('0x6'));var attributes=require(_0xb8cc('0x7'));module[_0xb8cc('0x8')]=function(_0x4b6b5f,_0x46ac6e){return _0x4b6b5f[_0xb8cc('0x9')](_0xb8cc('0xa'),attributes,{'tableName':'report_dial','paranoid':![],'indexes':[{'fields':[_0xb8cc('0xb')]}],'timestamps':!![]});};