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 _0x55ea=['./chatWebsite.attributes','ChatWebsite','chat_websites','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf'];(function(_0x30e3b5,_0x4ddcfd){var _0x1db54c=function(_0x19f55a){while(--_0x19f55a){_0x30e3b5['push'](_0x30e3b5['shift']());}};_0x1db54c(++_0x4ddcfd);}(_0x55ea,0xc9));var _0xa55e=function(_0x5eae30,_0x3ca43a){_0x5eae30=_0x5eae30-0x0;var _0x5ebd00=_0x55ea[_0x5eae30];return _0x5ebd00;};'use strict';var _=require(_0xa55e('0x0'));var util=require(_0xa55e('0x1'));var logger=require(_0xa55e('0x2'))('api');var moment=require(_0xa55e('0x3'));var BPromise=require(_0xa55e('0x4'));var rp=require(_0xa55e('0x5'));var fs=require('fs');var path=require(_0xa55e('0x6'));var rimraf=require(_0xa55e('0x7'));var config=require('../../config/environment');var attributes=require(_0xa55e('0x8'));module['exports']=function(_0x515646,_0x588751){return _0x515646['define'](_0xa55e('0x9'),attributes,{'tableName':_0xa55e('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};