Built motion from commit 1fa89557.|2.6.10
[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 _0x5904=['./chatWebsite.attributes','exports','ChatWebsite','chat_websites','lodash','util','../../config/logger','moment','request-promise','rimraf','../../config/environment'];(function(_0x244f5d,_0x3c98c6){var _0x1a3886=function(_0x2bf049){while(--_0x2bf049){_0x244f5d['push'](_0x244f5d['shift']());}};_0x1a3886(++_0x3c98c6);}(_0x5904,0x159));var _0x4590=function(_0x151eb2,_0xdbdcf4){_0x151eb2=_0x151eb2-0x0;var _0x5c8921=_0x5904[_0x151eb2];return _0x5c8921;};'use strict';var _=require(_0x4590('0x0'));var util=require(_0x4590('0x1'));var logger=require(_0x4590('0x2'))('api');var moment=require(_0x4590('0x3'));var BPromise=require('bluebird');var rp=require(_0x4590('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x4590('0x5'));var config=require(_0x4590('0x6'));var attributes=require(_0x4590('0x7'));module[_0x4590('0x8')]=function(_0x3a2c4a,_0x3fd5e6){return _0x3a2c4a['define'](_0x4590('0x9'),attributes,{'tableName':_0x4590('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};