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 _0x0f31=['api','moment','bluebird','request-promise','./chatWebsite.attributes','exports','ChatWebsite','chat_websites','lodash','util','../../config/logger'];(function(_0x3c59b7,_0x242aba){var _0x1a5e0=function(_0x32fc7f){while(--_0x32fc7f){_0x3c59b7['push'](_0x3c59b7['shift']());}};_0x1a5e0(++_0x242aba);}(_0x0f31,0x1cb));var _0x10f3=function(_0x4650fa,_0x32b710){_0x4650fa=_0x4650fa-0x0;var _0x196825=_0x0f31[_0x4650fa];return _0x196825;};'use strict';var _=require(_0x10f3('0x0'));var util=require(_0x10f3('0x1'));var logger=require(_0x10f3('0x2'))(_0x10f3('0x3'));var moment=require(_0x10f3('0x4'));var BPromise=require(_0x10f3('0x5'));var rp=require(_0x10f3('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x10f3('0x7'));module[_0x10f3('0x8')]=function(_0x24e094,_0x165b1b){return _0x24e094['define'](_0x10f3('0x9'),attributes,{'tableName':_0x10f3('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};