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 _0xcd4f=['define','ChatProactiveAction','chat_proactive_actions','lodash','moment','bluebird','request-promise','rimraf','../../config/environment','./chatProactiveAction.attributes','exports'];(function(_0x44e322,_0x17d909){var _0x486a1a=function(_0x35ea09){while(--_0x35ea09){_0x44e322['push'](_0x44e322['shift']());}};_0x486a1a(++_0x17d909);}(_0xcd4f,0x9d));var _0xfcd4=function(_0x282b6d,_0x22a326){_0x282b6d=_0x282b6d-0x0;var _0x4a797e=_0xcd4f[_0x282b6d];return _0x4a797e;};'use strict';var _=require(_0xfcd4('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0xfcd4('0x1'));var BPromise=require(_0xfcd4('0x2'));var rp=require(_0xfcd4('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xfcd4('0x4'));var config=require(_0xfcd4('0x5'));var attributes=require(_0xfcd4('0x6'));module[_0xfcd4('0x7')]=function(_0x44ca6e,_0x378cac){return _0x44ca6e[_0xfcd4('0x8')](_0xfcd4('0x9'),attributes,{'tableName':_0xfcd4('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};