Built motion from commit b0a9a629.|2.6.33
[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 _0x9a62=['bluebird','request-promise','path','rimraf','../../config/environment','./chatWebsite.attributes','exports','define','ChatWebsite','chat_websites','lodash','util','../../config/logger','api','moment'];(function(_0x13a2e5,_0x1a433d){var _0x51a129=function(_0x3675ef){while(--_0x3675ef){_0x13a2e5['push'](_0x13a2e5['shift']());}};_0x51a129(++_0x1a433d);}(_0x9a62,0x127));var _0x29a6=function(_0x4a9fb1,_0x273043){_0x4a9fb1=_0x4a9fb1-0x0;var _0x348672=_0x9a62[_0x4a9fb1];return _0x348672;};'use strict';var _=require(_0x29a6('0x0'));var util=require(_0x29a6('0x1'));var logger=require(_0x29a6('0x2'))(_0x29a6('0x3'));var moment=require(_0x29a6('0x4'));var BPromise=require(_0x29a6('0x5'));var rp=require(_0x29a6('0x6'));var fs=require('fs');var path=require(_0x29a6('0x7'));var rimraf=require(_0x29a6('0x8'));var config=require(_0x29a6('0x9'));var attributes=require(_0x29a6('0xa'));module[_0x29a6('0xb')]=function(_0x426836,_0x59e3d1){return _0x426836[_0x29a6('0xc')](_0x29a6('0xd'),attributes,{'tableName':_0x29a6('0xe'),'paranoid':![],'indexes':[],'timestamps':!![]});};