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 _0x2aff=['util','../../config/logger','bluebird','request-promise','rimraf','./action.attributes','exports','define','Action','tools_actions','lodash'];(function(_0x552f7d,_0x12b922){var _0x3bd40d=function(_0x248150){while(--_0x248150){_0x552f7d['push'](_0x552f7d['shift']());}};_0x3bd40d(++_0x12b922);}(_0x2aff,0x1d8));var _0xf2af=function(_0x4886bc,_0x478169){_0x4886bc=_0x4886bc-0x0;var _0x56486d=_0x2aff[_0x4886bc];return _0x56486d;};'use strict';var _=require(_0xf2af('0x0'));var util=require(_0xf2af('0x1'));var logger=require(_0xf2af('0x2'))('api');var moment=require('moment');var BPromise=require(_0xf2af('0x3'));var rp=require(_0xf2af('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf2af('0x5'));var config=require('../../config/environment');var attributes=require(_0xf2af('0x6'));module[_0xf2af('0x7')]=function(_0xddceed,_0x52d02c){return _0xddceed[_0xf2af('0x8')](_0xf2af('0x9'),attributes,{'tableName':_0xf2af('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};