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 _0x33dd=['lodash','util','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','Integration','integrations'];(function(_0x4988cb,_0x8d309f){var _0x404089=function(_0x43b7c7){while(--_0x43b7c7){_0x4988cb['push'](_0x4988cb['shift']());}};_0x404089(++_0x8d309f);}(_0x33dd,0xf2));var _0xd33d=function(_0x137e58,_0x251da4){_0x137e58=_0x137e58-0x0;var _0x4ff371=_0x33dd[_0x137e58];return _0x4ff371;};'use strict';var _=require(_0xd33d('0x0'));var util=require(_0xd33d('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0xd33d('0x2'));var rp=require(_0xd33d('0x3'));var fs=require('fs');var path=require(_0xd33d('0x4'));var rimraf=require(_0xd33d('0x5'));var config=require(_0xd33d('0x6'));var attributes=require('./integration.attributes');module[_0xd33d('0x7')]=function(_0x3d0e58,_0x5b92d5){return _0x3d0e58[_0xd33d('0x8')](_0xd33d('0x9'),attributes,{'tableName':_0xd33d('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};