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 _0x9d55=['exports','define','Action','tools_actions','lodash','util','moment','bluebird','request-promise','path','rimraf','./action.attributes'];(function(_0x39535b,_0x13f0bb){var _0x5eed0e=function(_0x5e7254){while(--_0x5e7254){_0x39535b['push'](_0x39535b['shift']());}};_0x5eed0e(++_0x13f0bb);}(_0x9d55,0x70));var _0x59d5=function(_0x47edf7,_0x3fd83e){_0x47edf7=_0x47edf7-0x0;var _0x12d8f5=_0x9d55[_0x47edf7];return _0x12d8f5;};'use strict';var _=require(_0x59d5('0x0'));var util=require(_0x59d5('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x59d5('0x2'));var BPromise=require(_0x59d5('0x3'));var rp=require(_0x59d5('0x4'));var fs=require('fs');var path=require(_0x59d5('0x5'));var rimraf=require(_0x59d5('0x6'));var config=require('../../config/environment');var attributes=require(_0x59d5('0x7'));module[_0x59d5('0x8')]=function(_0x19e407,_0x3ee520){return _0x19e407[_0x59d5('0x9')](_0x59d5('0xa'),attributes,{'tableName':_0x59d5('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};