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 _0xfbfe=['util','moment','bluebird','request-promise','path','rimraf','../../config/environment','./integration.attributes','exports','define','Integration','integrations'];(function(_0x397e5f,_0x454c8f){var _0x5302b8=function(_0x1a29ef){while(--_0x1a29ef){_0x397e5f['push'](_0x397e5f['shift']());}};_0x5302b8(++_0x454c8f);}(_0xfbfe,0x1bc));var _0xefbf=function(_0x20a0dc,_0xf1da2d){_0x20a0dc=_0x20a0dc-0x0;var _0x49f4a6=_0xfbfe[_0x20a0dc];return _0x49f4a6;};'use strict';var _=require('lodash');var util=require(_0xefbf('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0xefbf('0x1'));var BPromise=require(_0xefbf('0x2'));var rp=require(_0xefbf('0x3'));var fs=require('fs');var path=require(_0xefbf('0x4'));var rimraf=require(_0xefbf('0x5'));var config=require(_0xefbf('0x6'));var attributes=require(_0xefbf('0x7'));module[_0xefbf('0x8')]=function(_0x24e0cc,_0x1fb9ef){return _0x24e0cc[_0xefbf('0x9')](_0xefbf('0xa'),attributes,{'tableName':_0xefbf('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};