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 _0xbc2a=['./chatProactiveAction.attributes','ChatProactiveAction','chat_proactive_actions','util','bluebird','../../config/environment'];(function(_0x1d9a84,_0x157084){var _0x418754=function(_0xfc0e01){while(--_0xfc0e01){_0x1d9a84['push'](_0x1d9a84['shift']());}};_0x418754(++_0x157084);}(_0xbc2a,0x17d));var _0xabc2=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xbc2a[_0x3dd15e];return _0x231fd0;};'use strict';var _=require('lodash');var util=require(_0xabc2('0x0'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0xabc2('0x1'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xabc2('0x2'));var attributes=require(_0xabc2('0x3'));module['exports']=function(_0x2462fe,_0x29cc36){return _0x2462fe['define'](_0xabc2('0x4'),attributes,{'tableName':_0xabc2('0x5'),'paranoid':![],'indexes':[],'timestamps':!![]});};