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 _0x0dbd=['api','moment','request-promise','rimraf','../../config/environment','./openchannelApplication.attributes','exports','define','OpenchannelApplication','openchannel_applications','utf8mb4_unicode_ci','util','../../config/logger'];(function(_0x1f7839,_0x2a26e6){var _0x36b42e=function(_0x553222){while(--_0x553222){_0x1f7839['push'](_0x1f7839['shift']());}};_0x36b42e(++_0x2a26e6);}(_0x0dbd,0x73));var _0xd0db=function(_0x2f6c3e,_0x579279){_0x2f6c3e=_0x2f6c3e-0x0;var _0x5bd3b0=_0x0dbd[_0x2f6c3e];return _0x5bd3b0;};'use strict';var _=require('lodash');var util=require(_0xd0db('0x0'));var logger=require(_0xd0db('0x1'))(_0xd0db('0x2'));var moment=require(_0xd0db('0x3'));var BPromise=require('bluebird');var rp=require(_0xd0db('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xd0db('0x5'));var config=require(_0xd0db('0x6'));var attributes=require(_0xd0db('0x7'));module[_0xd0db('0x8')]=function(_0x3a2507,_0x515030){return _0x3a2507[_0xd0db('0x9')](_0xd0db('0xa'),attributes,{'tableName':_0xd0db('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':_0xd0db('0xc')});};