Built motion from commit ddca4d0d.|2.5.47
[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 _0x9fc7=['bluebird','request-promise','path','rimraf','../../config/environment','./chatProactiveAction.attributes','exports','define','ChatProactiveAction','../../config/logger','api','moment'];(function(_0x24259d,_0x64a194){var _0x5a701=function(_0x204516){while(--_0x204516){_0x24259d['push'](_0x24259d['shift']());}};_0x5a701(++_0x64a194);}(_0x9fc7,0x1e9));var _0x79fc=function(_0x59951e,_0xbbe807){_0x59951e=_0x59951e-0x0;var _0x7f9495=_0x9fc7[_0x59951e];return _0x7f9495;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x79fc('0x0'))(_0x79fc('0x1'));var moment=require(_0x79fc('0x2'));var BPromise=require(_0x79fc('0x3'));var rp=require(_0x79fc('0x4'));var fs=require('fs');var path=require(_0x79fc('0x5'));var rimraf=require(_0x79fc('0x6'));var config=require(_0x79fc('0x7'));var attributes=require(_0x79fc('0x8'));module[_0x79fc('0x9')]=function(_0x2255fa,_0x4a37a8){return _0x2255fa[_0x79fc('0xa')](_0x79fc('0xb'),attributes,{'tableName':'chat_proactive_actions','paranoid':![],'indexes':[],'timestamps':!![]});};