Built motion from commit (unavailable).|2.5.13
[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 _0x7a02=['path','rimraf','../../config/environment','./voiceTransferReport.attributes','exports','define','VoiceTransferReport','report_call_transfer','lodash','util','api','bluebird','request-promise'];(function(_0x20be28,_0x24b925){var _0x8ab067=function(_0x314de9){while(--_0x314de9){_0x20be28['push'](_0x20be28['shift']());}};_0x8ab067(++_0x24b925);}(_0x7a02,0x14d));var _0x27a0=function(_0xda464c,_0x26e47d){_0xda464c=_0xda464c-0x0;var _0x19e222=_0x7a02[_0xda464c];return _0x19e222;};'use strict';var _=require(_0x27a0('0x0'));var util=require(_0x27a0('0x1'));var logger=require('../../config/logger')(_0x27a0('0x2'));var moment=require('moment');var BPromise=require(_0x27a0('0x3'));var rp=require(_0x27a0('0x4'));var fs=require('fs');var path=require(_0x27a0('0x5'));var rimraf=require(_0x27a0('0x6'));var config=require(_0x27a0('0x7'));var attributes=require(_0x27a0('0x8'));module[_0x27a0('0x9')]=function(_0x5cceb3,_0x183be6){return _0x5cceb3[_0x27a0('0xa')](_0x27a0('0xb'),attributes,{'tableName':_0x27a0('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};