3a049aa06bd4fb5be23ff49cd8ae8f16def559d1
[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 _0xae24=['define','ChatWebsite','lodash','../../config/logger','moment','bluebird','path','../../config/environment','./chatWebsite.attributes'];(function(_0x225a8b,_0x32171f){var _0x2440cd=function(_0x106b4f){while(--_0x106b4f){_0x225a8b['push'](_0x225a8b['shift']());}};_0x2440cd(++_0x32171f);}(_0xae24,0x65));var _0x4ae2=function(_0x3f8225,_0x547146){_0x3f8225=_0x3f8225-0x0;var _0x5d115b=_0xae24[_0x3f8225];return _0x5d115b;};'use strict';var _=require(_0x4ae2('0x0'));var util=require('util');var logger=require(_0x4ae2('0x1'))('api');var moment=require(_0x4ae2('0x2'));var BPromise=require(_0x4ae2('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x4ae2('0x4'));var rimraf=require('rimraf');var config=require(_0x4ae2('0x5'));var attributes=require(_0x4ae2('0x6'));module['exports']=function(_0xb0af69,_0x17b63b){return _0xb0af69[_0x4ae2('0x7')](_0x4ae2('0x8'),attributes,{'tableName':'chat_websites','paranoid':![],'indexes':[],'timestamps':!![]});};