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 _0x36ec=['exports','define','ChatWebsite','chat_websites','lodash','moment','bluebird','request-promise','path','../../config/environment'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x36ec,0x1da));var _0xc36e=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x36ec[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0xc36e('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0xc36e('0x1'));var BPromise=require(_0xc36e('0x2'));var rp=require(_0xc36e('0x3'));var fs=require('fs');var path=require(_0xc36e('0x4'));var rimraf=require('rimraf');var config=require(_0xc36e('0x5'));var attributes=require('./chatWebsite.attributes');module[_0xc36e('0x6')]=function(_0x4dc1f6,_0x17d34c){return _0x4dc1f6[_0xc36e('0x7')](_0xc36e('0x8'),attributes,{'tableName':_0xc36e('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};