Built motion from commit 1fa89557.|2.6.10
[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 _0x6824=['moment','bluebird','request-promise','path','rimraf','exports','define','VoiceCallReport','uniqueid','lodash','util','../../config/logger','api'];(function(_0x2e0ac3,_0x1c086a){var _0x1d9c83=function(_0x482ec9){while(--_0x482ec9){_0x2e0ac3['push'](_0x2e0ac3['shift']());}};_0x1d9c83(++_0x1c086a);}(_0x6824,0x98));var _0x4682=function(_0x5c4e72,_0x491d53){_0x5c4e72=_0x5c4e72-0x0;var _0x152a44=_0x6824[_0x5c4e72];return _0x152a44;};'use strict';var _=require(_0x4682('0x0'));var util=require(_0x4682('0x1'));var logger=require(_0x4682('0x2'))(_0x4682('0x3'));var moment=require(_0x4682('0x4'));var BPromise=require(_0x4682('0x5'));var rp=require(_0x4682('0x6'));var fs=require('fs');var path=require(_0x4682('0x7'));var rimraf=require(_0x4682('0x8'));var config=require('../../config/environment');var attributes=require('./voiceCallReport.attributes');module[_0x4682('0x9')]=function(_0x523136,_0x61cd30){return _0x523136[_0x4682('0xa')](_0x4682('0xb'),attributes,{'tableName':'report_call','paranoid':![],'indexes':[{'fields':[_0x4682('0xc')]}],'timestamps':!![]});};