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 _0xba92=['request-promise','rimraf','./integration.attributes','exports','define','Integration','integrations','util','../../config/logger','api','bluebird'];(function(_0x46aec6,_0x1745da){var _0x425ffb=function(_0x4d7fc3){while(--_0x4d7fc3){_0x46aec6['push'](_0x46aec6['shift']());}};_0x425ffb(++_0x1745da);}(_0xba92,0xd8));var _0x2ba9=function(_0x28d300,_0x48f7d1){_0x28d300=_0x28d300-0x0;var _0x233a17=_0xba92[_0x28d300];return _0x233a17;};'use strict';var _=require('lodash');var util=require(_0x2ba9('0x0'));var logger=require(_0x2ba9('0x1'))(_0x2ba9('0x2'));var moment=require('moment');var BPromise=require(_0x2ba9('0x3'));var rp=require(_0x2ba9('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x2ba9('0x5'));var config=require('../../config/environment');var attributes=require(_0x2ba9('0x6'));module[_0x2ba9('0x7')]=function(_0x1c0bb3,_0x823bf0){return _0x1c0bb3[_0x2ba9('0x8')](_0x2ba9('0x9'),attributes,{'tableName':_0x2ba9('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};