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 _0xae24=['../../config/logger','moment','bluebird','rimraf','./automation.attributes','exports','define','Automation','lodash'];(function(_0x5169a4,_0x270720){var _0x17579f=function(_0x23d9c2){while(--_0x23d9c2){_0x5169a4['push'](_0x5169a4['shift']());}};_0x17579f(++_0x270720);}(_0xae24,0x182));var _0x4ae2=function(_0x2ad8f6,_0x182da9){_0x2ad8f6=_0x2ad8f6-0x0;var _0xb4a88f=_0xae24[_0x2ad8f6];return _0xb4a88f;};'use strict';var _=require(_0x4ae2('0x0'));var util=require('util');var logger=require(_0x4ae2('0x1'))('api');var moment=require(_0x4ae2('0x2'));var BPromise=require(_0x4ae2('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x4ae2('0x4'));var config=require('../../config/environment');var attributes=require(_0x4ae2('0x5'));module[_0x4ae2('0x6')]=function(_0x20c85c,_0x3e6055){return _0x20c85c[_0x4ae2('0x7')](_0x4ae2('0x8'),attributes,{'tableName':'tools_automations','paranoid':![],'indexes':[],'timestamps':!![]});};