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 _0x2547=['rimraf','./chatWebsite.attributes','exports','ChatWebsite','chat_websites','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x515ef1,_0x476d57){var _0x2081a6=function(_0x310edf){while(--_0x310edf){_0x515ef1['push'](_0x515ef1['shift']());}};_0x2081a6(++_0x476d57);}(_0x2547,0x1cd));var _0x7254=function(_0x50ea66,_0x53b6f4){_0x50ea66=_0x50ea66-0x0;var _0x224dcb=_0x2547[_0x50ea66];return _0x224dcb;};'use strict';var _=require('lodash');var util=require(_0x7254('0x0'));var logger=require(_0x7254('0x1'))(_0x7254('0x2'));var moment=require(_0x7254('0x3'));var BPromise=require(_0x7254('0x4'));var rp=require(_0x7254('0x5'));var fs=require('fs');var path=require(_0x7254('0x6'));var rimraf=require(_0x7254('0x7'));var config=require('../../config/environment');var attributes=require(_0x7254('0x8'));module[_0x7254('0x9')]=function(_0x67f427,_0x119f66){return _0x67f427['define'](_0x7254('0xa'),attributes,{'tableName':_0x7254('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};