Built motion from commit (unavailable).|2.5.11
[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 _0xdade=['./voiceDialReport.attributes','exports','define','VoiceDialReport','report_dial','uniqueid','util','../../config/logger','bluebird','request-promise','rimraf'];(function(_0x2bf5bd,_0x120787){var _0xc810c0=function(_0xba9dd3){while(--_0xba9dd3){_0x2bf5bd['push'](_0x2bf5bd['shift']());}};_0xc810c0(++_0x120787);}(_0xdade,0x13a));var _0xedad=function(_0xb89b87,_0x3f1511){_0xb89b87=_0xb89b87-0x0;var _0xbd34e0=_0xdade[_0xb89b87];return _0xbd34e0;};'use strict';var _=require('lodash');var util=require(_0xedad('0x0'));var logger=require(_0xedad('0x1'))('api');var moment=require('moment');var BPromise=require(_0xedad('0x2'));var rp=require(_0xedad('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xedad('0x4'));var config=require('../../config/environment');var attributes=require(_0xedad('0x5'));module[_0xedad('0x6')]=function(_0x42e233,_0x4e6ce0){return _0x42e233[_0xedad('0x7')](_0xedad('0x8'),attributes,{'tableName':_0xedad('0x9'),'paranoid':![],'indexes':[{'fields':[_0xedad('0xa')]}],'timestamps':!![]});};