Built motion from commit d5e4af8c.|2.6.23
[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 _0xae3f=['define','VoiceTransferReport','report_call_transfer','util','../../config/logger','api','bluebird','request-promise','path','exports'];(function(_0xb1cf84,_0x813740){var _0x4bad2e=function(_0x53e6f2){while(--_0x53e6f2){_0xb1cf84['push'](_0xb1cf84['shift']());}};_0x4bad2e(++_0x813740);}(_0xae3f,0x1ed));var _0xfae3=function(_0x2be8c2,_0x14a4b5){_0x2be8c2=_0x2be8c2-0x0;var _0x97f531=_0xae3f[_0x2be8c2];return _0x97f531;};'use strict';var _=require('lodash');var util=require(_0xfae3('0x0'));var logger=require(_0xfae3('0x1'))(_0xfae3('0x2'));var moment=require('moment');var BPromise=require(_0xfae3('0x3'));var rp=require(_0xfae3('0x4'));var fs=require('fs');var path=require(_0xfae3('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./voiceTransferReport.attributes');module[_0xfae3('0x6')]=function(_0x3a4ada,_0x281248){return _0x3a4ada[_0xfae3('0x7')](_0xfae3('0x8'),attributes,{'tableName':_0xfae3('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};