Built motion from commit (unavailable).|2.6.0
[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 _0xef3e=['path','rimraf','exports','define','uniqueid','lodash','util','moment','bluebird','request-promise'];(function(_0xc84da7,_0x3824aa){var _0x3e5a32=function(_0x503fb8){while(--_0x503fb8){_0xc84da7['push'](_0xc84da7['shift']());}};_0x3e5a32(++_0x3824aa);}(_0xef3e,0x87));var _0xeef3=function(_0xd0b415,_0x149675){_0xd0b415=_0xd0b415-0x0;var _0x2bdf2c=_0xef3e[_0xd0b415];return _0x2bdf2c;};'use strict';var _=require(_0xeef3('0x0'));var util=require(_0xeef3('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xeef3('0x2'));var BPromise=require(_0xeef3('0x3'));var rp=require(_0xeef3('0x4'));var fs=require('fs');var path=require(_0xeef3('0x5'));var rimraf=require(_0xeef3('0x6'));var config=require('../../config/environment');var attributes=require('./voiceCallReport.attributes');module[_0xeef3('0x7')]=function(_0x52c48a,_0xb0af8){return _0x52c48a[_0xeef3('0x8')]('VoiceCallReport',attributes,{'tableName':'report_call','paranoid':![],'indexes':[{'fields':[_0xeef3('0x9')]}],'timestamps':!![]});};