2b484a8636362f1bd2baca91ca1104d300928daf
[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 _0xda2e=['moment','request-promise','rimraf','../../config/environment','./voiceCallReport.attributes','exports','define','uniqueid','util','../../config/logger','api'];(function(_0x50693f,_0xdad801){var _0x24c068=function(_0xbc765d){while(--_0xbc765d){_0x50693f['push'](_0x50693f['shift']());}};_0x24c068(++_0xdad801);}(_0xda2e,0x1cb));var _0xeda2=function(_0xc70602,_0x531f15){_0xc70602=_0xc70602-0x0;var _0x338b62=_0xda2e[_0xc70602];return _0x338b62;};'use strict';var _=require('lodash');var util=require(_0xeda2('0x0'));var logger=require(_0xeda2('0x1'))(_0xeda2('0x2'));var moment=require(_0xeda2('0x3'));var BPromise=require('bluebird');var rp=require(_0xeda2('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xeda2('0x5'));var config=require(_0xeda2('0x6'));var attributes=require(_0xeda2('0x7'));module[_0xeda2('0x8')]=function(_0x189a63,_0x2bd1e7){return _0x189a63[_0xeda2('0x9')]('VoiceCallReport',attributes,{'tableName':'report_call','paranoid':![],'indexes':[{'fields':[_0xeda2('0xa')]}],'timestamps':!![]});};