Built motion from commit 377f727e.|2.6.28
[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 _0xf27d=['../../config/environment','exports','define','VoiceTransferReport','lodash','bluebird','request-promise','path'];(function(_0xfd9b19,_0x21d75f){var _0x514918=function(_0x52e212){while(--_0x52e212){_0xfd9b19['push'](_0xfd9b19['shift']());}};_0x514918(++_0x21d75f);}(_0xf27d,0x94));var _0xdf27=function(_0x285c86,_0x4c522a){_0x285c86=_0x285c86-0x0;var _0x49573d=_0xf27d[_0x285c86];return _0x49573d;};'use strict';var _=require(_0xdf27('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0xdf27('0x1'));var rp=require(_0xdf27('0x2'));var fs=require('fs');var path=require(_0xdf27('0x3'));var rimraf=require('rimraf');var config=require(_0xdf27('0x4'));var attributes=require('./voiceTransferReport.attributes');module[_0xdf27('0x5')]=function(_0x372a8d,_0x248279){return _0x372a8d[_0xdf27('0x6')](_0xdf27('0x7'),attributes,{'tableName':'report_call_transfer','paranoid':![],'indexes':[],'timestamps':!![]});};