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 _0xea35=['path','rimraf','./automation.attributes','exports','define','tools_automations','lodash','util','../../config/logger','moment','bluebird','request-promise'];(function(_0x38d06e,_0x22c3ad){var _0x489daa=function(_0x3f670f){while(--_0x3f670f){_0x38d06e['push'](_0x38d06e['shift']());}};_0x489daa(++_0x22c3ad);}(_0xea35,0x11a));var _0x5ea3=function(_0x10373c,_0x2c5f8a){_0x10373c=_0x10373c-0x0;var _0xf888bf=_0xea35[_0x10373c];return _0xf888bf;};'use strict';var _=require(_0x5ea3('0x0'));var util=require(_0x5ea3('0x1'));var logger=require(_0x5ea3('0x2'))('api');var moment=require(_0x5ea3('0x3'));var BPromise=require(_0x5ea3('0x4'));var rp=require(_0x5ea3('0x5'));var fs=require('fs');var path=require(_0x5ea3('0x6'));var rimraf=require(_0x5ea3('0x7'));var config=require('../../config/environment');var attributes=require(_0x5ea3('0x8'));module[_0x5ea3('0x9')]=function(_0x29f582,_0x12ed4c){return _0x29f582[_0x5ea3('0xa')]('Automation',attributes,{'tableName':_0x5ea3('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};