Built motion from commit (unavailable).|2.5.16
[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 _0x72f3=['rimraf','./voiceCallReport.attributes','exports','define','VoiceCallReport','report_call','lodash','util','../../config/logger','moment','bluebird','request-promise','path'];(function(_0x43a1bc,_0x289076){var _0x4a9334=function(_0x4f79b1){while(--_0x4f79b1){_0x43a1bc['push'](_0x43a1bc['shift']());}};_0x4a9334(++_0x289076);}(_0x72f3,0x10a));var _0x372f=function(_0x5505a6,_0x3ecff8){_0x5505a6=_0x5505a6-0x0;var _0x95632=_0x72f3[_0x5505a6];return _0x95632;};'use strict';var _=require(_0x372f('0x0'));var util=require(_0x372f('0x1'));var logger=require(_0x372f('0x2'))('api');var moment=require(_0x372f('0x3'));var BPromise=require(_0x372f('0x4'));var rp=require(_0x372f('0x5'));var fs=require('fs');var path=require(_0x372f('0x6'));var rimraf=require(_0x372f('0x7'));var config=require('../../config/environment');var attributes=require(_0x372f('0x8'));module[_0x372f('0x9')]=function(_0x186c31,_0x1f7c15){return _0x186c31[_0x372f('0xa')](_0x372f('0xb'),attributes,{'tableName':_0x372f('0xc'),'paranoid':![],'indexes':[{'fields':['uniqueid']}],'timestamps':!![]});};