9db97c5eaf730097c6f73bcab3d144e8d4a5676a
[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 _0x1d5d=['bluebird','request-promise','path','rimraf','../../config/environment','exports','VoiceTransferReport','lodash','util','api','moment'];(function(_0x2f6e2d,_0x3ba8a5){var _0x3d122c=function(_0x3f15ac){while(--_0x3f15ac){_0x2f6e2d['push'](_0x2f6e2d['shift']());}};_0x3d122c(++_0x3ba8a5);}(_0x1d5d,0x19e));var _0xd1d5=function(_0x4b7b62,_0x4920a9){_0x4b7b62=_0x4b7b62-0x0;var _0x2280df=_0x1d5d[_0x4b7b62];return _0x2280df;};'use strict';var _=require(_0xd1d5('0x0'));var util=require(_0xd1d5('0x1'));var logger=require('../../config/logger')(_0xd1d5('0x2'));var moment=require(_0xd1d5('0x3'));var BPromise=require(_0xd1d5('0x4'));var rp=require(_0xd1d5('0x5'));var fs=require('fs');var path=require(_0xd1d5('0x6'));var rimraf=require(_0xd1d5('0x7'));var config=require(_0xd1d5('0x8'));var attributes=require('./voiceTransferReport.attributes');module[_0xd1d5('0x9')]=function(_0x54c1f9,_0x2e91d2){return _0x54c1f9['define'](_0xd1d5('0xa'),attributes,{'tableName':'report_call_transfer','paranoid':![],'indexes':[],'timestamps':!![]});};