2b1692f05d2cb12635be854f042efe10f1856eea
[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 _0x4091=['../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','exports','define','VoiceTransferReport','report_call_transfer'];(function(_0x4bc4c8,_0x3139d3){var _0x3bb121=function(_0x95ad12){while(--_0x95ad12){_0x4bc4c8['push'](_0x4bc4c8['shift']());}};_0x3bb121(++_0x3139d3);}(_0x4091,0x181));var _0x1409=function(_0x3d6e69,_0x5abbf3){_0x3d6e69=_0x3d6e69-0x0;var _0x230335=_0x4091[_0x3d6e69];return _0x230335;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x1409('0x0'))(_0x1409('0x1'));var moment=require(_0x1409('0x2'));var BPromise=require('bluebird');var rp=require(_0x1409('0x3'));var fs=require('fs');var path=require(_0x1409('0x4'));var rimraf=require(_0x1409('0x5'));var config=require(_0x1409('0x6'));var attributes=require('./voiceTransferReport.attributes');module[_0x1409('0x7')]=function(_0x5ab440,_0x2cc708){return _0x5ab440[_0x1409('0x8')](_0x1409('0x9'),attributes,{'tableName':_0x1409('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};