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 _0xfb3c=['lodash','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./chatProactiveAction.attributes','exports','ChatProactiveAction','chat_proactive_actions'];(function(_0x579bc0,_0x34c0cc){var _0x379218=function(_0x1afd20){while(--_0x1afd20){_0x579bc0['push'](_0x579bc0['shift']());}};_0x379218(++_0x34c0cc);}(_0xfb3c,0xa9));var _0xcfb3=function(_0x40a045,_0x516f0e){_0x40a045=_0x40a045-0x0;var _0x1a687c=_0xfb3c[_0x40a045];return _0x1a687c;};'use strict';var _=require(_0xcfb3('0x0'));var util=require(_0xcfb3('0x1'));var logger=require(_0xcfb3('0x2'))(_0xcfb3('0x3'));var moment=require(_0xcfb3('0x4'));var BPromise=require(_0xcfb3('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xcfb3('0x6'));var rimraf=require(_0xcfb3('0x7'));var config=require(_0xcfb3('0x8'));var attributes=require(_0xcfb3('0x9'));module[_0xcfb3('0xa')]=function(_0x49c6f7,_0x3d9ff1){return _0x49c6f7['define'](_0xcfb3('0xb'),attributes,{'tableName':_0xcfb3('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};