b14d102482364d1206f52b0d1161fdc6805ab5f9
[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 _0x713f=['../../config/environment','exports','define','VoiceTransferReport','report_call_transfer','util','../../config/logger','moment','bluebird','request-promise','path','rimraf'];(function(_0x17a09d,_0x135564){var _0xdeb8b4=function(_0x41e29f){while(--_0x41e29f){_0x17a09d['push'](_0x17a09d['shift']());}};_0xdeb8b4(++_0x135564);}(_0x713f,0x1e5));var _0xf713=function(_0x41563e,_0x1c265f){_0x41563e=_0x41563e-0x0;var _0x33e225=_0x713f[_0x41563e];return _0x33e225;};'use strict';var _=require('lodash');var util=require(_0xf713('0x0'));var logger=require(_0xf713('0x1'))('api');var moment=require(_0xf713('0x2'));var BPromise=require(_0xf713('0x3'));var rp=require(_0xf713('0x4'));var fs=require('fs');var path=require(_0xf713('0x5'));var rimraf=require(_0xf713('0x6'));var config=require(_0xf713('0x7'));var attributes=require('./voiceTransferReport.attributes');module[_0xf713('0x8')]=function(_0xc835b,_0x526f72){return _0xc835b[_0xf713('0x9')](_0xf713('0xa'),attributes,{'tableName':_0xf713('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};