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 _0x378a=['exports','define','ChatProactiveAction','chat_proactive_actions','lodash','util','../../config/logger','api','bluebird','request-promise','../../config/environment'];(function(_0x310ccb,_0x4d316c){var _0x476f58=function(_0x19c0c5){while(--_0x19c0c5){_0x310ccb['push'](_0x310ccb['shift']());}};_0x476f58(++_0x4d316c);}(_0x378a,0x19b));var _0xa378=function(_0x14f022,_0x337709){_0x14f022=_0x14f022-0x0;var _0x36f87c=_0x378a[_0x14f022];return _0x36f87c;};'use strict';var _=require(_0xa378('0x0'));var util=require(_0xa378('0x1'));var logger=require(_0xa378('0x2'))(_0xa378('0x3'));var moment=require('moment');var BPromise=require(_0xa378('0x4'));var rp=require(_0xa378('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xa378('0x6'));var attributes=require('./chatProactiveAction.attributes');module[_0xa378('0x7')]=function(_0x46f2eb,_0x290ef0){return _0x46f2eb[_0xa378('0x8')](_0xa378('0x9'),attributes,{'tableName':_0xa378('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};