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 _0x07a0=['util','../../config/logger','api','moment','bluebird','request-promise','../../config/environment','define','Automation','tools_automations','lodash'];(function(_0x4e9183,_0xee995){var _0x1bdf3e=function(_0x374d4e){while(--_0x374d4e){_0x4e9183['push'](_0x4e9183['shift']());}};_0x1bdf3e(++_0xee995);}(_0x07a0,0xdb));var _0x007a=function(_0x32be82,_0x21b592){_0x32be82=_0x32be82-0x0;var _0x35aa04=_0x07a0[_0x32be82];return _0x35aa04;};'use strict';var _=require(_0x007a('0x0'));var util=require(_0x007a('0x1'));var logger=require(_0x007a('0x2'))(_0x007a('0x3'));var moment=require(_0x007a('0x4'));var BPromise=require(_0x007a('0x5'));var rp=require(_0x007a('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x007a('0x7'));var attributes=require('./automation.attributes');module['exports']=function(_0x54e828,_0x852504){return _0x54e828[_0x007a('0x8')](_0x007a('0x9'),attributes,{'tableName':_0x007a('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};