0cc38f62cd9fd09185aa0eb2ce684e0ba5b6a833
[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 _0xb9e8=['moment','request-promise','./voiceDialReport.attributes','exports','VoiceDialReport','lodash','../../config/logger','api'];(function(_0x18624e,_0x172c43){var _0x41ef95=function(_0x587da8){while(--_0x587da8){_0x18624e['push'](_0x18624e['shift']());}};_0x41ef95(++_0x172c43);}(_0xb9e8,0x10d));var _0x8b9e=function(_0x5bdbfd,_0x3aaf24){_0x5bdbfd=_0x5bdbfd-0x0;var _0x5711c0=_0xb9e8[_0x5bdbfd];return _0x5711c0;};'use strict';var _=require(_0x8b9e('0x0'));var util=require('util');var logger=require(_0x8b9e('0x1'))(_0x8b9e('0x2'));var moment=require(_0x8b9e('0x3'));var BPromise=require('bluebird');var rp=require(_0x8b9e('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x8b9e('0x5'));module[_0x8b9e('0x6')]=function(_0xb144cf,_0x2e4073){return _0xb144cf['define'](_0x8b9e('0x7'),attributes,{'tableName':'report_dial','paranoid':![],'indexes':[{'fields':['uniqueid']}],'timestamps':!![]});};