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 _0x1f00=['moment','bluebird','request-promise','rimraf','../../config/environment','./integration.attributes','exports','define','Integration','integrations','util','../../config/logger'];(function(_0x3b5e5,_0x37464a){var _0x550179=function(_0x5cf45b){while(--_0x5cf45b){_0x3b5e5['push'](_0x3b5e5['shift']());}};_0x550179(++_0x37464a);}(_0x1f00,0x8e));var _0x01f0=function(_0x31f91d,_0x336e57){_0x31f91d=_0x31f91d-0x0;var _0xa4916d=_0x1f00[_0x31f91d];return _0xa4916d;};'use strict';var _=require('lodash');var util=require(_0x01f0('0x0'));var logger=require(_0x01f0('0x1'))('api');var moment=require(_0x01f0('0x2'));var BPromise=require(_0x01f0('0x3'));var rp=require(_0x01f0('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x01f0('0x5'));var config=require(_0x01f0('0x6'));var attributes=require(_0x01f0('0x7'));module[_0x01f0('0x8')]=function(_0xa34afe,_0x12c797){return _0xa34afe[_0x01f0('0x9')](_0x01f0('0xa'),attributes,{'tableName':_0x01f0('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};