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 _0xbc27=['define','tools_automations','lodash','util','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./automation.attributes'];(function(_0x49a419,_0x102152){var _0x4feace=function(_0x1421f9){while(--_0x1421f9){_0x49a419['push'](_0x49a419['shift']());}};_0x4feace(++_0x102152);}(_0xbc27,0x86));var _0x7bc2=function(_0x25d9ce,_0xcb61d2){_0x25d9ce=_0x25d9ce-0x0;var _0x22f008=_0xbc27[_0x25d9ce];return _0x22f008;};'use strict';var _=require(_0x7bc2('0x0'));var util=require(_0x7bc2('0x1'));var logger=require('../../config/logger')(_0x7bc2('0x2'));var moment=require(_0x7bc2('0x3'));var BPromise=require(_0x7bc2('0x4'));var rp=require(_0x7bc2('0x5'));var fs=require('fs');var path=require(_0x7bc2('0x6'));var rimraf=require(_0x7bc2('0x7'));var config=require(_0x7bc2('0x8'));var attributes=require(_0x7bc2('0x9'));module['exports']=function(_0x193f10,_0x106d47){return _0x193f10[_0x7bc2('0xa')]('Automation',attributes,{'tableName':_0x7bc2('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};