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 _0xc37d=['exports','ChatProactiveAction','chat_proactive_actions','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./chatProactiveAction.attributes'];(function(_0x10f43f,_0x4b53d6){var _0x10cfda=function(_0x4dc3b1){while(--_0x4dc3b1){_0x10f43f['push'](_0x10f43f['shift']());}};_0x10cfda(++_0x4b53d6);}(_0xc37d,0x1a7));var _0xdc37=function(_0x3fdcf7,_0x233df7){_0x3fdcf7=_0x3fdcf7-0x0;var _0x624416=_0xc37d[_0x3fdcf7];return _0x624416;};'use strict';var _=require('lodash');var util=require(_0xdc37('0x0'));var logger=require(_0xdc37('0x1'))('api');var moment=require(_0xdc37('0x2'));var BPromise=require(_0xdc37('0x3'));var rp=require(_0xdc37('0x4'));var fs=require('fs');var path=require(_0xdc37('0x5'));var rimraf=require(_0xdc37('0x6'));var config=require(_0xdc37('0x7'));var attributes=require(_0xdc37('0x8'));module[_0xdc37('0x9')]=function(_0x4afbab,_0x1b623c){return _0x4afbab['define'](_0xdc37('0xa'),attributes,{'tableName':_0xdc37('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};