2fdcd940ae695dcce809c144ee95235b66f76b04
[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 _0xc68b=['./voiceTransferReport.attributes','exports','define','VoiceTransferReport','report_call_transfer','lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x42f9e3,_0x95a2d5){var _0x2034e9=function(_0x49b469){while(--_0x49b469){_0x42f9e3['push'](_0x42f9e3['shift']());}};_0x2034e9(++_0x95a2d5);}(_0xc68b,0x1a9));var _0xbc68=function(_0xe1d4cd,_0x4f8291){_0xe1d4cd=_0xe1d4cd-0x0;var _0x54a7e8=_0xc68b[_0xe1d4cd];return _0x54a7e8;};'use strict';var _=require(_0xbc68('0x0'));var util=require(_0xbc68('0x1'));var logger=require('../../config/logger')(_0xbc68('0x2'));var moment=require(_0xbc68('0x3'));var BPromise=require(_0xbc68('0x4'));var rp=require(_0xbc68('0x5'));var fs=require('fs');var path=require(_0xbc68('0x6'));var rimraf=require(_0xbc68('0x7'));var config=require(_0xbc68('0x8'));var attributes=require(_0xbc68('0x9'));module[_0xbc68('0xa')]=function(_0xc790d8,_0xcf9df8){return _0xc790d8[_0xbc68('0xb')](_0xbc68('0xc'),attributes,{'tableName':_0xbc68('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};