Built motion from commit (unavailable).|2.5.4
[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 _0x6006=['request-promise','path','rimraf','./voiceCallReport.attributes','exports','define','uniqueid','lodash','util','bluebird'];(function(_0x20cfe7,_0x2360ef){var _0x4ff88a=function(_0x12a8fd){while(--_0x12a8fd){_0x20cfe7['push'](_0x20cfe7['shift']());}};_0x4ff88a(++_0x2360ef);}(_0x6006,0x16f));var _0x6600=function(_0x57224f,_0x98e44a){_0x57224f=_0x57224f-0x0;var _0x3b83a8=_0x6006[_0x57224f];return _0x3b83a8;};'use strict';var _=require(_0x6600('0x0'));var util=require(_0x6600('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0x6600('0x2'));var rp=require(_0x6600('0x3'));var fs=require('fs');var path=require(_0x6600('0x4'));var rimraf=require(_0x6600('0x5'));var config=require('../../config/environment');var attributes=require(_0x6600('0x6'));module[_0x6600('0x7')]=function(_0x2d35d0,_0x1a1ea1){return _0x2d35d0[_0x6600('0x8')]('VoiceCallReport',attributes,{'tableName':'report_call','paranoid':![],'indexes':[{'fields':[_0x6600('0x9')]}],'timestamps':!![]});};