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 _0x98a3=['bluebird','rimraf','exports','OpenchannelApplication','openchannel_applications','utf8mb4','utf8mb4_unicode_ci','../../config/logger','moment'];(function(_0x3e04f0,_0xd984fd){var _0x3a7064=function(_0x5010ae){while(--_0x5010ae){_0x3e04f0['push'](_0x3e04f0['shift']());}};_0x3a7064(++_0xd984fd);}(_0x98a3,0x18a));var _0x398a=function(_0x1469d6,_0x4eed8e){_0x1469d6=_0x1469d6-0x0;var _0x131924=_0x98a3[_0x1469d6];return _0x131924;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x398a('0x0'))('api');var moment=require(_0x398a('0x1'));var BPromise=require(_0x398a('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x398a('0x3'));var config=require('../../config/environment');var attributes=require('./openchannelApplication.attributes');module[_0x398a('0x4')]=function(_0x4fd5dc,_0x55b0fc){return _0x4fd5dc['define'](_0x398a('0x5'),attributes,{'tableName':_0x398a('0x6'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x398a('0x7'),'collate':_0x398a('0x8')});};