5626e3515b2d30f1e8671b3ba8b00ed67eec9c7a
[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 _0x54c4=['../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./voiceCallReport.attributes','exports','define','VoiceCallReport','lodash','util'];(function(_0x4ca5cf,_0x47183b){var _0xaa3eb0=function(_0x1a5011){while(--_0x1a5011){_0x4ca5cf['push'](_0x4ca5cf['shift']());}};_0xaa3eb0(++_0x47183b);}(_0x54c4,0xde));var _0x454c=function(_0x4227d5,_0x586b55){_0x4227d5=_0x4227d5-0x0;var _0x310184=_0x54c4[_0x4227d5];return _0x310184;};'use strict';var _=require(_0x454c('0x0'));var util=require(_0x454c('0x1'));var logger=require(_0x454c('0x2'))(_0x454c('0x3'));var moment=require(_0x454c('0x4'));var BPromise=require(_0x454c('0x5'));var rp=require(_0x454c('0x6'));var fs=require('fs');var path=require(_0x454c('0x7'));var rimraf=require(_0x454c('0x8'));var config=require(_0x454c('0x9'));var attributes=require(_0x454c('0xa'));module[_0x454c('0xb')]=function(_0x386e9b,_0x5399db){return _0x386e9b[_0x454c('0xc')](_0x454c('0xd'),attributes,{'tableName':'report_call','paranoid':![],'indexes':[{'fields':['uniqueid']}],'timestamps':!![]});};