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 _0x87e4=['lodash','util','api','moment','bluebird','request-promise','path','rimraf','exports','define','ChatProactiveAction','chat_proactive_actions'];(function(_0x3b9891,_0xb984cf){var _0x402c62=function(_0x41e6a2){while(--_0x41e6a2){_0x3b9891['push'](_0x3b9891['shift']());}};_0x402c62(++_0xb984cf);}(_0x87e4,0x1bc));var _0x487e=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0x87e4[_0x19e35c];return _0x3e1fe8;};'use strict';var _=require(_0x487e('0x0'));var util=require(_0x487e('0x1'));var logger=require('../../config/logger')(_0x487e('0x2'));var moment=require(_0x487e('0x3'));var BPromise=require(_0x487e('0x4'));var rp=require(_0x487e('0x5'));var fs=require('fs');var path=require(_0x487e('0x6'));var rimraf=require(_0x487e('0x7'));var config=require('../../config/environment');var attributes=require('./chatProactiveAction.attributes');module[_0x487e('0x8')]=function(_0x179bf5,_0xeecfc1){return _0x179bf5[_0x487e('0x9')](_0x487e('0xa'),attributes,{'tableName':_0x487e('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};