Built motion from commit (unavailable).|2.5.1
[motion2.git] / server / api / voiceCallReport / voiceCallReport.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 _0xc472=['report_call','../../config/logger','moment','bluebird','request-promise','rimraf','../../config/environment','./voiceCallReport.attributes','define','VoiceCallReport'];(function(_0x29d94e,_0xf386d6){var _0x106237=function(_0x327501){while(--_0x327501){_0x29d94e['push'](_0x29d94e['shift']());}};_0x106237(++_0xf386d6);}(_0xc472,0x19b));var _0x2c47=function(_0x11ce46,_0x7a1715){_0x11ce46=_0x11ce46-0x0;var _0x272001=_0xc472[_0x11ce46];return _0x272001;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x2c47('0x0'))('api');var moment=require(_0x2c47('0x1'));var BPromise=require(_0x2c47('0x2'));var rp=require(_0x2c47('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x2c47('0x4'));var config=require(_0x2c47('0x5'));var attributes=require(_0x2c47('0x6'));module['exports']=function(_0x50c017,_0x5d60f3){return _0x50c017[_0x2c47('0x7')](_0x2c47('0x8'),attributes,{'tableName':_0x2c47('0x9'),'paranoid':![],'indexes':[{'fields':['uniqueid']}],'timestamps':!![]});};