Built motion from commit b0a9a629.|2.6.33
[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 _0xb34f=['define','ChatProactiveAction','lodash','util','../../config/logger','bluebird','path','rimraf','../../config/environment','./chatProactiveAction.attributes','exports'];(function(_0x362046,_0x5cf93f){var _0x419ffe=function(_0x18cb42){while(--_0x18cb42){_0x362046['push'](_0x362046['shift']());}};_0x419ffe(++_0x5cf93f);}(_0xb34f,0x1db));var _0xfb34=function(_0x377909,_0x4f4b84){_0x377909=_0x377909-0x0;var _0x80cfff=_0xb34f[_0x377909];return _0x80cfff;};'use strict';var _=require(_0xfb34('0x0'));var util=require(_0xfb34('0x1'));var logger=require(_0xfb34('0x2'))('api');var moment=require('moment');var BPromise=require(_0xfb34('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xfb34('0x4'));var rimraf=require(_0xfb34('0x5'));var config=require(_0xfb34('0x6'));var attributes=require(_0xfb34('0x7'));module[_0xfb34('0x8')]=function(_0x3d8ecf,_0x5a4f92){return _0x3d8ecf[_0xfb34('0x9')](_0xfb34('0xa'),attributes,{'tableName':'chat_proactive_actions','paranoid':![],'indexes':[],'timestamps':!![]});};