2b9163f3f63c2f9af5b6f6993c112ac86c923742
[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 _0x9e86=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./chatProactiveAction.attributes','exports','define','ChatProactiveAction','chat_proactive_actions','lodash','../../config/logger','api'];(function(_0x142d55,_0x2b630f){var _0x122312=function(_0x2807ce){while(--_0x2807ce){_0x142d55['push'](_0x142d55['shift']());}};_0x122312(++_0x2b630f);}(_0x9e86,0xeb));var _0x69e8=function(_0x2fa5fd,_0x3002db){_0x2fa5fd=_0x2fa5fd-0x0;var _0x5906fd=_0x9e86[_0x2fa5fd];return _0x5906fd;};'use strict';var _=require(_0x69e8('0x0'));var util=require('util');var logger=require(_0x69e8('0x1'))(_0x69e8('0x2'));var moment=require(_0x69e8('0x3'));var BPromise=require(_0x69e8('0x4'));var rp=require(_0x69e8('0x5'));var fs=require('fs');var path=require(_0x69e8('0x6'));var rimraf=require(_0x69e8('0x7'));var config=require(_0x69e8('0x8'));var attributes=require(_0x69e8('0x9'));module[_0x69e8('0xa')]=function(_0x561f39,_0x347c46){return _0x561f39[_0x69e8('0xb')](_0x69e8('0xc'),attributes,{'tableName':_0x69e8('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};