Built motion from commit (unavailable).|2.5.13
[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 _0x7bc3=['../../config/environment','./voiceDialReport.attributes','exports','define','VoiceDialReport','report_dial','uniqueid','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x4ade50,_0x372294){var _0x1d1628=function(_0x165aae){while(--_0x165aae){_0x4ade50['push'](_0x4ade50['shift']());}};_0x1d1628(++_0x372294);}(_0x7bc3,0xca));var _0x37bc=function(_0x57db74,_0x296513){_0x57db74=_0x57db74-0x0;var _0x5c4254=_0x7bc3[_0x57db74];return _0x5c4254;};'use strict';var _=require('lodash');var util=require(_0x37bc('0x0'));var logger=require(_0x37bc('0x1'))(_0x37bc('0x2'));var moment=require(_0x37bc('0x3'));var BPromise=require(_0x37bc('0x4'));var rp=require(_0x37bc('0x5'));var fs=require('fs');var path=require(_0x37bc('0x6'));var rimraf=require(_0x37bc('0x7'));var config=require(_0x37bc('0x8'));var attributes=require(_0x37bc('0x9'));module[_0x37bc('0xa')]=function(_0x450121,_0x3d6cd1){return _0x450121[_0x37bc('0xb')](_0x37bc('0xc'),attributes,{'tableName':_0x37bc('0xd'),'paranoid':![],'indexes':[{'fields':[_0x37bc('0xe')]}],'timestamps':!![]});};