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 _0x44f2=['lodash','api','bluebird','request-promise','path','rimraf','./openchannelApplication.attributes','define','OpenchannelApplication','openchannel_applications','utf8mb4','utf8mb4_unicode_ci'];(function(_0x7b717,_0x311539){var _0x50d254=function(_0xfdf8b8){while(--_0xfdf8b8){_0x7b717['push'](_0x7b717['shift']());}};_0x50d254(++_0x311539);}(_0x44f2,0x120));var _0x244f=function(_0x4863bc,_0x26dd88){_0x4863bc=_0x4863bc-0x0;var _0xa20d45=_0x44f2[_0x4863bc];return _0xa20d45;};'use strict';var _=require(_0x244f('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x244f('0x1'));var moment=require('moment');var BPromise=require(_0x244f('0x2'));var rp=require(_0x244f('0x3'));var fs=require('fs');var path=require(_0x244f('0x4'));var rimraf=require(_0x244f('0x5'));var config=require('../../config/environment');var attributes=require(_0x244f('0x6'));module['exports']=function(_0x3322da,_0x1d352b){return _0x3322da[_0x244f('0x7')](_0x244f('0x8'),attributes,{'tableName':_0x244f('0x9'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x244f('0xa'),'collate':_0x244f('0xb')});};