49fb475fca3b3c8d2e2a2f6dfe75a1ac7f6d55c6
[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 _0xb71e=['util','moment','bluebird','request-promise','path','rimraf','../../config/environment','./chatWebsite.attributes','exports','define','ChatWebsite','chat_websites','lodash'];(function(_0x2dd299,_0x30537b){var _0x554490=function(_0x3c5118){while(--_0x3c5118){_0x2dd299['push'](_0x2dd299['shift']());}};_0x554490(++_0x30537b);}(_0xb71e,0x1ac));var _0xeb71=function(_0x62c958,_0x2bfdbc){_0x62c958=_0x62c958-0x0;var _0x57ec61=_0xb71e[_0x62c958];return _0x57ec61;};'use strict';var _=require(_0xeb71('0x0'));var util=require(_0xeb71('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xeb71('0x2'));var BPromise=require(_0xeb71('0x3'));var rp=require(_0xeb71('0x4'));var fs=require('fs');var path=require(_0xeb71('0x5'));var rimraf=require(_0xeb71('0x6'));var config=require(_0xeb71('0x7'));var attributes=require(_0xeb71('0x8'));module[_0xeb71('0x9')]=function(_0x51a35b,_0x1aad97){return _0x51a35b[_0xeb71('0xa')](_0xeb71('0xb'),attributes,{'tableName':_0xeb71('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};