Built motion from commit eddce310.|2.6.12
[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 _0x8cdd=['bluebird','request-promise','path','rimraf','./chatWebsite.attributes','exports','define','ChatWebsite','chat_websites','lodash','../../config/logger','api','moment'];(function(_0x162246,_0x4e5038){var _0x32ac95=function(_0x22270b){while(--_0x22270b){_0x162246['push'](_0x162246['shift']());}};_0x32ac95(++_0x4e5038);}(_0x8cdd,0xa5));var _0xd8cd=function(_0x2bf141,_0x31eac7){_0x2bf141=_0x2bf141-0x0;var _0x48277b=_0x8cdd[_0x2bf141];return _0x48277b;};'use strict';var _=require(_0xd8cd('0x0'));var util=require('util');var logger=require(_0xd8cd('0x1'))(_0xd8cd('0x2'));var moment=require(_0xd8cd('0x3'));var BPromise=require(_0xd8cd('0x4'));var rp=require(_0xd8cd('0x5'));var fs=require('fs');var path=require(_0xd8cd('0x6'));var rimraf=require(_0xd8cd('0x7'));var config=require('../../config/environment');var attributes=require(_0xd8cd('0x8'));module[_0xd8cd('0x9')]=function(_0x14f9f8,_0x15c5a3){return _0x14f9f8[_0xd8cd('0xa')](_0xd8cd('0xb'),attributes,{'tableName':_0xd8cd('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};