73457e29a6ea493700a4450151cc69bf0a53fd7b
[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 _0x8393=['lodash','util','../../config/logger','api','bluebird','path','rimraf','../../config/environment','./voiceCallReport.attributes','exports','define','report_call','uniqueid'];(function(_0x42e4d7,_0x4bd202){var _0x346cd8=function(_0x36c0f6){while(--_0x36c0f6){_0x42e4d7['push'](_0x42e4d7['shift']());}};_0x346cd8(++_0x4bd202);}(_0x8393,0x1e1));var _0x3839=function(_0x864751,_0x3efea3){_0x864751=_0x864751-0x0;var _0x4d61ab=_0x8393[_0x864751];return _0x4d61ab;};'use strict';var _=require(_0x3839('0x0'));var util=require(_0x3839('0x1'));var logger=require(_0x3839('0x2'))(_0x3839('0x3'));var moment=require('moment');var BPromise=require(_0x3839('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x3839('0x5'));var rimraf=require(_0x3839('0x6'));var config=require(_0x3839('0x7'));var attributes=require(_0x3839('0x8'));module[_0x3839('0x9')]=function(_0xbec458,_0x1303d3){return _0xbec458[_0x3839('0xa')]('VoiceCallReport',attributes,{'tableName':_0x3839('0xb'),'paranoid':![],'indexes':[{'fields':[_0x3839('0xc')]}],'timestamps':!![]});};