ae0f0353c047bd74ab1e4659825daa3b489e7ced
[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 _0xb2db=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./chatWebsite.attributes','ChatWebsite','chat_websites','lodash','util'];(function(_0x208f5e,_0x466ecf){var _0x502ccc=function(_0x3a9071){while(--_0x3a9071){_0x208f5e['push'](_0x208f5e['shift']());}};_0x502ccc(++_0x466ecf);}(_0xb2db,0x15a));var _0xbb2d=function(_0x163cce,_0x688663){_0x163cce=_0x163cce-0x0;var _0x10bd6b=_0xb2db[_0x163cce];return _0x10bd6b;};'use strict';var _=require(_0xbb2d('0x0'));var util=require(_0xbb2d('0x1'));var logger=require('../../config/logger')(_0xbb2d('0x2'));var moment=require(_0xbb2d('0x3'));var BPromise=require(_0xbb2d('0x4'));var rp=require(_0xbb2d('0x5'));var fs=require('fs');var path=require(_0xbb2d('0x6'));var rimraf=require(_0xbb2d('0x7'));var config=require(_0xbb2d('0x8'));var attributes=require(_0xbb2d('0x9'));module['exports']=function(_0x1121a7,_0x554b0a){return _0x1121a7['define'](_0xbb2d('0xa'),attributes,{'tableName':_0xbb2d('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};