Built motion from commit e6806ed6.|2.6.0
[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 _0x5fc3=['path','rimraf','../../config/environment','define','../../config/logger','moment','bluebird'];(function(_0x527d6b,_0x91ef35){var _0x20c0a0=function(_0x39a1ea){while(--_0x39a1ea){_0x527d6b['push'](_0x527d6b['shift']());}};_0x20c0a0(++_0x91ef35);}(_0x5fc3,0x131));var _0x35fc=function(_0x397f37,_0x3cf86d){_0x397f37=_0x397f37-0x0;var _0x31cae6=_0x5fc3[_0x397f37];return _0x31cae6;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x35fc('0x0'))('api');var moment=require(_0x35fc('0x1'));var BPromise=require(_0x35fc('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x35fc('0x3'));var rimraf=require(_0x35fc('0x4'));var config=require(_0x35fc('0x5'));var attributes=require('./chatProactiveAction.attributes');module['exports']=function(_0x302cc9,_0x199079){return _0x302cc9[_0x35fc('0x6')]('ChatProactiveAction',attributes,{'tableName':'chat_proactive_actions','paranoid':![],'indexes':[],'timestamps':!![]});};