Built motion from commit 753c950e.|2.5.42
[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 _0x7cae=['define','chat_proactive_actions','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./chatProactiveAction.attributes'];(function(_0x55677b,_0x3e5655){var _0x104b88=function(_0x78d34f){while(--_0x78d34f){_0x55677b['push'](_0x55677b['shift']());}};_0x104b88(++_0x3e5655);}(_0x7cae,0x1d6));var _0xe7ca=function(_0x429db2,_0x1fe28d){_0x429db2=_0x429db2-0x0;var _0xa15965=_0x7cae[_0x429db2];return _0xa15965;};'use strict';var _=require(_0xe7ca('0x0'));var util=require(_0xe7ca('0x1'));var logger=require(_0xe7ca('0x2'))(_0xe7ca('0x3'));var moment=require(_0xe7ca('0x4'));var BPromise=require(_0xe7ca('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xe7ca('0x6'));var rimraf=require(_0xe7ca('0x7'));var config=require(_0xe7ca('0x8'));var attributes=require(_0xe7ca('0x9'));module['exports']=function(_0x488aeb,_0x3f1f15){return _0x488aeb[_0xe7ca('0xa')]('ChatProactiveAction',attributes,{'tableName':_0xe7ca('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};