8a3b62d1d7ee6d7901baeea07b22c1fc9b081b44
[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 _0x55ea=['./chatWebsite.attributes','ChatWebsite','chat_websites','lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf'];(function(_0x54d8ea,_0x4eb1ea){var _0x34c73f=function(_0x3d5338){while(--_0x3d5338){_0x54d8ea['push'](_0x54d8ea['shift']());}};_0x34c73f(++_0x4eb1ea);}(_0x55ea,0xc9));var _0xa55e=function(_0x12fdd3,_0x3109d0){_0x12fdd3=_0x12fdd3-0x0;var _0x3b2182=_0x55ea[_0x12fdd3];return _0x3b2182;};'use strict';var _=require(_0xa55e('0x0'));var util=require(_0xa55e('0x1'));var logger=require(_0xa55e('0x2'))('api');var moment=require(_0xa55e('0x3'));var BPromise=require(_0xa55e('0x4'));var rp=require(_0xa55e('0x5'));var fs=require('fs');var path=require(_0xa55e('0x6'));var rimraf=require(_0xa55e('0x7'));var config=require('../../config/environment');var attributes=require(_0xa55e('0x8'));module['exports']=function(_0x515646,_0x588751){return _0x515646['define'](_0xa55e('0x9'),attributes,{'tableName':_0xa55e('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};