Built motion from commit b0a9a629.|2.6.33
[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 _0x5bf2=['path','rimraf','./voiceDialReport.attributes','exports','define','VoiceDialReport','uniqueid','lodash','../../config/logger','moment','bluebird','request-promise'];(function(_0x197185,_0x251145){var _0x2c8af1=function(_0x1dbcfd){while(--_0x1dbcfd){_0x197185['push'](_0x197185['shift']());}};_0x2c8af1(++_0x251145);}(_0x5bf2,0x157));var _0x25bf=function(_0x26edc4,_0x27508a){_0x26edc4=_0x26edc4-0x0;var _0x5d12a3=_0x5bf2[_0x26edc4];return _0x5d12a3;};'use strict';var _=require(_0x25bf('0x0'));var util=require('util');var logger=require(_0x25bf('0x1'))('api');var moment=require(_0x25bf('0x2'));var BPromise=require(_0x25bf('0x3'));var rp=require(_0x25bf('0x4'));var fs=require('fs');var path=require(_0x25bf('0x5'));var rimraf=require(_0x25bf('0x6'));var config=require('../../config/environment');var attributes=require(_0x25bf('0x7'));module[_0x25bf('0x8')]=function(_0x5e2916,_0x1bf99e){return _0x5e2916[_0x25bf('0x9')](_0x25bf('0xa'),attributes,{'tableName':'report_dial','paranoid':![],'indexes':[{'fields':[_0x25bf('0xb')]}],'timestamps':!![]});};