a4d8c07fe0e9bf8523d1938ec6e442381f7e047e
[motion2.git] / server / api / chatWebsite / chatWebsite.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xc034=['../../config/logger','api','moment','request-promise','path','rimraf','./chatWebsite.attributes','exports','define','ChatWebsite','chat_websites','lodash','util'];(function(_0x641ea5,_0x5aa943){var _0x2f0c37=function(_0xb54c29){while(--_0xb54c29){_0x641ea5['push'](_0x641ea5['shift']());}};_0x2f0c37(++_0x5aa943);}(_0xc034,0x1ec));var _0x4c03=function(_0xb60230,_0x5a859f){_0xb60230=_0xb60230-0x0;var _0x564239=_0xc034[_0xb60230];return _0x564239;};'use strict';var _=require(_0x4c03('0x0'));var util=require(_0x4c03('0x1'));var logger=require(_0x4c03('0x2'))(_0x4c03('0x3'));var moment=require(_0x4c03('0x4'));var BPromise=require('bluebird');var rp=require(_0x4c03('0x5'));var fs=require('fs');var path=require(_0x4c03('0x6'));var rimraf=require(_0x4c03('0x7'));var config=require('../../config/environment');var attributes=require(_0x4c03('0x8'));module[_0x4c03('0x9')]=function(_0x2c4631,_0x1cac5f){return _0x2c4631[_0x4c03('0xa')](_0x4c03('0xb'),attributes,{'tableName':_0x4c03('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};