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 _0x088c=['ChatWebsite','chat_websites','../../config/logger','api','moment','request-promise','path','rimraf','./chatWebsite.attributes','exports','define'];(function(_0x492387,_0x11ae5b){var _0x2b18dc=function(_0x74175b){while(--_0x74175b){_0x492387['push'](_0x492387['shift']());}};_0x2b18dc(++_0x11ae5b);}(_0x088c,0x10a));var _0xc088=function(_0x36bfd6,_0x2abfeb){_0x36bfd6=_0x36bfd6-0x0;var _0x38ef0a=_0x088c[_0x36bfd6];return _0x38ef0a;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xc088('0x0'))(_0xc088('0x1'));var moment=require(_0xc088('0x2'));var BPromise=require('bluebird');var rp=require(_0xc088('0x3'));var fs=require('fs');var path=require(_0xc088('0x4'));var rimraf=require(_0xc088('0x5'));var config=require('../../config/environment');var attributes=require(_0xc088('0x6'));module[_0xc088('0x7')]=function(_0x306254,_0x209732){return _0x306254[_0xc088('0x8')](_0xc088('0x9'),attributes,{'tableName':_0xc088('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};