2104405e90daac32bd8ab7f0abbb61d4165d229a
[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 _0xf958=['lodash','../../config/logger','moment','request-promise','path','rimraf','exports','define','report_call','uniqueid'];(function(_0x371100,_0x838d3e){var _0x18c97c=function(_0x52ce89){while(--_0x52ce89){_0x371100['push'](_0x371100['shift']());}};_0x18c97c(++_0x838d3e);}(_0xf958,0xe6));var _0x8f95=function(_0x528d4f,_0x38e3ef){_0x528d4f=_0x528d4f-0x0;var _0x5425a4=_0xf958[_0x528d4f];return _0x5425a4;};'use strict';var _=require(_0x8f95('0x0'));var util=require('util');var logger=require(_0x8f95('0x1'))('api');var moment=require(_0x8f95('0x2'));var BPromise=require('bluebird');var rp=require(_0x8f95('0x3'));var fs=require('fs');var path=require(_0x8f95('0x4'));var rimraf=require(_0x8f95('0x5'));var config=require('../../config/environment');var attributes=require('./voiceCallReport.attributes');module[_0x8f95('0x6')]=function(_0x10a425,_0x281f38){return _0x10a425[_0x8f95('0x7')]('VoiceCallReport',attributes,{'tableName':_0x8f95('0x8'),'paranoid':![],'indexes':[{'fields':[_0x8f95('0x9')]}],'timestamps':!![]});};