63b518267314e3d234b6f38f35f929160fc0bcc3
[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 _0x08ce=['define','report_call','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./voiceCallReport.attributes'];(function(_0x6cf19c,_0x2f3f02){var _0xce14f3=function(_0x474587){while(--_0x474587){_0x6cf19c['push'](_0x6cf19c['shift']());}};_0xce14f3(++_0x2f3f02);}(_0x08ce,0x86));var _0xe08c=function(_0x2d7daa,_0x3698e0){_0x2d7daa=_0x2d7daa-0x0;var _0x119a17=_0x08ce[_0x2d7daa];return _0x119a17;};'use strict';var _=require(_0xe08c('0x0'));var util=require(_0xe08c('0x1'));var logger=require(_0xe08c('0x2'))(_0xe08c('0x3'));var moment=require(_0xe08c('0x4'));var BPromise=require(_0xe08c('0x5'));var rp=require(_0xe08c('0x6'));var fs=require('fs');var path=require(_0xe08c('0x7'));var rimraf=require(_0xe08c('0x8'));var config=require('../../config/environment');var attributes=require(_0xe08c('0x9'));module['exports']=function(_0xaac72c,_0x44921b){return _0xaac72c[_0xe08c('0xa')]('VoiceCallReport',attributes,{'tableName':_0xe08c('0xb'),'paranoid':![],'indexes':[{'fields':['uniqueid']}],'timestamps':!![]});};