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 _0xf4a6=['ChatProactiveAction','lodash','../../config/logger','bluebird','path','rimraf','../../config/environment','./chatProactiveAction.attributes','exports','define'];(function(_0x1876b2,_0x5d0225){var _0x9fb1e0=function(_0x29b099){while(--_0x29b099){_0x1876b2['push'](_0x1876b2['shift']());}};_0x9fb1e0(++_0x5d0225);}(_0xf4a6,0x141));var _0x6f4a=function(_0x2a1b48,_0x18bbb4){_0x2a1b48=_0x2a1b48-0x0;var _0x425ef7=_0xf4a6[_0x2a1b48];return _0x425ef7;};'use strict';var _=require(_0x6f4a('0x0'));var util=require('util');var logger=require(_0x6f4a('0x1'))('api');var moment=require('moment');var BPromise=require(_0x6f4a('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x6f4a('0x3'));var rimraf=require(_0x6f4a('0x4'));var config=require(_0x6f4a('0x5'));var attributes=require(_0x6f4a('0x6'));module[_0x6f4a('0x7')]=function(_0x5c5ce8,_0x5c5d8c){return _0x5c5ce8[_0x6f4a('0x8')](_0x6f4a('0x9'),attributes,{'tableName':'chat_proactive_actions','paranoid':![],'indexes':[],'timestamps':!![]});};