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 _0x8ea0=['./chatTransferReport.attributes','exports','define','ChatTransferReport','report_chat_transfer','uniqueid','lodash','../../config/logger','api','moment','bluebird','request-promise','../../config/environment'];(function(_0x3d55ba,_0x7f6464){var _0x1e0d87=function(_0x3349e9){while(--_0x3349e9){_0x3d55ba['push'](_0x3d55ba['shift']());}};_0x1e0d87(++_0x7f6464);}(_0x8ea0,0x1f4));var _0x08ea=function(_0x5f2fe9,_0xbdfdf8){_0x5f2fe9=_0x5f2fe9-0x0;var _0x46280f=_0x8ea0[_0x5f2fe9];return _0x46280f;};'use strict';var _=require(_0x08ea('0x0'));var util=require('util');var logger=require(_0x08ea('0x1'))(_0x08ea('0x2'));var moment=require(_0x08ea('0x3'));var BPromise=require(_0x08ea('0x4'));var rp=require(_0x08ea('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x08ea('0x6'));var attributes=require(_0x08ea('0x7'));module[_0x08ea('0x8')]=function(_0x1ac35c,_0x1db8a4){return _0x1ac35c[_0x08ea('0x9')](_0x08ea('0xa'),attributes,{'tableName':_0x08ea('0xb'),'paranoid':![],'indexes':[{'name':_0x08ea('0xc'),'fields':[_0x08ea('0xc')]}],'timestamps':!![]});};