5a5f1067ae237ca80accb483fb862c91977539a8
[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 _0xbfeb=['request-promise','path','rimraf','../../config/environment','./voiceTransferReport.attributes','exports','define','VoiceTransferReport','report_call_transfer','util','../../config/logger','api','moment'];(function(_0xea2b73,_0x58f682){var _0x19bac0=function(_0x503dc3){while(--_0x503dc3){_0xea2b73['push'](_0xea2b73['shift']());}};_0x19bac0(++_0x58f682);}(_0xbfeb,0x1c3));var _0xbbfe=function(_0x4bdd89,_0x48abde){_0x4bdd89=_0x4bdd89-0x0;var _0x2aad77=_0xbfeb[_0x4bdd89];return _0x2aad77;};'use strict';var _=require('lodash');var util=require(_0xbbfe('0x0'));var logger=require(_0xbbfe('0x1'))(_0xbbfe('0x2'));var moment=require(_0xbbfe('0x3'));var BPromise=require('bluebird');var rp=require(_0xbbfe('0x4'));var fs=require('fs');var path=require(_0xbbfe('0x5'));var rimraf=require(_0xbbfe('0x6'));var config=require(_0xbbfe('0x7'));var attributes=require(_0xbbfe('0x8'));module[_0xbbfe('0x9')]=function(_0x713fdd,_0x18db08){return _0x713fdd[_0xbbfe('0xa')](_0xbbfe('0xb'),attributes,{'tableName':_0xbbfe('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};