65e8a2af7efe4e63573db5f530ba9887e369c03e
[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 _0xa750=['../../config/environment','./chatWebsite.attributes','exports','ChatWebsite','chat_websites','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x36d7a8,_0x270a23){var _0xa58c1e=function(_0x38bec2){while(--_0x38bec2){_0x36d7a8['push'](_0x36d7a8['shift']());}};_0xa58c1e(++_0x270a23);}(_0xa750,0xfc));var _0x0a75=function(_0x1ade98,_0x2aa285){_0x1ade98=_0x1ade98-0x0;var _0xe96d64=_0xa750[_0x1ade98];return _0xe96d64;};'use strict';var _=require(_0x0a75('0x0'));var util=require('util');var logger=require(_0x0a75('0x1'))(_0x0a75('0x2'));var moment=require(_0x0a75('0x3'));var BPromise=require(_0x0a75('0x4'));var rp=require(_0x0a75('0x5'));var fs=require('fs');var path=require(_0x0a75('0x6'));var rimraf=require(_0x0a75('0x7'));var config=require(_0x0a75('0x8'));var attributes=require(_0x0a75('0x9'));module[_0x0a75('0xa')]=function(_0x5a86de,_0x37f0c9){return _0x5a86de['define'](_0x0a75('0xb'),attributes,{'tableName':_0x0a75('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};