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 _0x3af4=['bluebird','rimraf','../../config/environment','./automation.attributes','exports','define','Automation','tools_automations','lodash','util','../../config/logger','moment'];(function(_0x2b8228,_0x19fdbe){var _0x53d755=function(_0x46250c){while(--_0x46250c){_0x2b8228['push'](_0x2b8228['shift']());}};_0x53d755(++_0x19fdbe);}(_0x3af4,0x1b8));var _0x43af=function(_0x65c50e,_0x1aa926){_0x65c50e=_0x65c50e-0x0;var _0x4573e7=_0x3af4[_0x65c50e];return _0x4573e7;};'use strict';var _=require(_0x43af('0x0'));var util=require(_0x43af('0x1'));var logger=require(_0x43af('0x2'))('api');var moment=require(_0x43af('0x3'));var BPromise=require(_0x43af('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x43af('0x5'));var config=require(_0x43af('0x6'));var attributes=require(_0x43af('0x7'));module[_0x43af('0x8')]=function(_0x5939f7,_0x48db5e){return _0x5939f7[_0x43af('0x9')](_0x43af('0xa'),attributes,{'tableName':_0x43af('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};