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 _0x7d98=['lodash','../../config/logger','api','moment','bluebird','path','rimraf','./chatWebsite.attributes','define','ChatWebsite','chat_websites'];(function(_0x56af3e,_0x5541f3){var _0x3966de=function(_0x55c63a){while(--_0x55c63a){_0x56af3e['push'](_0x56af3e['shift']());}};_0x3966de(++_0x5541f3);}(_0x7d98,0xe7));var _0x87d9=function(_0xc8db6b,_0x320abd){_0xc8db6b=_0xc8db6b-0x0;var _0x12cb81=_0x7d98[_0xc8db6b];return _0x12cb81;};'use strict';var _=require(_0x87d9('0x0'));var util=require('util');var logger=require(_0x87d9('0x1'))(_0x87d9('0x2'));var moment=require(_0x87d9('0x3'));var BPromise=require(_0x87d9('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x87d9('0x5'));var rimraf=require(_0x87d9('0x6'));var config=require('../../config/environment');var attributes=require(_0x87d9('0x7'));module['exports']=function(_0x5ed6d2,_0x510ba4){return _0x5ed6d2[_0x87d9('0x8')](_0x87d9('0x9'),attributes,{'tableName':_0x87d9('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};