Built motion from commit 85328c08.|2.5.50
[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 _0xfd80=['chat_proactive_actions','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./chatProactiveAction.attributes','exports','define','ChatProactiveAction'];(function(_0xfe3ab1,_0x22b418){var _0x38b498=function(_0x36499f){while(--_0x36499f){_0xfe3ab1['push'](_0xfe3ab1['shift']());}};_0x38b498(++_0x22b418);}(_0xfd80,0xa9));var _0x0fd8=function(_0x3ff771,_0x41c013){_0x3ff771=_0x3ff771-0x0;var _0xe4eb51=_0xfd80[_0x3ff771];return _0xe4eb51;};'use strict';var _=require(_0x0fd8('0x0'));var util=require('util');var logger=require(_0x0fd8('0x1'))(_0x0fd8('0x2'));var moment=require(_0x0fd8('0x3'));var BPromise=require(_0x0fd8('0x4'));var rp=require(_0x0fd8('0x5'));var fs=require('fs');var path=require(_0x0fd8('0x6'));var rimraf=require(_0x0fd8('0x7'));var config=require(_0x0fd8('0x8'));var attributes=require(_0x0fd8('0x9'));module[_0x0fd8('0xa')]=function(_0x36927f,_0x155b9f){return _0x36927f[_0x0fd8('0xb')](_0x0fd8('0xc'),attributes,{'tableName':_0x0fd8('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};