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 _0xd80b=['api','request-promise','./chatProactiveAction.attributes','exports','chat_proactive_actions','lodash','util','../../config/logger'];(function(_0x3cbe8b,_0x4c8a25){var _0x121b38=function(_0x609b87){while(--_0x609b87){_0x3cbe8b['push'](_0x3cbe8b['shift']());}};_0x121b38(++_0x4c8a25);}(_0xd80b,0x12d));var _0xbd80=function(_0x250fe2,_0x5c8884){_0x250fe2=_0x250fe2-0x0;var _0x29af67=_0xd80b[_0x250fe2];return _0x29af67;};'use strict';var _=require(_0xbd80('0x0'));var util=require(_0xbd80('0x1'));var logger=require(_0xbd80('0x2'))(_0xbd80('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xbd80('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xbd80('0x5'));module[_0xbd80('0x6')]=function(_0x13e595,_0x1e4fc9){return _0x13e595['define']('ChatProactiveAction',attributes,{'tableName':_0xbd80('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};