54430ae8a241a11f68490800a6279925347b4c85
[motion2.git] / server / api / chatProactiveAction / chatProactiveAction.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x1b11=['moment','request-promise','path','rimraf','./chatProactiveAction.attributes','ChatProactiveAction','chat_proactive_actions','lodash','util','../../config/logger','api'];(function(_0x103ea8,_0x563429){var _0x418404=function(_0x3d01d4){while(--_0x3d01d4){_0x103ea8['push'](_0x103ea8['shift']());}};_0x418404(++_0x563429);}(_0x1b11,0x1e0));var _0x11b1=function(_0x694b8f,_0x57a35d){_0x694b8f=_0x694b8f-0x0;var _0x298fca=_0x1b11[_0x694b8f];return _0x298fca;};'use strict';var _=require(_0x11b1('0x0'));var util=require(_0x11b1('0x1'));var logger=require(_0x11b1('0x2'))(_0x11b1('0x3'));var moment=require(_0x11b1('0x4'));var BPromise=require('bluebird');var rp=require(_0x11b1('0x5'));var fs=require('fs');var path=require(_0x11b1('0x6'));var rimraf=require(_0x11b1('0x7'));var config=require('../../config/environment');var attributes=require(_0x11b1('0x8'));module['exports']=function(_0x1a7533,_0x90c7cf){return _0x1a7533['define'](_0x11b1('0x9'),attributes,{'tableName':_0x11b1('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};