Built motion from commit a61a4a20.|2.5.46
[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 _0xbd6b=['chat_proactive_actions','lodash','../../config/logger','api','bluebird','path','rimraf','../../config/environment','./chatProactiveAction.attributes','exports','define','ChatProactiveAction'];(function(_0x55ef8b,_0x5deb5e){var _0x359c84=function(_0x437673){while(--_0x437673){_0x55ef8b['push'](_0x55ef8b['shift']());}};_0x359c84(++_0x5deb5e);}(_0xbd6b,0xfd));var _0xbbd6=function(_0x4ee799,_0x22e2c2){_0x4ee799=_0x4ee799-0x0;var _0x26fe5b=_0xbd6b[_0x4ee799];return _0x26fe5b;};'use strict';var _=require(_0xbbd6('0x0'));var util=require('util');var logger=require(_0xbbd6('0x1'))(_0xbbd6('0x2'));var moment=require('moment');var BPromise=require(_0xbbd6('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xbbd6('0x4'));var rimraf=require(_0xbbd6('0x5'));var config=require(_0xbbd6('0x6'));var attributes=require(_0xbbd6('0x7'));module[_0xbbd6('0x8')]=function(_0x22772d,_0x5560f1){return _0x22772d[_0xbbd6('0x9')](_0xbbd6('0xa'),attributes,{'tableName':_0xbbd6('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};