Built motion from commit (unavailable).|2.5.1
[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 _0xb08a=['exports','VoiceDialReport','report_dial','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./voiceDialReport.attributes'];(function(_0x4d0f0e,_0x21b7e0){var _0x654fad=function(_0x2b15e7){while(--_0x2b15e7){_0x4d0f0e['push'](_0x4d0f0e['shift']());}};_0x654fad(++_0x21b7e0);}(_0xb08a,0xd6));var _0xab08=function(_0x51ac09,_0x383098){_0x51ac09=_0x51ac09-0x0;var _0x3f827d=_0xb08a[_0x51ac09];return _0x3f827d;};'use strict';var _=require(_0xab08('0x0'));var util=require(_0xab08('0x1'));var logger=require(_0xab08('0x2'))(_0xab08('0x3'));var moment=require(_0xab08('0x4'));var BPromise=require(_0xab08('0x5'));var rp=require(_0xab08('0x6'));var fs=require('fs');var path=require(_0xab08('0x7'));var rimraf=require('rimraf');var config=require(_0xab08('0x8'));var attributes=require(_0xab08('0x9'));module[_0xab08('0xa')]=function(_0x206d35,_0x3fe10d){return _0x206d35['define'](_0xab08('0xb'),attributes,{'tableName':_0xab08('0xc'),'paranoid':![],'indexes':[{'fields':[_0xab08('0xd')]}],'timestamps':!![]});};