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 _0xaf0d=['../../config/environment','./openchannelTransferReport.attributes','report_openchannel_transfer','uniqueid','util','../../config/logger','rimraf'];(function(_0x4792c8,_0x5158a1){var _0x35edb1=function(_0x2472d3){while(--_0x2472d3){_0x4792c8['push'](_0x4792c8['shift']());}};_0x35edb1(++_0x5158a1);}(_0xaf0d,0x6d));var _0xdaf0=function(_0xccd572,_0x1f8bf0){_0xccd572=_0xccd572-0x0;var _0x462143=_0xaf0d[_0xccd572];return _0x462143;};'use strict';var _=require('lodash');var util=require(_0xdaf0('0x0'));var logger=require(_0xdaf0('0x1'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xdaf0('0x2'));var config=require(_0xdaf0('0x3'));var attributes=require(_0xdaf0('0x4'));module['exports']=function(_0x35fe4f,_0x14b19d){return _0x35fe4f['define']('OpenchannelTransferReport',attributes,{'tableName':_0xdaf0('0x5'),'paranoid':![],'indexes':[{'name':_0xdaf0('0x6'),'fields':[_0xdaf0('0x6')]}],'timestamps':!![]});};