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 _0xcea6=['util','../../config/logger','api','moment','request-promise','rimraf','./integration.attributes','exports','define','Integration','lodash'];(function(_0x7a8365,_0x563ade){var _0x55359f=function(_0x344dc2){while(--_0x344dc2){_0x7a8365['push'](_0x7a8365['shift']());}};_0x55359f(++_0x563ade);}(_0xcea6,0x1b7));var _0x6cea=function(_0x21a854,_0x24257e){_0x21a854=_0x21a854-0x0;var _0x67b4c0=_0xcea6[_0x21a854];return _0x67b4c0;};'use strict';var _=require(_0x6cea('0x0'));var util=require(_0x6cea('0x1'));var logger=require(_0x6cea('0x2'))(_0x6cea('0x3'));var moment=require(_0x6cea('0x4'));var BPromise=require('bluebird');var rp=require(_0x6cea('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x6cea('0x6'));var config=require('../../config/environment');var attributes=require(_0x6cea('0x7'));module[_0x6cea('0x8')]=function(_0xc0c2b5,_0x429228){return _0xc0c2b5[_0x6cea('0x9')](_0x6cea('0xa'),attributes,{'tableName':'integrations','paranoid':![],'indexes':[],'timestamps':!![]});};