876bedd4cf120e9f64f5abe79da1a4b418fa31a7
[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 _0x7f0d=['uniqueid','bluebird','request-promise','path','rimraf','./voiceCallReport.attributes','exports','define'];(function(_0x59ee6f,_0x450239){var _0x4c0979=function(_0x565e92){while(--_0x565e92){_0x59ee6f['push'](_0x59ee6f['shift']());}};_0x4c0979(++_0x450239);}(_0x7f0d,0x89));var _0xd7f0=function(_0x3131ab,_0x39d06e){_0x3131ab=_0x3131ab-0x0;var _0x50be07=_0x7f0d[_0x3131ab];return _0x50be07;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0xd7f0('0x0'));var rp=require(_0xd7f0('0x1'));var fs=require('fs');var path=require(_0xd7f0('0x2'));var rimraf=require(_0xd7f0('0x3'));var config=require('../../config/environment');var attributes=require(_0xd7f0('0x4'));module[_0xd7f0('0x5')]=function(_0x53998a,_0x4ee4d4){return _0x53998a[_0xd7f0('0x6')]('VoiceCallReport',attributes,{'tableName':'report_call','paranoid':![],'indexes':[{'fields':[_0xd7f0('0x7')]}],'timestamps':!![]});};