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 _0xe1fb=['moment','bluebird','request-promise','rimraf','./action.attributes','exports','define','Action','tools_actions','lodash','../../config/logger','api'];(function(_0x4551f6,_0x48151b){var _0x581dc2=function(_0x1842af){while(--_0x1842af){_0x4551f6['push'](_0x4551f6['shift']());}};_0x581dc2(++_0x48151b);}(_0xe1fb,0xe1));var _0xbe1f=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0xe1fb[_0x19e35c];return _0x3e1fe8;};'use strict';var _=require(_0xbe1f('0x0'));var util=require('util');var logger=require(_0xbe1f('0x1'))(_0xbe1f('0x2'));var moment=require(_0xbe1f('0x3'));var BPromise=require(_0xbe1f('0x4'));var rp=require(_0xbe1f('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xbe1f('0x6'));var config=require('../../config/environment');var attributes=require(_0xbe1f('0x7'));module[_0xbe1f('0x8')]=function(_0x126c74,_0x2a8be8){return _0x126c74[_0xbe1f('0x9')](_0xbe1f('0xa'),attributes,{'tableName':_0xbe1f('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};