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 _0x17d6=['api','moment','bluebird','request-promise','path','rimraf','exports','define','util'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0x17d6,0xbc));var _0x617d=function(_0x55c6a2,_0x1fb579){_0x55c6a2=_0x55c6a2-0x0;var _0x22f78=_0x17d6[_0x55c6a2];return _0x22f78;};'use strict';var _=require('lodash');var util=require(_0x617d('0x0'));var logger=require('../../config/logger')(_0x617d('0x1'));var moment=require(_0x617d('0x2'));var BPromise=require(_0x617d('0x3'));var rp=require(_0x617d('0x4'));var fs=require('fs');var path=require(_0x617d('0x5'));var rimraf=require(_0x617d('0x6'));var config=require('../../config/environment');var attributes=require('./automation.attributes');module[_0x617d('0x7')]=function(_0x5d2fdb,_0x11c5d8){return _0x5d2fdb[_0x617d('0x8')]('Automation',attributes,{'tableName':'tools_automations','paranoid':![],'indexes':[],'timestamps':!![]});};