f90800886d072b4f46d47ccd2bd16173dfeb6639
[motion2.git] / server / api / voiceTransferReport / voiceTransferReport.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 _0x094f=['bluebird','request-promise','path','./voiceTransferReport.attributes','exports','define','VoiceTransferReport','report_call_transfer','lodash','util','../../config/logger','api'];(function(_0x5d860f,_0x467498){var _0x236490=function(_0x5e045c){while(--_0x5e045c){_0x5d860f['push'](_0x5d860f['shift']());}};_0x236490(++_0x467498);}(_0x094f,0x80));var _0xf094=function(_0x1c34e7,_0x33f9a8){_0x1c34e7=_0x1c34e7-0x0;var _0x378cb1=_0x094f[_0x1c34e7];return _0x378cb1;};'use strict';var _=require(_0xf094('0x0'));var util=require(_0xf094('0x1'));var logger=require(_0xf094('0x2'))(_0xf094('0x3'));var moment=require('moment');var BPromise=require(_0xf094('0x4'));var rp=require(_0xf094('0x5'));var fs=require('fs');var path=require(_0xf094('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xf094('0x7'));module[_0xf094('0x8')]=function(_0x26dee5,_0x1c421e){return _0x26dee5[_0xf094('0x9')](_0xf094('0xa'),attributes,{'tableName':_0xf094('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};