2c4ab6f842a404039465d164b380f5674d387000
[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 _0x151a=['report_dial','util','../../config/logger','api','moment','./voiceDialReport.attributes','VoiceDialReport'];(function(_0x174ef5,_0x256e8e){var _0x1cc379=function(_0x3eafcf){while(--_0x3eafcf){_0x174ef5['push'](_0x174ef5['shift']());}};_0x1cc379(++_0x256e8e);}(_0x151a,0xa9));var _0xa151=function(_0xbeab9,_0x37ec4a){_0xbeab9=_0xbeab9-0x0;var _0x27650c=_0x151a[_0xbeab9];return _0x27650c;};'use strict';var _=require('lodash');var util=require(_0xa151('0x0'));var logger=require(_0xa151('0x1'))(_0xa151('0x2'));var moment=require(_0xa151('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xa151('0x4'));module['exports']=function(_0x41a8fe,_0x590afa){return _0x41a8fe['define'](_0xa151('0x5'),attributes,{'tableName':_0xa151('0x6'),'paranoid':![],'indexes':[{'fields':['uniqueid']}],'timestamps':!![]});};