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 _0xf0a5=['tools_actions','util','path','./action.attributes','exports','define'];(function(_0x493bfc,_0x2ec14a){var _0x40480a=function(_0x568ed2){while(--_0x568ed2){_0x493bfc['push'](_0x493bfc['shift']());}};_0x40480a(++_0x2ec14a);}(_0xf0a5,0x139));var _0x5f0a=function(_0x28a88c,_0x46194f){_0x28a88c=_0x28a88c-0x0;var _0x2c8a73=_0xf0a5[_0x28a88c];return _0x2c8a73;};'use strict';var _=require('lodash');var util=require(_0x5f0a('0x0'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x5f0a('0x1'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x5f0a('0x2'));module[_0x5f0a('0x3')]=function(_0x4baf3d,_0x276584){return _0x4baf3d[_0x5f0a('0x4')]('Action',attributes,{'tableName':_0x5f0a('0x5'),'paranoid':![],'indexes':[],'timestamps':!![]});};