bcfdc00b32ef21fb527fe64f557d03a6cdf0b32e
[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 _0x9863=['./chatProactiveAction.attributes','exports','ChatProactiveAction','util','../../config/logger','moment','request-promise','path','rimraf'];(function(_0x1d24eb,_0x12295b){var _0x1dc576=function(_0x4d5770){while(--_0x4d5770){_0x1d24eb['push'](_0x1d24eb['shift']());}};_0x1dc576(++_0x12295b);}(_0x9863,0x1bc));var _0x3986=function(_0x59ee6f,_0x450239){_0x59ee6f=_0x59ee6f-0x0;var _0x4c0979=_0x9863[_0x59ee6f];return _0x4c0979;};'use strict';var _=require('lodash');var util=require(_0x3986('0x0'));var logger=require(_0x3986('0x1'))('api');var moment=require(_0x3986('0x2'));var BPromise=require('bluebird');var rp=require(_0x3986('0x3'));var fs=require('fs');var path=require(_0x3986('0x4'));var rimraf=require(_0x3986('0x5'));var config=require('../../config/environment');var attributes=require(_0x3986('0x6'));module[_0x3986('0x7')]=function(_0x402337,_0x434084){return _0x402337['define'](_0x3986('0x8'),attributes,{'tableName':'chat_proactive_actions','paranoid':![],'indexes':[],'timestamps':!![]});};