1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x30c4=['request-promise','rimraf','../../config/environment','./chatApplication.attributes','utf8mb4','utf8mb4_unicode_ci','lodash','util','../../config/logger','bluebird'];(function(_0x29e3f2,_0x18b71f){var _0x539dd9=function(_0x27d57f){while(--_0x27d57f){_0x29e3f2['push'](_0x29e3f2['shift']());}};_0x539dd9(++_0x18b71f);}(_0x30c4,0x1c8));var _0x430c=function(_0x3fd041,_0x527d06){_0x3fd041=_0x3fd041-0x0;var _0x89940=_0x30c4[_0x3fd041];return _0x89940;};'use strict';var _=require(_0x430c('0x0'));var util=require(_0x430c('0x1'));var logger=require(_0x430c('0x2'))('api');var moment=require('moment');var BPromise=require(_0x430c('0x3'));var rp=require(_0x430c('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x430c('0x5'));var config=require(_0x430c('0x6'));var attributes=require(_0x430c('0x7'));module['exports']=function(_0x294f3c,_0x4ce74d){return _0x294f3c['define']('ChatApplication',attributes,{'tableName':'chat_applications','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x430c('0x8'),'collate':_0x430c('0x9')});};