bab6f88e7b1172676922a18b34c721dde87ae13c
[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 _0xc665=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceCallReport.attributes','exports','define','report_call','uniqueid','lodash','util','../../config/logger','api'];(function(_0x24c733,_0x525907){var _0x21a2d3=function(_0x2bbf39){while(--_0x2bbf39){_0x24c733['push'](_0x24c733['shift']());}};_0x21a2d3(++_0x525907);}(_0xc665,0x191));var _0x5c66=function(_0x37cf72,_0x551f51){_0x37cf72=_0x37cf72-0x0;var _0x766510=_0xc665[_0x37cf72];return _0x766510;};'use strict';var _=require(_0x5c66('0x0'));var util=require(_0x5c66('0x1'));var logger=require(_0x5c66('0x2'))(_0x5c66('0x3'));var moment=require(_0x5c66('0x4'));var BPromise=require(_0x5c66('0x5'));var rp=require(_0x5c66('0x6'));var fs=require('fs');var path=require(_0x5c66('0x7'));var rimraf=require(_0x5c66('0x8'));var config=require(_0x5c66('0x9'));var attributes=require(_0x5c66('0xa'));module[_0x5c66('0xb')]=function(_0x4e9b1d,_0x1cdba4){return _0x4e9b1d[_0x5c66('0xc')]('VoiceCallReport',attributes,{'tableName':_0x5c66('0xd'),'paranoid':![],'indexes':[{'fields':[_0x5c66('0xe')]}],'timestamps':!![]});};