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 _0xf39f=['lodash','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','./integration.attributes','exports','define','Integration','integrations'];(function(_0x458c52,_0x5e3fb4){var _0x43f43b=function(_0x5cdfeb){while(--_0x5cdfeb){_0x458c52['push'](_0x458c52['shift']());}};_0x43f43b(++_0x5e3fb4);}(_0xf39f,0x104));var _0xff39=function(_0x2e3ba5,_0x133220){_0x2e3ba5=_0x2e3ba5-0x0;var _0x4c03f4=_0xf39f[_0x2e3ba5];return _0x4c03f4;};'use strict';var _=require(_0xff39('0x0'));var util=require(_0xff39('0x1'));var logger=require(_0xff39('0x2'))('api');var moment=require(_0xff39('0x3'));var BPromise=require(_0xff39('0x4'));var rp=require(_0xff39('0x5'));var fs=require('fs');var path=require(_0xff39('0x6'));var rimraf=require(_0xff39('0x7'));var config=require('../../config/environment');var attributes=require(_0xff39('0x8'));module[_0xff39('0x9')]=function(_0x47245d,_0x22958){return _0x47245d[_0xff39('0xa')](_0xff39('0xb'),attributes,{'tableName':_0xff39('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};