Built motion from commit bab6f49e.|2.6.17
[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 _0x98dc=['define','VoiceCallReport','report_call','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./voiceCallReport.attributes'];(function(_0x14fad0,_0x278d75){var _0x5c665f=function(_0xe43a83){while(--_0xe43a83){_0x14fad0['push'](_0x14fad0['shift']());}};_0x5c665f(++_0x278d75);}(_0x98dc,0x18c));var _0xc98d=function(_0x23a24d,_0x65d40e){_0x23a24d=_0x23a24d-0x0;var _0x2108d5=_0x98dc[_0x23a24d];return _0x2108d5;};'use strict';var _=require(_0xc98d('0x0'));var util=require(_0xc98d('0x1'));var logger=require(_0xc98d('0x2'))(_0xc98d('0x3'));var moment=require(_0xc98d('0x4'));var BPromise=require(_0xc98d('0x5'));var rp=require(_0xc98d('0x6'));var fs=require('fs');var path=require(_0xc98d('0x7'));var rimraf=require(_0xc98d('0x8'));var config=require('../../config/environment');var attributes=require(_0xc98d('0x9'));module['exports']=function(_0x486878,_0x19f17f){return _0x486878[_0xc98d('0xa')](_0xc98d('0xb'),attributes,{'tableName':_0xc98d('0xc'),'paranoid':![],'indexes':[{'fields':[_0xc98d('0xd')]}],'timestamps':!![]});};