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 _0x954a=['moment','bluebird','path','rimraf','exports','define','ChatProactiveAction','chat_proactive_actions','util','../../config/logger'];(function(_0x1af5eb,_0x20b6ce){var _0x47ed26=function(_0x7e276f){while(--_0x7e276f){_0x1af5eb['push'](_0x1af5eb['shift']());}};_0x47ed26(++_0x20b6ce);}(_0x954a,0x170));var _0xa954=function(_0x33c0e5,_0xbf43fa){_0x33c0e5=_0x33c0e5-0x0;var _0x44e535=_0x954a[_0x33c0e5];return _0x44e535;};'use strict';var _=require('lodash');var util=require(_0xa954('0x0'));var logger=require(_0xa954('0x1'))('api');var moment=require(_0xa954('0x2'));var BPromise=require(_0xa954('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xa954('0x4'));var rimraf=require(_0xa954('0x5'));var config=require('../../config/environment');var attributes=require('./chatProactiveAction.attributes');module[_0xa954('0x6')]=function(_0x625ff,_0x341128){return _0x625ff[_0xa954('0x7')](_0xa954('0x8'),attributes,{'tableName':_0xa954('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};