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 _0x5479=['../../config/environment','exports','define','OpenchannelApplication','openchannel_applications','utf8mb4','utf8mb4_unicode_ci','lodash','util','../../config/logger','request-promise','path','rimraf'];(function(_0x794207,_0x54a989){var _0x4ee1c9=function(_0x136ea4){while(--_0x136ea4){_0x794207['push'](_0x794207['shift']());}};_0x4ee1c9(++_0x54a989);}(_0x5479,0x18d));var _0x9547=function(_0xd46cb,_0x2d2899){_0xd46cb=_0xd46cb-0x0;var _0x5c735d=_0x5479[_0xd46cb];return _0x5c735d;};'use strict';var _=require(_0x9547('0x0'));var util=require(_0x9547('0x1'));var logger=require(_0x9547('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x9547('0x3'));var fs=require('fs');var path=require(_0x9547('0x4'));var rimraf=require(_0x9547('0x5'));var config=require(_0x9547('0x6'));var attributes=require('./openchannelApplication.attributes');module[_0x9547('0x7')]=function(_0x3bc7e4,_0x1e0ae4){return _0x3bc7e4[_0x9547('0x8')](_0x9547('0x9'),attributes,{'tableName':_0x9547('0xa'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x9547('0xb'),'collate':_0x9547('0xc')});};