96e4872e0630778ff974c281bcd1ab1610ae77d5
[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 _0x3096=['../../config/environment','./chatProactiveAction.attributes','define','ChatProactiveAction','chat_proactive_actions','lodash','util','../../config/logger','moment','bluebird','path','rimraf'];(function(_0x41e435,_0x56382c){var _0x3dfcf1=function(_0x33a02e){while(--_0x33a02e){_0x41e435['push'](_0x41e435['shift']());}};_0x3dfcf1(++_0x56382c);}(_0x3096,0xa1));var _0x6309=function(_0x25fe4f,_0x74aeaa){_0x25fe4f=_0x25fe4f-0x0;var _0x582605=_0x3096[_0x25fe4f];return _0x582605;};'use strict';var _=require(_0x6309('0x0'));var util=require(_0x6309('0x1'));var logger=require(_0x6309('0x2'))('api');var moment=require(_0x6309('0x3'));var BPromise=require(_0x6309('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x6309('0x5'));var rimraf=require(_0x6309('0x6'));var config=require(_0x6309('0x7'));var attributes=require(_0x6309('0x8'));module['exports']=function(_0x47bc7f,_0x2e0f58){return _0x47bc7f[_0x6309('0x9')](_0x6309('0xa'),attributes,{'tableName':_0x6309('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};