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 _0xdb35=['path','rimraf','../../config/environment','./cloudProvider.attributes','exports','define','CloudProvider','cloud_providers','util','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x1ffb94,_0x54ebd6){var _0x2cef67=function(_0x4597de){while(--_0x4597de){_0x1ffb94['push'](_0x1ffb94['shift']());}};_0x2cef67(++_0x54ebd6);}(_0xdb35,0x12e));var _0x5db3=function(_0x480eff,_0x541555){_0x480eff=_0x480eff-0x0;var _0x5c8aeb=_0xdb35[_0x480eff];return _0x5c8aeb;};'use strict';var _=require('lodash');var util=require(_0x5db3('0x0'));var logger=require(_0x5db3('0x1'))(_0x5db3('0x2'));var moment=require(_0x5db3('0x3'));var BPromise=require(_0x5db3('0x4'));var rp=require(_0x5db3('0x5'));var fs=require('fs');var path=require(_0x5db3('0x6'));var rimraf=require(_0x5db3('0x7'));var config=require(_0x5db3('0x8'));var attributes=require(_0x5db3('0x9'));module[_0x5db3('0xa')]=function(_0x5b81e9,_0x2d8eb9){return _0x5b81e9[_0x5db3('0xb')](_0x5db3('0xc'),attributes,{'tableName':_0x5db3('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};