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 _0x9a93=['ChatWebsite','chat_websites','lodash','util','../../config/logger','api','moment','path','../../config/environment','./chatWebsite.attributes','define'];(function(_0x146633,_0x42c6e8){var _0x1a0de6=function(_0x40a961){while(--_0x40a961){_0x146633['push'](_0x146633['shift']());}};_0x1a0de6(++_0x42c6e8);}(_0x9a93,0x1f1));var _0x39a9=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x9a93[_0x14add3];return _0x4a174f;};'use strict';var _=require(_0x39a9('0x0'));var util=require(_0x39a9('0x1'));var logger=require(_0x39a9('0x2'))(_0x39a9('0x3'));var moment=require(_0x39a9('0x4'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x39a9('0x5'));var rimraf=require('rimraf');var config=require(_0x39a9('0x6'));var attributes=require(_0x39a9('0x7'));module['exports']=function(_0x1626eb,_0xa164e7){return _0x1626eb[_0x39a9('0x8')](_0x39a9('0x9'),attributes,{'tableName':_0x39a9('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};