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 _0xab74=['moment','path','rimraf','../../config/environment','./automation.attributes','exports','define','Automation','tools_automations','lodash','util','api'];(function(_0x197a9f,_0x5ebc48){var _0x5b6c58=function(_0x1b8d53){while(--_0x1b8d53){_0x197a9f['push'](_0x197a9f['shift']());}};_0x5b6c58(++_0x5ebc48);}(_0xab74,0x14d));var _0x4ab7=function(_0x50e068,_0xc970a5){_0x50e068=_0x50e068-0x0;var _0x3f0700=_0xab74[_0x50e068];return _0x3f0700;};'use strict';var _=require(_0x4ab7('0x0'));var util=require(_0x4ab7('0x1'));var logger=require('../../config/logger')(_0x4ab7('0x2'));var moment=require(_0x4ab7('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x4ab7('0x4'));var rimraf=require(_0x4ab7('0x5'));var config=require(_0x4ab7('0x6'));var attributes=require(_0x4ab7('0x7'));module[_0x4ab7('0x8')]=function(_0x543965,_0x1ffe3b){return _0x543965[_0x4ab7('0x9')](_0x4ab7('0xa'),attributes,{'tableName':_0x4ab7('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};