3a9b2b68a41e78b5d8bfbc992e52de389a418498
[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 _0x4ac6=['./chatProactiveAction.attributes','exports','define','chat_proactive_actions','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x283434,_0x42ec32){var _0x176042=function(_0x214096){while(--_0x214096){_0x283434['push'](_0x283434['shift']());}};_0x176042(++_0x42ec32);}(_0x4ac6,0x1b2));var _0x64ac=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x4ac6[_0x3dd15e];return _0x231fd0;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x64ac('0x0'));var BPromise=require(_0x64ac('0x1'));var rp=require(_0x64ac('0x2'));var fs=require('fs');var path=require(_0x64ac('0x3'));var rimraf=require(_0x64ac('0x4'));var config=require(_0x64ac('0x5'));var attributes=require(_0x64ac('0x6'));module[_0x64ac('0x7')]=function(_0x309189,_0x349fcf){return _0x309189[_0x64ac('0x8')]('ChatProactiveAction',attributes,{'tableName':_0x64ac('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};