Built motion from commit (unavailable).|2.5.15
[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 _0x5f4d=['VoiceTransferReport','report_call_transfer','lodash','util','../../config/logger','moment','bluebird','rimraf','./voiceTransferReport.attributes','exports','define'];(function(_0x5ca0b3,_0x33f5ef){var _0x6ba806=function(_0x58b844){while(--_0x58b844){_0x5ca0b3['push'](_0x5ca0b3['shift']());}};_0x6ba806(++_0x33f5ef);}(_0x5f4d,0x91));var _0xd5f4=function(_0x42d4b7,_0x2e0c4a){_0x42d4b7=_0x42d4b7-0x0;var _0x468ac8=_0x5f4d[_0x42d4b7];return _0x468ac8;};'use strict';var _=require(_0xd5f4('0x0'));var util=require(_0xd5f4('0x1'));var logger=require(_0xd5f4('0x2'))('api');var moment=require(_0xd5f4('0x3'));var BPromise=require(_0xd5f4('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xd5f4('0x5'));var config=require('../../config/environment');var attributes=require(_0xd5f4('0x6'));module[_0xd5f4('0x7')]=function(_0x14591c,_0x62c385){return _0x14591c[_0xd5f4('0x8')](_0xd5f4('0x9'),attributes,{'tableName':_0xd5f4('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};