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 _0x636c=['bluebird','request-promise','path','./openchannelApplication.attributes','exports','define','utf8mb4','lodash','util','moment'];(function(_0x5a503c,_0x40f51a){var _0x108f15=function(_0x4d0c47){while(--_0x4d0c47){_0x5a503c['push'](_0x5a503c['shift']());}};_0x108f15(++_0x40f51a);}(_0x636c,0x15b));var _0xc636=function(_0x14deb8,_0x2e7e5e){_0x14deb8=_0x14deb8-0x0;var _0x1f5d27=_0x636c[_0x14deb8];return _0x1f5d27;};'use strict';var _=require(_0xc636('0x0'));var util=require(_0xc636('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xc636('0x2'));var BPromise=require(_0xc636('0x3'));var rp=require(_0xc636('0x4'));var fs=require('fs');var path=require(_0xc636('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xc636('0x6'));module[_0xc636('0x7')]=function(_0x11e2dd,_0x19491e){return _0x11e2dd[_0xc636('0x8')]('OpenchannelApplication',attributes,{'tableName':'openchannel_applications','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xc636('0x9'),'collate':'utf8mb4_unicode_ci'});};