Built motion from commit 97153652.|2.6.26
[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 _0xfd5f=['exports','define','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./chatProactiveAction.attributes'];(function(_0x2205b3,_0x3a32f7){var _0x378980=function(_0x299b16){while(--_0x299b16){_0x2205b3['push'](_0x2205b3['shift']());}};_0x378980(++_0x3a32f7);}(_0xfd5f,0x1d8));var _0xffd5=function(_0x2ef245,_0x1faf9f){_0x2ef245=_0x2ef245-0x0;var _0x5e1694=_0xfd5f[_0x2ef245];return _0x5e1694;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0xffd5('0x0'));var moment=require(_0xffd5('0x1'));var BPromise=require(_0xffd5('0x2'));var rp=require(_0xffd5('0x3'));var fs=require('fs');var path=require(_0xffd5('0x4'));var rimraf=require(_0xffd5('0x5'));var config=require(_0xffd5('0x6'));var attributes=require(_0xffd5('0x7'));module[_0xffd5('0x8')]=function(_0x3ab691,_0x5ea78a){return _0x3ab691[_0xffd5('0x9')]('ChatProactiveAction',attributes,{'tableName':'chat_proactive_actions','paranoid':![],'indexes':[],'timestamps':!![]});};