51be6e4e6069e00c4964a85a554faab8d749e8f9
[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 _0x22fe=['request-promise','rimraf','../../config/environment','exports','VoiceTransferReport','util','../../config/logger','api','moment'];(function(_0x466e57,_0x21b819){var _0x34df42=function(_0x3e9758){while(--_0x3e9758){_0x466e57['push'](_0x466e57['shift']());}};_0x34df42(++_0x21b819);}(_0x22fe,0xdd));var _0xe22f=function(_0x492d45,_0x2ebf5d){_0x492d45=_0x492d45-0x0;var _0x2fc6ff=_0x22fe[_0x492d45];return _0x2fc6ff;};'use strict';var _=require('lodash');var util=require(_0xe22f('0x0'));var logger=require(_0xe22f('0x1'))(_0xe22f('0x2'));var moment=require(_0xe22f('0x3'));var BPromise=require('bluebird');var rp=require(_0xe22f('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xe22f('0x5'));var config=require(_0xe22f('0x6'));var attributes=require('./voiceTransferReport.attributes');module[_0xe22f('0x7')]=function(_0x49934e,_0x5ae4e0){return _0x49934e['define'](_0xe22f('0x8'),attributes,{'tableName':'report_call_transfer','paranoid':![],'indexes':[],'timestamps':!![]});};