06d18867a5c21e1a23addfadf1273fe830a209cc
[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 _0x842e=['../../config/environment','./voiceCallReport.attributes','exports','define','report_call','uniqueid','lodash','../../config/logger','api','moment','request-promise','path','rimraf'];(function(_0x4efc67,_0x3d7609){var _0x1cdf2e=function(_0x199137){while(--_0x199137){_0x4efc67['push'](_0x4efc67['shift']());}};_0x1cdf2e(++_0x3d7609);}(_0x842e,0xbc));var _0xe842=function(_0x2cd1fb,_0x291f55){_0x2cd1fb=_0x2cd1fb-0x0;var _0x48fd2b=_0x842e[_0x2cd1fb];return _0x48fd2b;};'use strict';var _=require(_0xe842('0x0'));var util=require('util');var logger=require(_0xe842('0x1'))(_0xe842('0x2'));var moment=require(_0xe842('0x3'));var BPromise=require('bluebird');var rp=require(_0xe842('0x4'));var fs=require('fs');var path=require(_0xe842('0x5'));var rimraf=require(_0xe842('0x6'));var config=require(_0xe842('0x7'));var attributes=require(_0xe842('0x8'));module[_0xe842('0x9')]=function(_0x4692a5,_0x240591){return _0x4692a5[_0xe842('0xa')]('VoiceCallReport',attributes,{'tableName':_0xe842('0xb'),'paranoid':![],'indexes':[{'fields':[_0xe842('0xc')]}],'timestamps':!![]});};