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 _0x4783=['../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','ChatProactiveAction','util'];(function(_0x5b8b0a,_0x2c50db){var _0x75fc0c=function(_0x4037d6){while(--_0x4037d6){_0x5b8b0a['push'](_0x5b8b0a['shift']());}};_0x75fc0c(++_0x2c50db);}(_0x4783,0x6d));var _0x3478=function(_0x318269,_0x3b83b7){_0x318269=_0x318269-0x0;var _0x4a4832=_0x4783[_0x318269];return _0x4a4832;};'use strict';var _=require('lodash');var util=require(_0x3478('0x0'));var logger=require(_0x3478('0x1'))(_0x3478('0x2'));var moment=require(_0x3478('0x3'));var BPromise=require(_0x3478('0x4'));var rp=require(_0x3478('0x5'));var fs=require('fs');var path=require(_0x3478('0x6'));var rimraf=require(_0x3478('0x7'));var config=require(_0x3478('0x8'));var attributes=require('./chatProactiveAction.attributes');module[_0x3478('0x9')]=function(_0x2bb969,_0x31b87d){return _0x2bb969['define'](_0x3478('0xa'),attributes,{'tableName':'chat_proactive_actions','paranoid':![],'indexes':[],'timestamps':!![]});};