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 _0xb370=['exports','define','CrmWorkflowStep','crm_workflow_steps','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./crmWorkflowstep.attributes'];(function(_0x1706f8,_0xaaafe6){var _0x1a6686=function(_0x2c749e){while(--_0x2c749e){_0x1706f8['push'](_0x1706f8['shift']());}};_0x1a6686(++_0xaaafe6);}(_0xb370,0x138));var _0x0b37=function(_0x39c65c,_0x47cd88){_0x39c65c=_0x39c65c-0x0;var _0x2b6587=_0xb370[_0x39c65c];return _0x2b6587;};'use strict';var _=require(_0x0b37('0x0'));var util=require(_0x0b37('0x1'));var logger=require(_0x0b37('0x2'))(_0x0b37('0x3'));var moment=require(_0x0b37('0x4'));var BPromise=require(_0x0b37('0x5'));var rp=require(_0x0b37('0x6'));var fs=require('fs');var path=require(_0x0b37('0x7'));var rimraf=require(_0x0b37('0x8'));var config=require('../../config/environment');var attributes=require(_0x0b37('0x9'));module[_0x0b37('0xa')]=function(_0x4e80b3,_0x50c5e1){return _0x4e80b3[_0x0b37('0xb')](_0x0b37('0xc'),attributes,{'tableName':_0x0b37('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};