Built motion from commit 9efc8423.|2.6.31
[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 _0xfc25=['rimraf','../../config/environment','exports','define','VoiceTransferReport','report_call_transfer','lodash','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x597026,_0x32586f){var _0x23b571=function(_0x2ece51){while(--_0x2ece51){_0x597026['push'](_0x597026['shift']());}};_0x23b571(++_0x32586f);}(_0xfc25,0x88));var _0x5fc2=function(_0x5c386e,_0x21856b){_0x5c386e=_0x5c386e-0x0;var _0x28cfa0=_0xfc25[_0x5c386e];return _0x28cfa0;};'use strict';var _=require(_0x5fc2('0x0'));var util=require('util');var logger=require(_0x5fc2('0x1'))(_0x5fc2('0x2'));var moment=require(_0x5fc2('0x3'));var BPromise=require(_0x5fc2('0x4'));var rp=require(_0x5fc2('0x5'));var fs=require('fs');var path=require(_0x5fc2('0x6'));var rimraf=require(_0x5fc2('0x7'));var config=require(_0x5fc2('0x8'));var attributes=require('./voiceTransferReport.attributes');module[_0x5fc2('0x9')]=function(_0x2aba0f,_0x55d701){return _0x2aba0f[_0x5fc2('0xa')](_0x5fc2('0xb'),attributes,{'tableName':_0x5fc2('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};