e7c1d0c475620b171467513ff1b8f132f84e160a
[motion2.git] / server / api / chatApplication / chatApplication.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 _0x8ed3=['../../config/environment','./chatApplication.attributes','define','chat_applications','utf8mb4','utf8mb4_unicode_ci','lodash','util','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x19a933,_0x55d8d8){var _0x24a5c1=function(_0x3f3d01){while(--_0x3f3d01){_0x19a933['push'](_0x19a933['shift']());}};_0x24a5c1(++_0x55d8d8);}(_0x8ed3,0x1d4));var _0x38ed=function(_0x3ac882,_0x370ae4){_0x3ac882=_0x3ac882-0x0;var _0x505c4c=_0x8ed3[_0x3ac882];return _0x505c4c;};'use strict';var _=require(_0x38ed('0x0'));var util=require(_0x38ed('0x1'));var logger=require('../../config/logger')(_0x38ed('0x2'));var moment=require(_0x38ed('0x3'));var BPromise=require(_0x38ed('0x4'));var rp=require(_0x38ed('0x5'));var fs=require('fs');var path=require(_0x38ed('0x6'));var rimraf=require(_0x38ed('0x7'));var config=require(_0x38ed('0x8'));var attributes=require(_0x38ed('0x9'));module['exports']=function(_0x282e68,_0x447f6c){return _0x282e68[_0x38ed('0xa')]('ChatApplication',attributes,{'tableName':_0x38ed('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x38ed('0xc'),'collate':_0x38ed('0xd')});};