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 _0x1866=['moment','bluebird','./chatTransferReport.attributes','exports','report_chat_transfer','uniqueid','lodash','util','../../config/logger','api'];(function(_0x329d13,_0x1aff27){var _0x33efd9=function(_0x265b7d){while(--_0x265b7d){_0x329d13['push'](_0x329d13['shift']());}};_0x33efd9(++_0x1aff27);}(_0x1866,0xf6));var _0x6186=function(_0x5bd426,_0x4878e5){_0x5bd426=_0x5bd426-0x0;var _0x23a7eb=_0x1866[_0x5bd426];return _0x23a7eb;};'use strict';var _=require(_0x6186('0x0'));var util=require(_0x6186('0x1'));var logger=require(_0x6186('0x2'))(_0x6186('0x3'));var moment=require(_0x6186('0x4'));var BPromise=require(_0x6186('0x5'));var rp=require('request-promise');var attributes=require(_0x6186('0x6'));module[_0x6186('0x7')]=function(_0x5b001e,_0x589229){return _0x5b001e['define']('ChatTransferReport',attributes,{'tableName':_0x6186('0x8'),'paranoid':![],'indexes':[{'name':_0x6186('0x9'),'fields':[_0x6186('0x9')]}],'timestamps':!![]});};