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 _0x64a6=['Action','tools_actions','lodash','util','../../config/logger','bluebird','path','rimraf','../../config/environment','./action.attributes','exports'];(function(_0x3c504d,_0x322572){var _0x17ead9=function(_0x2b7801){while(--_0x2b7801){_0x3c504d['push'](_0x3c504d['shift']());}};_0x17ead9(++_0x322572);}(_0x64a6,0x183));var _0x664a=function(_0x46e363,_0x45d7e2){_0x46e363=_0x46e363-0x0;var _0x3fb059=_0x64a6[_0x46e363];return _0x3fb059;};'use strict';var _=require(_0x664a('0x0'));var util=require(_0x664a('0x1'));var logger=require(_0x664a('0x2'))('api');var moment=require('moment');var BPromise=require(_0x664a('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x664a('0x4'));var rimraf=require(_0x664a('0x5'));var config=require(_0x664a('0x6'));var attributes=require(_0x664a('0x7'));module[_0x664a('0x8')]=function(_0x3ba6f0,_0x19aa7f){return _0x3ba6f0['define'](_0x664a('0x9'),attributes,{'tableName':_0x664a('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};