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 _0xf52b=['define','chat_proactive_actions','lodash','util','api','moment','request-promise','rimraf','./chatProactiveAction.attributes','exports'];(function(_0x17d9e3,_0x1f969c){var _0x14192d=function(_0x159745){while(--_0x159745){_0x17d9e3['push'](_0x17d9e3['shift']());}};_0x14192d(++_0x1f969c);}(_0xf52b,0x84));var _0xbf52=function(_0x5a1a51,_0x144c79){_0x5a1a51=_0x5a1a51-0x0;var _0x47edd7=_0xf52b[_0x5a1a51];return _0x47edd7;};'use strict';var _=require(_0xbf52('0x0'));var util=require(_0xbf52('0x1'));var logger=require('../../config/logger')(_0xbf52('0x2'));var moment=require(_0xbf52('0x3'));var BPromise=require('bluebird');var rp=require(_0xbf52('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xbf52('0x5'));var config=require('../../config/environment');var attributes=require(_0xbf52('0x6'));module[_0xbf52('0x7')]=function(_0x951aaa,_0x9f303e){return _0x951aaa[_0xbf52('0x8')]('ChatProactiveAction',attributes,{'tableName':_0xbf52('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};