e6ec8648e67e1dcde1e9b9dd35f53f0b649e620c
[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 _0xcdde=['api','bluebird','request-promise','path','rimraf','./voiceDialReport.attributes','exports','VoiceDialReport','uniqueid','lodash','util','../../config/logger'];(function(_0x263fdf,_0x506705){var _0xd89d4e=function(_0x2b4ce8){while(--_0x2b4ce8){_0x263fdf['push'](_0x263fdf['shift']());}};_0xd89d4e(++_0x506705);}(_0xcdde,0x141));var _0xecdd=function(_0x2641f9,_0x26715f){_0x2641f9=_0x2641f9-0x0;var _0x585741=_0xcdde[_0x2641f9];return _0x585741;};'use strict';var _=require(_0xecdd('0x0'));var util=require(_0xecdd('0x1'));var logger=require(_0xecdd('0x2'))(_0xecdd('0x3'));var moment=require('moment');var BPromise=require(_0xecdd('0x4'));var rp=require(_0xecdd('0x5'));var fs=require('fs');var path=require(_0xecdd('0x6'));var rimraf=require(_0xecdd('0x7'));var config=require('../../config/environment');var attributes=require(_0xecdd('0x8'));module[_0xecdd('0x9')]=function(_0x4df98c,_0x395ebb){return _0x4df98c['define'](_0xecdd('0xa'),attributes,{'tableName':'report_dial','paranoid':![],'indexes':[{'fields':[_0xecdd('0xb')]}],'timestamps':!![]});};