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 _0x767b=['utf8mb4_unicode_ci','lodash','../../config/logger','moment','bluebird','request-promise','rimraf','./openchannelApplication.attributes','exports','define','OpenchannelApplication','utf8mb4'];(function(_0x12ed81,_0x5cb9ec){var _0x56c90e=function(_0x1d0ed4){while(--_0x1d0ed4){_0x12ed81['push'](_0x12ed81['shift']());}};_0x56c90e(++_0x5cb9ec);}(_0x767b,0x145));var _0xb767=function(_0x27b0c4,_0xaf6d02){_0x27b0c4=_0x27b0c4-0x0;var _0xcb87b2=_0x767b[_0x27b0c4];return _0xcb87b2;};'use strict';var _=require(_0xb767('0x0'));var util=require('util');var logger=require(_0xb767('0x1'))('api');var moment=require(_0xb767('0x2'));var BPromise=require(_0xb767('0x3'));var rp=require(_0xb767('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xb767('0x5'));var config=require('../../config/environment');var attributes=require(_0xb767('0x6'));module[_0xb767('0x7')]=function(_0x4fdb3d,_0x55ab2d){return _0x4fdb3d[_0xb767('0x8')](_0xb767('0x9'),attributes,{'tableName':'openchannel_applications','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xb767('0xa'),'collate':_0xb767('0xb')});};