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 _0x1615=['integrations','lodash','util','../../config/logger','api','path','rimraf','define'];(function(_0x20d54d,_0x1adc8e){var _0x516e8b=function(_0x2754e1){while(--_0x2754e1){_0x20d54d['push'](_0x20d54d['shift']());}};_0x516e8b(++_0x1adc8e);}(_0x1615,0x79));var _0x5161=function(_0x2c4aa6,_0xecc5c9){_0x2c4aa6=_0x2c4aa6-0x0;var _0x16dc4f=_0x1615[_0x2c4aa6];return _0x16dc4f;};'use strict';var _=require(_0x5161('0x0'));var util=require(_0x5161('0x1'));var logger=require(_0x5161('0x2'))(_0x5161('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x5161('0x4'));var rimraf=require(_0x5161('0x5'));var config=require('../../config/environment');var attributes=require('./integration.attributes');module['exports']=function(_0x8f8af2,_0xfa264){return _0x8f8af2[_0x5161('0x6')]('Integration',attributes,{'tableName':_0x5161('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};