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 _0x86dd=['bluebird','request-promise','path','rimraf','./integration.attributes','exports','define','util','../../config/logger','api'];(function(_0x10dbf6,_0x3ff964){var _0x452147=function(_0x7476e0){while(--_0x7476e0){_0x10dbf6['push'](_0x10dbf6['shift']());}};_0x452147(++_0x3ff964);}(_0x86dd,0x11f));var _0xd86d=function(_0x32acb4,_0x164242){_0x32acb4=_0x32acb4-0x0;var _0x54531b=_0x86dd[_0x32acb4];return _0x54531b;};'use strict';var _=require('lodash');var util=require(_0xd86d('0x0'));var logger=require(_0xd86d('0x1'))(_0xd86d('0x2'));var moment=require('moment');var BPromise=require(_0xd86d('0x3'));var rp=require(_0xd86d('0x4'));var fs=require('fs');var path=require(_0xd86d('0x5'));var rimraf=require(_0xd86d('0x6'));var config=require('../../config/environment');var attributes=require(_0xd86d('0x7'));module[_0xd86d('0x8')]=function(_0x1774f6,_0x3168da){return _0x1774f6[_0xd86d('0x9')]('Integration',attributes,{'tableName':'integrations','paranoid':![],'indexes':[],'timestamps':!![]});};