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 _0x9d9b=['rimraf','./chatWebsite.attributes','ChatWebsite','chat_websites','util','../../config/logger','moment','request-promise','path'];(function(_0x1cea90,_0x163a1b){var _0x53da7e=function(_0x3c36b2){while(--_0x3c36b2){_0x1cea90['push'](_0x1cea90['shift']());}};_0x53da7e(++_0x163a1b);}(_0x9d9b,0x1e1));var _0xb9d9=function(_0x2617ab,_0x2698ae){_0x2617ab=_0x2617ab-0x0;var _0x578fcc=_0x9d9b[_0x2617ab];return _0x578fcc;};'use strict';var _=require('lodash');var util=require(_0xb9d9('0x0'));var logger=require(_0xb9d9('0x1'))('api');var moment=require(_0xb9d9('0x2'));var BPromise=require('bluebird');var rp=require(_0xb9d9('0x3'));var fs=require('fs');var path=require(_0xb9d9('0x4'));var rimraf=require(_0xb9d9('0x5'));var config=require('../../config/environment');var attributes=require(_0xb9d9('0x6'));module['exports']=function(_0x1b1f3c,_0x32cf18){return _0x1b1f3c['define'](_0xb9d9('0x7'),attributes,{'tableName':_0xb9d9('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};