Built motion from commit (unavailable).|2.5.31
[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 _0xb991=['report_call','lodash','util','../../config/logger','api','bluebird','path','rimraf','./voiceCallReport.attributes','exports','define'];(function(_0x44b135,_0x3a5899){var _0x4cf6d1=function(_0x13c787){while(--_0x13c787){_0x44b135['push'](_0x44b135['shift']());}};_0x4cf6d1(++_0x3a5899);}(_0xb991,0x1e5));var _0x1b99=function(_0x589aee,_0x140a03){_0x589aee=_0x589aee-0x0;var _0x2f5ed4=_0xb991[_0x589aee];return _0x2f5ed4;};'use strict';var _=require(_0x1b99('0x0'));var util=require(_0x1b99('0x1'));var logger=require(_0x1b99('0x2'))(_0x1b99('0x3'));var moment=require('moment');var BPromise=require(_0x1b99('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x1b99('0x5'));var rimraf=require(_0x1b99('0x6'));var config=require('../../config/environment');var attributes=require(_0x1b99('0x7'));module[_0x1b99('0x8')]=function(_0x36fc4d,_0x3d47f0){return _0x36fc4d[_0x1b99('0x9')]('VoiceCallReport',attributes,{'tableName':_0x1b99('0xa'),'paranoid':![],'indexes':[{'fields':['uniqueid']}],'timestamps':!![]});};