1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x7223=['request-promise','rimraf','../../config/environment','./openchannelTransferReport.attributes','exports','OpenchannelTransferReport','report_openchannel_transfer','uniqueid','util','../../config/logger','api','bluebird'];(function(_0xddd175,_0x5cfa9b){var _0x3bf8d8=function(_0x4958a8){while(--_0x4958a8){_0xddd175['push'](_0xddd175['shift']());}};_0x3bf8d8(++_0x5cfa9b);}(_0x7223,0x1f4));var _0x3722=function(_0x2dadb9,_0x42cfe6){_0x2dadb9=_0x2dadb9-0x0;var _0x2f0097=_0x7223[_0x2dadb9];return _0x2f0097;};'use strict';var _=require('lodash');var util=require(_0x3722('0x0'));var logger=require(_0x3722('0x1'))(_0x3722('0x2'));var moment=require('moment');var BPromise=require(_0x3722('0x3'));var rp=require(_0x3722('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x3722('0x5'));var config=require(_0x3722('0x6'));var attributes=require(_0x3722('0x7'));module[_0x3722('0x8')]=function(_0x2f9259,_0x5f06aa){return _0x2f9259['define'](_0x3722('0x9'),attributes,{'tableName':_0x3722('0xa'),'paranoid':![],'indexes':[{'name':_0x3722('0xb'),'fields':[_0x3722('0xb')]}],'timestamps':!![]});};