5a02e611c26835ffeea90c73fcf014e07b2eca0b
[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 _0xd2c9=['path','./voiceCallReport.attributes','exports','define','report_call','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x9f9533,_0x52e574){var _0x51ef6b=function(_0x4a5999){while(--_0x4a5999){_0x9f9533['push'](_0x9f9533['shift']());}};_0x51ef6b(++_0x52e574);}(_0xd2c9,0x14b));var _0x9d2c=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xd2c9[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x9d2c('0x0'));var util=require(_0x9d2c('0x1'));var logger=require(_0x9d2c('0x2'))(_0x9d2c('0x3'));var moment=require(_0x9d2c('0x4'));var BPromise=require(_0x9d2c('0x5'));var rp=require(_0x9d2c('0x6'));var fs=require('fs');var path=require(_0x9d2c('0x7'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x9d2c('0x8'));module[_0x9d2c('0x9')]=function(_0x1c64ef,_0x5b50a6){return _0x1c64ef[_0x9d2c('0xa')]('VoiceCallReport',attributes,{'tableName':_0x9d2c('0xb'),'paranoid':![],'indexes':[{'fields':[_0x9d2c('0xc')]}],'timestamps':!![]});};