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 _0x2f15=['bluebird','path','rimraf','./automation.attributes','exports','define','Automation','lodash'];(function(_0x1664f9,_0xc1d5f3){var _0x50aee1=function(_0x118215){while(--_0x118215){_0x1664f9['push'](_0x1664f9['shift']());}};_0x50aee1(++_0xc1d5f3);}(_0x2f15,0x1af));var _0x52f1=function(_0x5ddec9,_0x209a36){_0x5ddec9=_0x5ddec9-0x0;var _0x5abb94=_0x2f15[_0x5ddec9];return _0x5abb94;};'use strict';var _=require(_0x52f1('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0x52f1('0x1'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x52f1('0x2'));var rimraf=require(_0x52f1('0x3'));var config=require('../../config/environment');var attributes=require(_0x52f1('0x4'));module[_0x52f1('0x5')]=function(_0x28043b,_0x421e6c){return _0x28043b[_0x52f1('0x6')](_0x52f1('0x7'),attributes,{'tableName':'tools_automations','paranoid':![],'indexes':[],'timestamps':!![]});};