Built motion from commit 67e5df37.|2.0.66
[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 _0xd3e3=['VoiceDialReport','uniqueid','lodash','util','../../config/logger','moment','request-promise','./voiceDialReport.attributes','exports','define'];(function(_0x27c462,_0x53d6c4){var _0x525d57=function(_0x535dba){while(--_0x535dba){_0x27c462['push'](_0x27c462['shift']());}};_0x525d57(++_0x53d6c4);}(_0xd3e3,0x7a));var _0x3d3e=function(_0xbf5e16,_0x146ce3){_0xbf5e16=_0xbf5e16-0x0;var _0x5975a5=_0xd3e3[_0xbf5e16];return _0x5975a5;};'use strict';var _=require(_0x3d3e('0x0'));var util=require(_0x3d3e('0x1'));var logger=require(_0x3d3e('0x2'))('api');var moment=require(_0x3d3e('0x3'));var BPromise=require('bluebird');var rp=require(_0x3d3e('0x4'));var attributes=require(_0x3d3e('0x5'));module[_0x3d3e('0x6')]=function(_0x19e88e,_0x56fab4){return _0x19e88e[_0x3d3e('0x7')](_0x3d3e('0x8'),attributes,{'tableName':'report_dial','paranoid':![],'indexes':[{'fields':[_0x3d3e('0x9')]}],'timestamps':!![]});};