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 _0xf58f=['rimraf','../../config/environment','./openchannelApplication.attributes','exports','OpenchannelApplication','utf8mb4','util','../../config/logger','moment','request-promise','path'];(function(_0xe1b102,_0x542a72){var _0xed6dcc=function(_0x3191a6){while(--_0x3191a6){_0xe1b102['push'](_0xe1b102['shift']());}};_0xed6dcc(++_0x542a72);}(_0xf58f,0x69));var _0xff58=function(_0x45951d,_0x5afec6){_0x45951d=_0x45951d-0x0;var _0x1ad3c6=_0xf58f[_0x45951d];return _0x1ad3c6;};'use strict';var _=require('lodash');var util=require(_0xff58('0x0'));var logger=require(_0xff58('0x1'))('api');var moment=require(_0xff58('0x2'));var BPromise=require('bluebird');var rp=require(_0xff58('0x3'));var fs=require('fs');var path=require(_0xff58('0x4'));var rimraf=require(_0xff58('0x5'));var config=require(_0xff58('0x6'));var attributes=require(_0xff58('0x7'));module[_0xff58('0x8')]=function(_0x4ad273,_0x282c8f){return _0x4ad273['define'](_0xff58('0x9'),attributes,{'tableName':'openchannel_applications','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xff58('0xa'),'collate':'utf8mb4_unicode_ci'});};