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 _0x86c4=['request-promise','path','rimraf','../../config/environment','exports','define','utf8mb4','lodash','util','moment','bluebird'];(function(_0x52c0c2,_0x11be01){var _0x38e7db=function(_0x32f870){while(--_0x32f870){_0x52c0c2['push'](_0x52c0c2['shift']());}};_0x38e7db(++_0x11be01);}(_0x86c4,0x104));var _0x486c=function(_0x4565bf,_0x5ad9d6){_0x4565bf=_0x4565bf-0x0;var _0x5610ba=_0x86c4[_0x4565bf];return _0x5610ba;};'use strict';var _=require(_0x486c('0x0'));var util=require(_0x486c('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x486c('0x2'));var BPromise=require(_0x486c('0x3'));var rp=require(_0x486c('0x4'));var fs=require('fs');var path=require(_0x486c('0x5'));var rimraf=require(_0x486c('0x6'));var config=require(_0x486c('0x7'));var attributes=require('./openchannelApplication.attributes');module[_0x486c('0x8')]=function(_0x51bb05,_0x177ec7){return _0x51bb05[_0x486c('0x9')]('OpenchannelApplication',attributes,{'tableName':'openchannel_applications','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x486c('0xa'),'collate':'utf8mb4_unicode_ci'});};