Built motion from commit b5996064.|2.6.21
[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 _0x4179=['../../config/environment','./voiceTransferReport.attributes','exports','define','VoiceTransferReport','report_call_transfer','util','moment','bluebird','request-promise','rimraf'];(function(_0xe9fd56,_0x414e02){var _0x4612a7=function(_0x153f50){while(--_0x153f50){_0xe9fd56['push'](_0xe9fd56['shift']());}};_0x4612a7(++_0x414e02);}(_0x4179,0x8a));var _0x9417=function(_0x212a37,_0xf35b2e){_0x212a37=_0x212a37-0x0;var _0x5d0bf9=_0x4179[_0x212a37];return _0x5d0bf9;};'use strict';var _=require('lodash');var util=require(_0x9417('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x9417('0x1'));var BPromise=require(_0x9417('0x2'));var rp=require(_0x9417('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x9417('0x4'));var config=require(_0x9417('0x5'));var attributes=require(_0x9417('0x6'));module[_0x9417('0x7')]=function(_0x11a406,_0x1a663c){return _0x11a406[_0x9417('0x8')](_0x9417('0x9'),attributes,{'tableName':_0x9417('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};