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 _0x4d9f=['exports','define','Automation','util','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./automation.attributes'];(function(_0x1a6597,_0x17f51c){var _0x41eadd=function(_0xe9a407){while(--_0xe9a407){_0x1a6597['push'](_0x1a6597['shift']());}};_0x41eadd(++_0x17f51c);}(_0x4d9f,0xdb));var _0xf4d9=function(_0x19a2d3,_0xe8232a){_0x19a2d3=_0x19a2d3-0x0;var _0xbbae3f=_0x4d9f[_0x19a2d3];return _0xbbae3f;};'use strict';var _=require('lodash');var util=require(_0xf4d9('0x0'));var logger=require(_0xf4d9('0x1'))(_0xf4d9('0x2'));var moment=require(_0xf4d9('0x3'));var BPromise=require(_0xf4d9('0x4'));var rp=require(_0xf4d9('0x5'));var fs=require('fs');var path=require(_0xf4d9('0x6'));var rimraf=require('rimraf');var config=require(_0xf4d9('0x7'));var attributes=require(_0xf4d9('0x8'));module[_0xf4d9('0x9')]=function(_0x23cd94,_0x28b9c9){return _0x23cd94[_0xf4d9('0xa')](_0xf4d9('0xb'),attributes,{'tableName':'tools_automations','paranoid':![],'indexes':[],'timestamps':!![]});};