Built motion from commit 6a92c2cd.|2.6.29
[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 _0xe467=['rimraf','./chatProactiveAction.attributes','ChatProactiveAction','chat_proactive_actions','util','../../config/logger','api','moment','bluebird','path'];(function(_0x492662,_0x47584a){var _0x1401bd=function(_0x43a6c9){while(--_0x43a6c9){_0x492662['push'](_0x492662['shift']());}};_0x1401bd(++_0x47584a);}(_0xe467,0x90));var _0x7e46=function(_0x4c6e4a,_0x263ab8){_0x4c6e4a=_0x4c6e4a-0x0;var _0x3d69f4=_0xe467[_0x4c6e4a];return _0x3d69f4;};'use strict';var _=require('lodash');var util=require(_0x7e46('0x0'));var logger=require(_0x7e46('0x1'))(_0x7e46('0x2'));var moment=require(_0x7e46('0x3'));var BPromise=require(_0x7e46('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x7e46('0x5'));var rimraf=require(_0x7e46('0x6'));var config=require('../../config/environment');var attributes=require(_0x7e46('0x7'));module['exports']=function(_0x3de806,_0x3645de){return _0x3de806['define'](_0x7e46('0x8'),attributes,{'tableName':_0x7e46('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};