Built motion from commit (unavailable).|2.5.0
[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 _0x052e=['./voiceDialReport.attributes','exports','define','VoiceDialReport','report_dial','uniqueid','util','../../config/logger','bluebird','request-promise','path','rimraf'];(function(_0x114e52,_0x36b5fc){var _0x3d036a=function(_0x58db8d){while(--_0x58db8d){_0x114e52['push'](_0x114e52['shift']());}};_0x3d036a(++_0x36b5fc);}(_0x052e,0xa2));var _0xe052=function(_0x47ae44,_0x1ecf33){_0x47ae44=_0x47ae44-0x0;var _0x37c675=_0x052e[_0x47ae44];return _0x37c675;};'use strict';var _=require('lodash');var util=require(_0xe052('0x0'));var logger=require(_0xe052('0x1'))('api');var moment=require('moment');var BPromise=require(_0xe052('0x2'));var rp=require(_0xe052('0x3'));var fs=require('fs');var path=require(_0xe052('0x4'));var rimraf=require(_0xe052('0x5'));var config=require('../../config/environment');var attributes=require(_0xe052('0x6'));module[_0xe052('0x7')]=function(_0x339248,_0x5d5fb4){return _0x339248[_0xe052('0x8')](_0xe052('0x9'),attributes,{'tableName':_0xe052('0xa'),'paranoid':![],'indexes':[{'fields':[_0xe052('0xb')]}],'timestamps':!![]});};