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 _0x810b=['exports','Action','tools_actions','util','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x21fd72,_0x2a332a){var _0x5cdbf4=function(_0x3083d4){while(--_0x3083d4){_0x21fd72['push'](_0x21fd72['shift']());}};_0x5cdbf4(++_0x2a332a);}(_0x810b,0x157));var _0xb810=function(_0x4207fc,_0x140d44){_0x4207fc=_0x4207fc-0x0;var _0x6b775c=_0x810b[_0x4207fc];return _0x6b775c;};'use strict';var _=require('lodash');var util=require(_0xb810('0x0'));var logger=require('../../config/logger')(_0xb810('0x1'));var moment=require(_0xb810('0x2'));var BPromise=require(_0xb810('0x3'));var rp=require(_0xb810('0x4'));var fs=require('fs');var path=require(_0xb810('0x5'));var rimraf=require(_0xb810('0x6'));var config=require('../../config/environment');var attributes=require('./action.attributes');module[_0xb810('0x7')]=function(_0x153802,_0x4fd0c3){return _0x153802['define'](_0xb810('0x8'),attributes,{'tableName':_0xb810('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};